Questions tagged as 'selenium-webdriver'

0
answers

Is it possible to run multiple test scenarios at the same time with Selenium Webdriver?

In my tests, one scenario only starts after the other is finalized and causes slow execution of the tests. Is it possible to run multiple test scenarios at the same time with Selenium WebDriver?     
asked by 17.10.2017 / 19:48
1
answer

Saves browser state or cookies using selenium

I am doing tests using whatsapp web, so every time I run selenium, I read the qr code and start the tests, and I have to do this every time, I would like to know if there is a way to save the browser state, save session, some way to start the br...
asked by 28.09.2017 / 22:59
1
answer

Method [Test] not found after build

When I build build from the script below, it does not return any errors; however, the build does not find the [Test] test method, and I can not execute it. My script is object-oriented: it calls the class massaBase , which read...
asked by 22.08.2017 / 18:55
1
answer

How to validate the download of files using Selenium Webdriver?

Hello, I wrote an automation test in Webdriver Selenium using C #, and one of the steps requires downloading an XLSX file from the server. How can I validate that the file has been successfully downloaded and get its name?     
asked by 08.08.2017 / 18:27
2
answers

Unpick Chrome from running tests with automated software

I tried to implement Chrome Options in my script to delete that yellow information bar from Chrome, which is displayed every time we run automated tests (" Chrome is being controlled by automated test software " ), but the result I had wa...
asked by 08.08.2017 / 12:54
0
answers

How do I get an element with the same properties on a page?

I'm not sure how to get an element of the type that repeats within the same page. I tried using the following XPath's that were validated in FirePath, but I was not successful when I ran my tests through selenium. //div[@id='selectGenericMu...
asked by 26.07.2017 / 21:40
1
answer

Does Linq generate this ID? How to recover?

I'm doing an automation using Selenium WebDriver and I'm getting all the elements of a Table. I used the code below: var qntd= driver.FindElements(By.XPath("//*[@id='dataTable']/tbody/tr")).Skip(3); I then realized that each element gene...
asked by 27.07.2017 / 15:34
1
answer

Does anyone know how I can do Scroll in Selenium Webdriver in JAVA

Code: WebElement emailsecundario = driver.findElement(By.id("RecoveryEmailAddress")); emailsecundario.sendKeys(" [email protected]"); WebElement gravar = driver.findElement(By.id("submitbutton")); gravar.click(); Does anyone know...
asked by 25.07.2017 / 19:01
1
answer

Python: select checkbox in an orderly manner selenium web scraping

I have a list containing hundreds of data in the format [ '5008489', 'Órgão: MPF', 'PROCEDIMENTO DO JUIZADO ESPECIAL', 'CPF', <selenium.webdriver.remote.webelement.WebElement (session="8834847081a4be257906cce85807f88...
asked by 31.08.2017 / 21:18
1
answer

String is not a valid XPath expression - Selenium WebDriver

Hello, I'm using the following expression in xpath, but an invalid xpath syntax error occurs. When I inspect the element in the Mozilla firepath, it acknowledges it, but on test execution it fails. Follows: By.xpath ("// * [@ class = 'f...
asked by 26.04.2017 / 20:40