Monday, February 4, 2013

Selenium RC and Selenium Python Client for Linux Fedora 18 KDE4 How-to Install and Getting-Started

The Visual-Guide Show Step-by-Step How-to Install and Getting-Started with Selenium RC Server and Selenium RC Client for Python on Fedora 18 KDE4 Linux 32/64bit 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;)

CentOS Linux Ripples
  1. Download Selenium RC:

    Selenium RC Server .jar
  2. Open Terminal Window
    Linux Fedora16-17-18 Kde4 Open Terminal
  3. Check if Java JDK7 is Installed
    java -version

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

    Install Sun JDK7 for Fedora
  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 Client
    2. Start Browser by Selenium Python RC Client
      python
      >>>from selenium import selenium
      >>>selenium = selenium("localhost", 4444, "*firefox",
                               "http://www.google.com/")
      >>>selenium.start()