Reputation: 227
I have developed some web tests using selenium and I am trying the TestNG parallel option.
<test parallel="methods" thread-count="5" name="Test">
Since these are completely web tests, since the thread count is 5 it is opening 5 browsers and the results are totally wrong. I expect this, because even though it opens 5 browsers, it can work with only one browser at a time.
So the question is, do we really use this option for web testing?
If not, where can we use this? Please give some examples.
Thank you.
Upvotes: 0
Views: 50
Reputation: 896
try developing independent tests if you are running in parallel, some good information is at http://testng.org/doc/documentation-main.html#parallel-running
Upvotes: 1