You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is not possible run in parallel tests from the same test class when the class is defined in separate test tags of configuration file. Here is the example of testng configuration file:
Actual outcome:
When the first of those two tests is finished then webdriver for the second one is also closed. Exception is thrown: org.openqa.selenium.NoSuchSessionException: Session ID is null. Using WebDriver after calling quit()?
Workaround for this case is to move the test methods from A group to separate test class but It is not very elegant.
The text was updated successfully, but these errors were encountered:
It is not possible run in parallel tests from the same test class when the class is defined in separate test tags of configuration file. Here is the example of testng configuration file:
Test for veryfying this scenario can be:
Actual outcome:
When the first of those two tests is finished then webdriver for the second one is also closed. Exception is thrown: org.openqa.selenium.NoSuchSessionException: Session ID is null. Using WebDriver after calling quit()?
Workaround for this case is to move the test methods from A group to separate test class but It is not very elegant.
The text was updated successfully, but these errors were encountered: