helloopensource

 

SeleniumRC

Page history last edited by paulo 1 yr ago

 

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:

  1. Go to the Selenium RC download page at: http://selenium-rc.openqa.org/download.jsp
  2. Download Selenium RC latest major release (currently 0.9.2) – e.g. selenium-remote-control-0.9.2-dist.zip
  3. Unzip and install Selenium RC (e.g C:\seleniumrc)
  4. Make sure the jdk is properly installed – Selenium uses Java, therefore the JDK must be properly installed.
  5. Start the Selenium Server.
    1. Open a command prompt
    2. Go to the Selenium-Server folder (in my case C:\seleniumrc\selenium-remote-control-0.9.2\selenium-server-0.9.2)
    3. execute java -jar selenium-server.jar -interactive
  6. Now you are able to execute the Selenium Commands
  7. Try the following command sequence on the selenium server console.
  8. The following should be the result after each command execution:
    1. cmd=getNewBrowserSession&1=*firefox&2=http://www.google.com
    2. cmd=open&1=http://www.google.com/
    3. cmd=type&1=q&2=hello world
    4. cmd=click&1=btnG
  9. Congratulations, Selenium RC is running!
  10. For more details on Selenium RC, or trouble shooting, please check here.

 

 

Comments (0)

You don't have permission to comment on this page.