Monday, 16 May 2011

How to install Selenium Grid from scratch - TRY 2

Aim
This entry shows how to install Selenium Grid from it's very first step.


Difficulty Level
Medium

Key Steps
1.Download Selenium Grid from URL:http://selenium-grid.seleniumhq.org/download.html
2.Open the command prompt.
3.Goto directory of Selenium Grid.
4.Enter the command for launch selenium Grid:

Command:
>ant launch-hub

5.Launch the Browser.
6.Open the URL:http://localhost:4444/console
7.Now we can launch the instances of browser from this command:
Ant –Dport=5555 –Denvironment=”*firefox” launch-remote-control

Next Steps:
Now see Example - Selenium Grid on the PC


Helpful Solution Video File

4 comments:

  1. Do I need to install ant to install selenium grid?

    ReplyDelete
  2. how to make any configurations? if any?

    ReplyDelete
  3. Hi Viresh, if I have the selenium grid downloaded from Internet, then we just put it on the system and using ant we instantiate it, we use the below command to launch the selenium grid;
    ant launch-hub

    once this command executes then through browser we access the selenium grid.

    ReplyDelete
  4. As Selenium Grid in not any installable it's just a collection of build.xml and jar files, so for running the pre-defined targets from the build files we use Ant.

    ReplyDelete

Thank you for your comment
- Time2test Team