To run selenium 1.0 automated test cases, you need to start (run) Selenium Server. Go to the directory where the Selenium RC's server is located(downloaded), and then run the following from a command-line console.
java -jar selenium-server-standalone-<version-number>.jar
For example, if you have downloaded the server jar files in the directory below, enter the directory in the command line console and type the command below.
C:\selenium-java-2.39.0\java -jar selenium-server-standalone-2.39.0.jar
When the server is running, the screenshot looks like this:
You can create a batch or shell executable file (.bat on Windows and .sh on Linux) to simplify the server starting step by containing the command above. After you create a batch file, you can make a shortcut to that executable on your desktop and simply double-click the icon to start the server.
Sometimes, you can call the batch file in a program to automatically start the server when you execute the test.
To run the server, you need to make sure that Java has already been installed and the PATH environment variable has already been correctly configured to run it from the console.
If the server cannot run, you can check the Java version by running the following on a console.
If the above command returns any version number, you are ready to start using Selenium RC.