Selenium Remote Control( Selenium 1.0 )
Selenium Remote Control
Selenium RC stands for Selenium Remote Control. It is the first Selenium Project and is also known as Selenium 1.0. Note that Selenium RC is now deprecated.
Selenium RC Architecture
Selenium RC client libraries communicate with the Selenium RC Server. The server forwards the Selenese commands to a browser extension component called Selenium Core. The Selenium Core executes the Selenium command using a JS( JavaScript) interpreter.
The Selenium RC server handles the different browsers. It is capable of launching and killing browser instances. The server acts as a proxy between the browser and the application.
Start Selenium RC server
We have to start the RC server before running the scripts. Java is a prerequisite and should be installed on the machine to run the RC server.
Download the RC server. Open the command prompt and run the server. The sample command to start the RC Server is shown below:
\> java -jar <selenium-rc-server.jar
For example, we have to Instantiate the RC server in the Test automation script:
Selenium selenium = new DefaultSelenium( "localhost" , 4444,
"*firefox" , "http://www.testingdocs.com/" );
selenium.start();
Language Support
Selenium RC had library support for many programming languages, like
- Java
- PHP
- Python
- Ruby etc.
—
Selenium Tutorials on this website:
Official Website: