Can we distribute the TestNG tests in Selenium Grid when running the tests in parallel but in the same browser -


problem statement: have 100 test cases willing run using selenium grid 2 in chrome using 2 nodes. possible divide test cases 50 per system in grid. because when run 100 test cases in parallel selenium runs test cases in both systems , tests fail(at times). though using threadlocal create webdriver instance.like can see below same test runs on both nodes, want tests not repeat , run parallely on same browser.

    10:40:25,770  info - executing:- verifyfooteritemsisdisplayed     10:40:25,770  info - executing:- verifyfooteritemsisdisplayed 

was able parallel="classes" , adding classes testng.xml file.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -