selenium · selenium grid

Selenium Grid

Selenium Grid:

Selenium Grid allows you to run Selenium tests in parallel, cutting down the time required for running acceptance tests to a fraction of the total time it currently takes. Run them all on a single machine (we’ve run up to 15 parallel processes on a laptop!) or on a server farm.

Technical Mumbo Jumbo:
Selenium Grid runs on top of Selenium Remote Control. Selenium is a test tool that allows you to write automated web application UI tests in any programming language against any HTTP website using any mainstream JavaScript-enabled browser.

Step 1: Download selenium grid

Step 2: Setup your environment

In case you face any path issues then set path into your system following ways.

Way1:

Windows XP SP2 –> 1. Right click “My Computer”

2. Click “Advanced” tab

3. Click “Environment variables” button

4. In System variables –> click path –> Click edit

5. In edit system variable window –> go to end of  line In “variable value” field –> [PASTE YOUR PATH]

Ex; C:\Program Files\Java\jdk1.6.0_06\bin;C:\grid\apache-ant-1.7.0-bin\apache-ant-1.7.0\bin;

6. Click ok for all 3 windows

Way2:

In command prompt,

c:\set path=%path%;”C:\grid\apache-ant-1.7.0-bin\apache-ant-1.7.0\bin;”

3. Run the demo