Before running any tests we must start the selenium server.
Navigate to the directory where Selenium RC’s server is located and run the server from a command-line.
java -jar selenium-server-standalone-<version-number>.jar
In simple create a batch or shell executable file (.bat on Windows and .sh on Linux) containing the command above. Then make a shortcut to that executable on your desktop and simply double-click the icon to start the server when ever required.
Note:
For the server to run you’ll need Java installed and the PATH environment variable correctly configured to run it from the console. You can check that you have Java correctly installed by running the following on a console.
java -version
If you get a version number (which needs to be 1.5 or later), you’re ready to start using Selenium RC.
Navigate to the directory where Selenium RC’s server is located and run the server from a command-line.
java -jar selenium-server-standalone-<version-number>.jar
In simple create a batch or shell executable file (.bat on Windows and .sh on Linux) containing the command above. Then make a shortcut to that executable on your desktop and simply double-click the icon to start the server when ever required.
Note:
For the server to run you’ll need Java installed and the PATH environment variable correctly configured to run it from the console. You can check that you have Java correctly installed by running the following on a console.
java -version
If you get a version number (which needs to be 1.5 or later), you’re ready to start using Selenium RC.