What is Selenium Grid and when it can be used?

0 votes
May 28, 2019 in Selenium by Janki
54 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 28, 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 12, 2019 in Selenium by Garry
62 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
292 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
• 27,930 points
1,066 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 8, 2019 in Selenium by Pratibha
• 3,690 points
505 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,510 points
3,498 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

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

answered Aug 31 in Selenium by Sri
• 2,970 points
4,505 views
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,890 points
2,582 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 2 in Selenium by Sri
• 2,970 points
2,823 views
0 votes
1 answer

What is Marionette driver and how it can be used to instantiate Firefox webdriver?

Hey Manju, Marionette driver is the new driver ...READ MORE

answered Jul 15, 2019 in Selenium by Anvi
• 14,090 points
761 views
0 votes
2 answers