I am beginner in selenium webdriver. so for parallel execution normally we do changes in xml file like parallel="methods" thread-count="3"
and my doubt is:
Is the parallel execution possible without selenium grid? or only testNG is enough?
I am beginner in selenium webdriver. so for parallel execution normally we do changes in xml file like parallel="methods" thread-count="3"
and my doubt is:
Is the parallel execution possible without selenium grid? or only testNG is enough?
Yes, you may run UI tests in parallel without grid, or using only selenium grid node directly, without hub. Each thread in TestNG will open additional browser window, but you will get unpredictable issues in case when you application will manage all connections from you host as one user session.
Yes, using @Parameters ("browser") of TestNg..sample code as below...
write your test after that in your testng.xml use parallel option also mention the parameter value.. sample code as below..
hope this helps