Monday, February 21, 2011

Installing Selenium RC

1. You can download Selenium RC 1.0.3 from here

2. Save it to C:\Selenium

3. Unzip this into a folder of the same name as the the archive
Figure: Downloaded Selenium Directory
4. Now the C:\selenium folder should look like this.

Figure: Contents OF Selenium RC
Overview of the contents of Selenium

We can see the extracted archive Selenium Remote Control has a lot of folders extracted.

There are two main folder types here:
specific language client drivers
selenium server

Each of the supported languages has a client driver. You can see from the list of folders that the
Selenium distribution supports:
Microsoft .Net
Java
Perl
PHP
Python and
Ruby

The client drivers are what we use in our tests to communicate with Selenium-RC. We use the client drivers because our tests act as clients, which communicate with the server, in order to execute commands through the browser.

The client drivers contain the source code, tests, documentation and libraries that we need to work with the Selenium tests.

The selenium server directory has the documentation, source code, tests and executables for working with the Selenium server.