1.You need download the
Selenium-RC in http://seleniumhq.org/download/.
The Selenium-RC server is simply a Java jar file (selenium-server.jar),
which doesn’t require any installation. Just download the zip file and extract
the server in the directory you need to
2.To run the server ,you’ll need
Java installed and the PATH environment variable correctly configured to run it
from the console. The JDK version should be not older than 5.0 .
3.Then download the ruby applied
for Windows system and install it. The ruby version should be at least 1.9.X . The
site for downloading ruby is http://www.ruby-lang.org/en/downloads/
4.You can download rubygems in http://rubyforge.org/projects/rubygems/
, then go to the directory where rubygems’ setup file is located. Run” ruby
setup.rb “ in a command-line console.You can check whether you have installed rubygems
correctly by running the following on a command-line console: gem –v. If you
get a version number, it means you have install rubygems successfully.
5.Next, you can install other
applications by using the following commands on a command-line console:
gem install rails
gem install selenium-client
gem install spec_ui
gem install rspec
gem install rake
6.Till now, the test environment is
ready. Before you start the tests, you must start the Selenium-RC’s server each
time. There are 2 steps need to go in command-line console :1. Go to the
directory where Selenium-RC’s server is located 2. run the command : java -jar
selenium-server.jar