power_settings_new
Can we perfrom parallel execution without using seleniu grid in testngsuite,

Please some one let me know if we can do om same.

Thanks

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

by (171 points)
0 votes
Grid is mainly used for test exeuction on multiple browsers in parallel and to do load balancing of the same.

You can execute tests without grid as well, but you will have to start FirefoxDriver or ChromeDriver or respective browser driver instead of RemoteWebDriver. So browser will be initiated on the machine where your tests are executing.

Depending on your system memory you can set thread count. Also, your local system has to have good memory and processing power for smooth execution of your tests.

Apart from setting up the grid, you can even use paid services like SauceLabs and BrowserStack to execute your tests on cloud. You will be paying for what you use.

Hope that helps!
add
...