webdriver - Is it possible to run selenium tests concurrently/parallel using same browser/platform combination -
i trying run tests in parallel using same browser/platform combination, chrome/win7 exact. have managed reduce our test execution times far running different features on separate executors (node) via jenkins. trying achieve being able run separate scenarios in parallel reduce test execution time further. possible using selenium grid node having same browser/platform combo?
yes, possible using testng
use parallel="methods"
below:-
<suite name="test-method suite" parallel="methods" thread-count="2" >
refer:-
http://howtodoinjava.com/testng/testng-executing-parallel-tests/
you can use more execution type according need :-
<suite name="my suite" parallel="methods" thread-count="5"> <suite name="my suite" parallel="tests" thread-count="5"> <suite name="my suite" parallel="classes" thread-count="5"> <suite name="my suite" parallel="instances" thread-count="5">
refer:-
http://testng.org/doc/documentation-main.html#parallel-tests
hope :)
Comments
Post a Comment