What is Selenium Grid and when it can be used

0 votes
May 29, 2019 in Selenium by Janki
• 1,986 views

1 answer to this question.

0 votes

Hello Janki, Selenium Grid is a part of the Selenium Suite that specializes in running multiple tests across different browsers, operating systems, and machines in parallel. Selenium Grid is a tool used together with Selenium RC to run tests on different machines against different browsers in parallel. In simple words, it is used to distribute your test execution on multiple platforms and environments concurrently. It allows running test cases in parallel thereby saving test execution time.

Grid employs a Hub-Node architecture where, there is one Hub, which acts as the master and one or more Nodes acting as slaves. Which means, if you have a total of 100 jobs/tests that need to be executed, then the tests can be executed simultaneously in 5 machines, where each machine will be running 20 tests. This would easily save up on a lot of your time in test execution, as we can reduce the execution time to around 1/5th of the total time taken to execute tests on a single machine.

answered May 29, 2019 by Rahul

Related Questions In Selenium

0 votes
0 answers

What is JUnit @ignore test annotation and when it can be used?

What is JUnit @ignore test annotation and ...READ MORE

Jun 13, 2019 in Selenium by Garry
• 1,606 views
0 votes
1 answer

What is TestNG and why it is used in selenium?

Hello @User, Talking about TestNG, it is an ...READ MORE

answered Dec 24, 2018 in Selenium by Shuvodip
• 2,534 views
0 votes
1 answer

What is Apache POI in Selenium and what it is used for?

Hi Raj, Apache POI is the most commonly ...READ MORE

answered May 8, 2019 in Selenium by Abha
• 28,140 points
• 4,336 views
0 votes
1 answer

What is Robot Class in selenium webdriver and why it is used?

Hello Akanksha, Robot Class is used for those ...READ MORE

answered May 9, 2019 in Selenium by Pratibha
• 3,690 points
• 3,257 views
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,500 points
• 18,679 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered