RE: selenium +testNG parallel execution

hi guys,
this stuff is making crazy
I have a set of tests (selenium+testNg ) which are pretty stable when I run them sequentially
The problem is that I want to make them run parallely but, in such case, i have a lot of
“Exception: org.openqa.selenium.WebDriverException: java.lang.InterruptedException: sleep interrupted Build info: version: ‘2.48.2’ ”
Really dont understand why, I was sure multi threading works fine but , seems I have bad karma 🙁
If somebody know about this problem , please let me know and I’ll give all the necess˙ary informations

Thanx

lagartija Default Asked on November 27, 2015 in Selenium WebDriver.
Add Comment
4 Answers

Just make sure that your webdriver object is not static, otherwise there is a chance that your automation will blew up.
If that is not the case then as suggested please share the code snippet to help you further.

Default Answered on November 30, 2015.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.