How to setup Selenium RC to test any website on the internet? How to setup Selenium RC to test any website on the internet? selenium selenium

How to setup Selenium RC to test any website on the internet?


This info is related to Selenium 1.Selenium system consists of 3 parts:

  1. selenium core - that is javascript library that will be used to simulate user actions
  2. selenium RC - this is selenium-server.jar - mediation JETTY server that will receive requests from selenium client. Selenium Server RC (Remote Control) should be on the same machine where the Browser placed
  3. Selenium client - java/ruby/... library that you will be use with your tests to communicate with Selenium RC.

It will be helpful if you provide language that you use for your tests and other technical details.

About your questions:

  1. can
    • type in command line -> java selenium-server.jar
    • or you can use class SeleniumServer in your program
  2. please use text formatting when ask questions.
    • server-1 will has IE8 and SeleiumServer
    • server-2 will has FF and yet one SeleniumServer
    • server-3 will has you client tests

FYI - you can run all together on one PC


The below diagram is of a web application test system that I've implemented on numerous occassions. This does not show you specifically details on installing Selenium RC, but it does show you, at a high level, all of the necessary system components and how they interface.

We hope you can use it to get ideas on how to implement your own systems using open source solutions like Selenium, MySQL and Perl.

Our team understands that not all web sites are created equal, and, in order for any automation initiative to be successful a thorough analysis must be performed of not only the web application, but the business as well. Since our client's QA team, while technically savvy, were not programmers we decided to implement a page object design pattern where all of the "magical selenium commands" were abstracted in a class and exposed to the test developers as methods they would call from their test scripts.

The resulting implementation, as seen in the diagram below, is currently deployed and keeping management and interested parties up to date on the status of key functional areas of the web site.

System Diagram - Click to View

In the coming weeks, we are going to be covering each implementation step in more detail. We look forward to any feedback!

Web and Mobile Automation Blog