Hello Selenium RC
This Tutorial will show you how to download, install and execute commands for Selenium Remote Control - an open source tool for testing web applications.
Main Learning's
After following this tutorial you will learn how to:
- Download and install Selenium RC
- Verify that the Selenium RC is properly installed
- Execute Selenium RC commands
Versions used:
- OS: Windows XP V1.6
- JDK version 1.6.0_3
- Selenium RC version 0.9.2
Assumptions:
The JDK is properly installed
Tutorial Steps:
- Go to the Selenium RC download page at: http://selenium-rc.openqa.org/download.jsp
- Download Selenium RC latest major release (currently 0.9.2) – e.g. selenium-remote-control-0.9.2-dist.zip
- Unzip and install Selenium RC (e.g C:\seleniumrc)
- Make sure the jdk is properly installed – Selenium uses Java, therefore the JDK must be properly installed.
- Start the Selenium Server.
- Open a command prompt
- Go to the Selenium-Server folder (in my case C:\seleniumrc\selenium-remote-control-0.9.2\selenium-server-0.9.2)
- execute java -jar selenium-server.jar -interactive

- Now you are able to execute the Selenium Commands
- Try the following command sequence on the selenium server console.

- The following should be the result after each command execution:
- cmd=getNewBrowserSession&1=*firefox&2=http://www.google.com

- cmd=open&1=http://www.google.com/

- cmd=type&1=q&2=hello world

- cmd=click&1=btnG

- Congratulations, Selenium RC is running!
- For more details on Selenium RC, or trouble shooting, please check here.
Comments (0)
You don't have permission to comment on this page.