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
Hi Mr.Raveendran,
The blog was very informative.
I have played a bit with selenium and now want to know abt how to really use this selenium grid and run the scripts parallelly. CAn u help me out in this.
Thanks
Hi raveendran,
Could you explain how do we add and execute the selenium NUnit tests written in C# for the Selenium GRID. I ve searched google but could not find a way to add and run the C# ,Nunit tests on selenium GRID
Thanks
Anil
Sorry Anil. I am only familiar with Ruby
Thanks