How Selenium RC internally works
About Selenium-RC:
The Selenium Server which launches and kills browsers, interprets and runs the Selenese commands passed from the test program, and acts as an HTTP proxy, intercepting and verifying HTTP messages passed between the browser and the AUT.
Client libraries which provide the interface between each programming language and the Selenium-RC Server.
About Selenium Server:
Selenium Server receives Selenium commands from your test program, interprets them, and reports back to your program the results of running those tests
About Client Libraries:
The client libraries provide the programming support that allows you to run Selenium commands from a program of your own design. There is a different client library for each supported language. A Selenium client library provides a programming interface (API), i.e., a set of functions, which run Selenium commands from your own program. Within each interface, there is a programming function that supports each Selenese command.
Fro writing test automation script you can use Selenium-RC with the programming language of your choice then and then you have chosen a language to work with, you simply need to:
1. Install the Selenium-RC Server.
Set up a programming project using a language specific client driver.
2. Install selenium server
The Selenium-RC server is simply a Java jar file (selenium-server.jar), which doesn't require any special installation. Just downloading the zip file and extracting the server in the desired directory is sufficient.
3. Running Selenium Server
Before starting any tests you must start the server. Go to the directory where Selenium-RC’s server is located and run the following from a command-line console.
>java -jar selenium-server.jar