0% found this document useful (0 votes)
38 views9 pages

Selenium-RC From The Following Website: This Involves Four Steps

1. The document describes the four steps to configure Selenium RC: creating a workspace and project in Eclipse, adding Selenium jar files to the build path, configuring external tools to run Selenium, and specifying the port number. 2. It also explains how to install the Firebug add-on in Firefox to inspect HTML elements on web pages being tested in Selenium. Firebug is downloaded from its website and added as a Firefox extension. 3. Notes are provided on specifying file paths depending on the system location and changing the default port number used by Selenium.

Uploaded by

Swapna Reddy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views9 pages

Selenium-RC From The Following Website: This Involves Four Steps

1. The document describes the four steps to configure Selenium RC: creating a workspace and project in Eclipse, adding Selenium jar files to the build path, configuring external tools to run Selenium, and specifying the port number. 2. It also explains how to install the Firebug add-on in Firefox to inspect HTML elements on web pages being tested in Selenium. Firebug is downloaded from its website and added as a Firefox extension. 3. Notes are provided on specifying file paths depending on the system location and changing the default port number used by Selenium.

Uploaded by

Swapna Reddy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Download Selenium-RC from the following website

http://www.seleniumhq.org/download/

.Steps to configure selenium RC:

This involves four Steps:


Step 1: Creating a Workspace
Double-click on the Eclipse icon (installed). Give your workspace location and click on OK .

Fig 5.5
Click on the workbench icon.

Step 2: Creating a New Project

To create a new project:


Under eclipse go to file menu --> New --> Click on Java Project --> Give project name -->
Click on OK

Give your project a name and then click on Finish. Now the project will be created
with the given name.

Step 3: Building Jar Files


Right-click on JRE System Library.

Select Build Path, Configure Build Path

Click Add External JARs and select the path of selenium jar files.
Below is the selenium jar files needed.
-> Selenium server jar file.
Step 4: Configuring external tools:
Go to Run Menu, External Tools, External Tools Configuration

A dialog box will be shown.

Doubleclick on Program then enter the details for the configuration.

1.

Give configuration name in the first text box (in Name: text box).

2.

Give Java.exe location (you can find it where java is Installed). Location in second text

box (in Location: text box).


3.

Give your working directory location in third text box.

4.

Give argument as '-jar selenium-server-standalone-2.25.0.jar' in Arguments


box.

Then Click on Apply and Run

Note:
Give the path of files as per your System location.

If port number is not specified, default port is 4444.


If required we can change the port number by following below navigation.
Go to Run->Click on External Tools->select External Tools Configurations
Update the argument as below
-jar selenium-server-standalone-2.32.0.jar -portnumber 5555
The above portnumber we have to use it in our selenium object.

Installation of Firebug:
Firebug is a Firefox add-on that we will use to inspect the HTML elements of the
web application under test.It will provide us the name of the element that our
Selenese command would act upon.
Step 1
Use Firefox to navigate to Firebugs download page (https://getfirebug.com/downloads/)
and click on the download link.

Step 2
Firefox will take you to its Firebug download section. Click the Add to Firefox button.

Step 3
Wait for Firefox to complete downloading this add-on. On the dialog box that comes after,
click Install Now.

Step 4
Wait for installation to complete. A notification will pop-up saying, Firebug has been
installed successfully. You can immediately close this pop-up.

You might also like