Thiago Fioravante
  • Member for 5 years
  • Last seen more than a month ago
  • Belo Horizonte - State of Minas Gerais, Brazil
WebDriver instantiation in Selenium framework
2 votes

In my framework, I have a public abstract class BaseIntegration that my test extends and a public abstract class BasePage that my page objects extends too. BaseIntegration has a WebDriver that all ...

View answer
Getting Error After Web Element Inspection
2 votes

Well, I did an inspect on the page and I think that you're looking for the wrong element. The html is (I removed the unnecessary code): <div class="userName"> <input tabindex="1" name="...

View answer
How to close all the browser instances and chromeDriver.exe even if my test cases fails?
2 votes

Just as a complement for Julien Herr answer, you can use @AfterClass(alwaysRun = true) too. In my project I prefer AfterClass because this way I can run all tests of a class in a single instance of ...

View answer
Selenium FindElements() hangs sometimes
1 votes

some points before: Why use a list of IWebELements instead of WebElements? d.FindElements return a List<WebElements>. Is it necessary the ToList() at the end? And why return it to list 'link' ...

View answer
Automated page visit
1 votes

If you want to do performance tester, selenium is not the right tool. Selenium is for functional or end-to-end tests. For test performance there are tools like jMeter or Gatling that was built for ...

View answer
How to test user can be logged in only one browser instance?
0 votes

The only possible way I can think is using TestNG priority, groups and dependsOnGroups properties. You'll have to run the full group for this works and you'll need to have at least two test on the ...

View answer
CSS or Xpath for href element with number
0 votes

You can find all elements by class an put them in a list. Then you iterate over the list and click the elements. List<WebElement> list = driver.findElements(By.xpath("//a[@class='fa fa-pencil-...

View answer