Monday, February 4, 2013

Install and Getting-Started with Selenium RC Server and Selenium RC Client for Python on Ubuntu 12.10 Quantal

The Visual-Guide Show Step-by-Step How-to Install and Getting-Started with Selenium RC Server and Selenium RC Client for Python on Linux Ubuntu 12.10 Quantal Quetzal Unity i386/Amd64 Desktop.

To Make the Entire Process Easier to Visualize and Retain the Article Includes the Basic Screenshots of the Essentials Steps Involved.

The Content and Details are Expressly Reduced to Give Focus Only to the Essentials Instructions and Commands and Make Tut more Easy & Digestive;)

Ubuntu Linux Ripples
  1. Download Selenium RC:

    Selenium RC Server .jar
  2. Open Terminal Window
    Linux Ubuntu 12 Open Terminal
  3. Check if Java JDK7 is Installed
    java -version

    How-to Install Oracle-Sun Official Java JDK7 on Ubuntu:

    Install Oracle JDK7 for Ubuntu
  4. Start Selenium Server
    cd </path/To>/selenium-server*.jar
    java -jar selenium-server-standalone-2.25.0.jar

    Then the Selenium Server will Listen by Default for the Selenium Client on the 4444 Port.

  5. Getting-Started with Selenium RC Python Client
    1. Installing Selenium Python Client:

      Selenium Python
    2. Start Browser by Selenium Python RC Client
      python
      >>>from selenium import selenium
      >>>selenium = selenium("localhost", 4444, "*firefox",
                               "http://www.google.com/")
      >>>selenium.start()