Find answers to your questions about Software Quality Assurance & Testing or help others by answering their Software Quality Assurance & Testing questions.
#driver.find_element_by_xpath('//div[@id="groups"]/div/div/div/div/div[2]/div[1]/div/div/button').click()i = 5gPath1 = str("'//div[@id="groups"]/div/div/div/div/div[2]/div[")gPath2 = str(i)gPath3 = str("]/div/div/button'")gPath = gPath1 + gPath2 + gPath3driver.find_element_by_xpath(gPath).click()I'm getting InvalidSelectorException error while using variable, but when i use the commented line it...
Asked on 10/25/2021 by user46038
1 answerI have an excel which contains multiple worksheets in it. Each worksheet contains multiple columns. I have a class like this. public class dptwo extends dpone {@Test(dataProviderClass = testdp.class,...
Asked on 10/25/2021 by user12730187
1 answerI am trying to get the value displayed against the Total using the below code:driver.get("https://www.cricbuzz.com/live-cricket-scorecard/20137/sl-vs-eng-4th-odi-england-tour-of-sri-lanka-2018");String textextras = driver.findElement(By.cssSelector("div[class='cb-col cb-col-100 cb-ltst-wgt-hdr']")).findElement(By.cssSelector("div:nth-last-child(3) div:nth-child(2)")).getText();System.out.println(textextras);String textsum = driver.findElement(By.cssSelector("div[class='cb-col cb-col-100 cb-ltst-wgt-hdr']")).findElement(By.cssSelector("div:nth-last-child(2) div:nth-child(2)")).getText();System.out.println(textsum);Output:19 Batsman R...
Asked on 02/27/2021
2 answerI am trying to scroll inside an element using the moveByOffset method of Actions class: HTML code:<html><head><meta charset="utf-8"> <style>#container{ width: 100px; ...
Asked on 02/19/2021 by Sandesh Sawant
1 answerI am trying to launch two chrome browsers Simultaneously using Selenium ad cucumber, and perform same operations using multiThreading, but on one browser, operations get complete, whereas on another browser,...
Asked on 02/16/2021 by Apeksha Agarwal
1 answerI've been using Selenium for a while but with a slightly different scope (actually constraints). Instead of running a test for a particular site, I'm interested for instance in filling...
Asked on 02/12/2021 by Sebastian Inones
1 answerIs there a way to read data from excel set global variable in SOAP UI and send those global variable in request payload and how to call multiple rest services?...
Asked on 02/09/2021 by Ankita
1 answerI'm working on automation test for a big project and I'm using **Phpunit** for functional test and as a server **selenium webdriver**.I want to execute many tests using **different...
Asked on 02/09/2021 by Baini.Marouane
0 answerI wish to know how to set the app path for an android app on my mac. For iOS you can download the app and then in the desired capabilities...
Asked on 02/03/2021 by user1523236
5 answerI am trying to select the drop-down value inside my shadow element using the below code, I went to the last point but the selection has not happened. I want...
Asked on 01/27/2021 by Sinu Reddy
0 answerGet help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP