Tuesday, 6 September 2011

Selenium RC Server

  Installing Selenium Server
  The Selenium RC server is simply a Java jar file (selenium-server-standalone-<version-number>.jar), which doesn’t require any special installation. Just downloading the zip file and extracting the server in the desired directory is sufficient
Running Selenium 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-standalone-<version-number>.jar
This can be simplified by creating 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.
Note : For the server to run 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 promt version number (which needs to be 1.5 or later), ready to start using Selenium RC.

No comments:

Post a Comment