What is Selenium Grid and when it can be used?

0 votes
May 28 in Selenium by Janki
24 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 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 in Selenium by Garry
23 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
117 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 in Selenium by Abha
• 27,180 points
398 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 in Selenium by Pratibha
• 3,680 points
217 views
0 votes
1 answer

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,110 points
980 views
0 votes
1 answer
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,130 points
1,139 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
880 views
0 votes
1 answer
0 votes
1 answer