The specialists of software testing company use different tools for automated testing of software product. There tools for specified checking procedure – for unit tests, system scripts, load cases, etc.
Selenium Grid 2 is used to run in parallel the software tests, created on the basis of Selenium tool, in various versions of web browsers and operating systems. It distributes the test cases execution.
The tool consists of a hub (a central server) and multiple nodes that can be with different as well as with the same environments. A specialist is able to work with the cluster through the hub that translates the requests to the nodes. Both nodes and hub can be run on the same machine or on the different ones.
A server and nodes can work under various OS and different browsers can be installed on them. Selenium Grid is called to ‘select’ the node that is the most suitable for a particular browser type, OS version and other attributes set for the browser launch. They are called to execute parallel tests.
Selenium Grid is used for:
- the execution of compatibility testing – it is able to run the same tests in various environments,
- reducing the time needed for a test run – this is like a consequence of the first item. Parallel testing takes less time.
With the help of Grid, the management of various means of different environments becomes easier. Its entire features are available due to the specific structure of the tool – it is a cluster of several Selenium servers. As a result, it is possible to organize a distributed network that provides running of browsers on various machines.