Tagged Questions
0
votes
0answers
46 views
Can we write wrapper class for TestNG and Junit framework
I am writing a framework to run tests using Selenium webdriver which uses the TestNG framework. My requirement is to write a wrapper class to class TestNG framework, however I don't want to directly ...
3
votes
1answer
293 views
Automated tests pass every time when run individually, but when they are clumped into a test suite it's a toss up if the tests will pass
I have around 200 test classes for my web application at the moment. I use Selenium2/Webdriver and the tests are written in java, with TestNG used as my framework.
When I run each test by itself, ...
1
vote
3answers
929 views
Selenium Webdriver cannot locate element for right click event
Hi Guys. I have a problem with right click mouse event in Selenium 2.0. I'm using that method but in a console I've got:
Unable to locate element:
...
1
vote
0answers
119 views
Selenium Webdriver and OpenLayers
I would like to check that the locations asset on map (openLayer) are the same with some asset in a row. What is the best way to do this? I'm using the TestNG framework.
1
vote
0answers
154 views
Dependent methods in the same class run out of order only when included in a “testng suite”; running class independently respects the dependency
I have a class with dependent methods using the TestNG annotation
dependsOnMethods
The test runs fine 100% of the time if I simply run it as a TestNG Test from the package.
When I include the test ...
1
vote
1answer
314 views
What is the max number of threads allowed for running TestNG tests in parallel?
I’m trying to run TestNG tests in parallel, right now I’ve set “parallel=tests” & ‘thread-count=25’ but I see that only 10 threads are running at a time. Is this testNG’s thread limit? Is there ...
0
votes
2answers
3k views
Running WebDriver tests in parallel using testng.xml
I'm trying to run WebDriver tests in parallel using testng.xml. I'm able to run testng tests in parallel by using parameter parallel="tests" but running with following paramters, "methods", "classes" ...