Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

1 like 0 dislike
219 views
by The go-to Tester (360 points)
closed by
Can we perfrom parallel execution without using seleniu grid in testngsuite,

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

Thanks

2 Answers

0 like 0 dislike
by The go-to Tester (473 points)
There is no need of grid if you are using testng for parallel running of script
0 like 0 dislike
by The go-to Tester (181 points)
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!

 


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...