Configuring Selenium Standalone Server in Eclipse IDE

Configuring Selenium Standalone Server in Eclipse IDE

Before running any Test written in Selenium RC on Eclipse IDE, we’ve to start the Selenium Server first.
In order to start the selenium sever, first we have to configure its Run setup in Eclipse IDE as explained below:
1. In Eclipse IDE, click on the ‘Run’ Menu and select ‘External Tools’ -> ‘External Tools Configurations’ option as shown below:

2. Ensure that ‘External Tools Configurations’ dialog is displayed, select ‘Program’ option and click on ‘New Launch Configuration’ option as shown below:

3. Ensure ‘New Launch Configuration’ options are displayed and change the name in the Name field to “Selenium Standalone Server” as shown below:

4. Click on the ‘Browse File System’ button under the ‘Location’ heading as shown below:

5. Select the Java.exe  file inside the ‘bin’ folder of  C:/Program Files/Java/JDK path as shown below and click on ‘Open’ button:

6. Ensure that the selected ‘Java.exe’ file path got added in the ‘Location’ text box as shown below:

7. Click on ‘Brows Workspace’ button under the ‘Working Directory’ as shown below:

8. Ensure ‘Folder Selection’ dialog is displayed, expand the ‘Project’ folder, select the ‘library’ folder and click on ‘OK’ button as shown below:

9. Ensure that the selected ‘library’ work space path got added into the ‘Working Directory’ text box as shown below:

10. Enter ‘-jar selenium-standalone-server-2.31.0.jar’ command into the ‘Arguments’ text area as shown below:

11. Click on ‘Apply’ Button as shown below:

12. Click on ‘Run’ button as shown below:

13. Ensure that the Selenium Standalone Server has launched and started in Console as shown below:

One response to this post.

  1. Great weblog right here! Also your website rather a lot up very fast!
    What host are you the use of? Can I am getting your affiliate hyperlink for your host?
    I wish my site loaded up as fast as yours lol

Comments are closed.

%d bloggers like this: