Sunday, March 11, 2007

Setting up Selenium RC server in Windows

1. Download latest Java SE from http://java.sun.com/ and install

2. Download latest version of Selenium RC from and extract

3. Create a folder named Selenium at C:\Program Files\Java\jdk1.6.0_03\bin

4. Copy all files under Selenium-server-0.9.2 which you will find in the extracted folder and paste in the newly created folder

5. From Command prompt run the following commands:

cd \
cd C:\PROGRA~1\Java\jdk1.6.0_03\bin
java -jar .\Selenium\selenium-server.jar -interactive

If you see the following messages at the end of the console, you are quite confirm that the Selenium server is running fine:

Entering interactive mode... type Selenium commands here (e.g: cmd=open&1=http:/
/www.yahoo.com)

No comments: