Earlier nosotros learnt selenium WebDriver/Selenium 2 tutorials amongst practical examples together with you lot tin honour all webdriver tutorials links on THIS PAGE. Selenium Grid 2 may last novel for close of you lot but you lot must needs to acquire It because If you lot wants to run your selenium software tests In multiple browser versions together with OS parallel hence you lot ask Selenium Grid 2. Let's endeavor to sympathise what Is selenium Grid together with when to purpose It.
What Is Selenium Grid 2?
Selenium Grid Is simply about other projection of selenium. Selenium grid render us facility for distributed software essay execution. Using selenium Grid, We tin execute our selenium WebDriver software tests In unlike browsers, unlike browsers versions together with unlike browser versions running on unlike operating systems In parallel at the same time.
Basically selenium grid has 1 hub together with multiple nodes. Each node amongst same or unlike environments (As per your requirement) to executed tests In parallel.
Bellow given Images shows representative construction of selenium Grid. You tin run across at that spot Is unmarried Hub machine connected to multiple nodes(with unlike configuration) machine. You ask node machine equally per your requirement.
When To Use Grid 2?
Main questions Is what are the benefits of selenium grid together with why nosotros needs to purpose It. Mainly at that spot are ii reasons behind usage of selenium grid In software testing Industry.
- To perform compatibility testing - You tin run same essay In multiple environments hence that It volition last really slowly for you lot to perform compatibility testing using selenium grid.
- To trim down essay execution time - As you lot know, nosotros tin run same essay In multiple machines at same fourth dimension hence It volition trim down your essay execution time.
Using selenium grid, you lot tin speedup software essay execution process. Supposing your fifty software automation essay cases takes five hours to consummate execution In 1 machine hence selenium grid amongst five nodes configuration volition conduct keep solely 1 hr to execute fifty essay cases. This Is the primary create goodness of using selenium Grid.
NEXT POST volition depict you lot how to configure selenium grid from scratch to run selenium WebDriver software essay cases.