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

1 like 0 dislike
348 views
by The go-to Tester (324 points)
retagged by

Is there any other option other than selenium grid?

by The go-to Tester (181 points)
Why not selenium grid? Can you provide me with use case / scenario you have?
by
i am using selenium grid for this but looking any other trick and method.

2 Answers

0 like 0 dislike
by The go-to Tester (181 points)
Selenium Grid is meant to be used for parallel execution. It will help you do balancing by adding different nodes to it. At this point, Selenium Grid is the best choice.
 
But, if you are looking for something which helps you setup Selenium Grid easily, you can have a look at Selenium Grid Extras.
 
 
Hope that helps.
0 like 0 dislike
by The go-to Tester (181 points)

To Answer your first question, "How to run tests in multiple browser parallel?", you can use TestNG framework for parallel execution.

I have developed a framework which will help you with parallel execution.

Github:https://github.com/selenium-webdriver-software-testing/kspl-selenium-helper

Maven: http://search.maven.org/#artifactdetails%7Cin.mayurshah%7Ctestng-xml-maker-maven-plugin%7C1.0.1%7Cmaven-plugin

Implementation: https://github.com/qamate/orangehrm-selenium-automation

 

You will have to import given framework into your maven project or you can download JAR file and add it to your build path. Once done, you can extend BaseActions class, that will have all necessary declarations with protected access specified. You can use TestNG.xml file to do parallel execution,

 

Sample TestNG.xml: https://github.com/qamate/orangehrm-selenium-automation/blob/master/testng.xml

 

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

...