By Sachin J | 07:59
Posted in: | 0 comments

Selenium Remote Control



Selenium Remote Control (RC) is a test tool that allows you to write automated web application UI tests in any programming language against any HTTP website using any mainstream JavaScript-enabled browser.
Selenium RC comes in two parts.
A server which automatically launches and kills browsers, and acts as a HTTP proxy for web requests from them.
Client libraries for your favorite computer language.
Here is a simplified architectural representation....

Selenium RC
Selenium Remote Control is great for testing complex AJAX-based web user interfaces under a Continuous Integration system. It is also an ideal solution for users of Selenium IDE who want to write tests in a more expressive programming language than the Selenese HTML table format.
Read More about Selenium Remote-Control in our documentation

Read more
By Sachin J | 21:28
Posted in: | 0 comments

Beginner's guide to Selenium


Overview –
Selenium IDE is an integrated development environment for performing automation tests for web applications.  Selenium tests can be written as HTML tables or coded in various languages like Java , C#, PHP, Perl, Python and can be run directly in most modern browsers (Firefox, IE, Chrome, Safari) present in the industry. The IDE can help you to record, edit and debug tests. Selenium IDE is only available for Firefox.

Pre requisite for Test Developer –
1.       Experience on QTP does help to quickly learn Selenium as the base of automation remains the same. 
       For those who aren’t much experience in to QTP / automation, should read some books, blogs on QTP 
       to understand how it works.
2.       Knowledge of any one of these languages (Java , C#, PHP, Perl, Python) is must, otherwise you will 
       end up with only recorded scripts and won’t be able to enhance them.

Selenium installation—
  1.  Install Firefox (http://www.mozilla.org/en-US/firefox/new/)
  2.  Install Java jdk: Download jdk (not JRE) without Netbeans IDE or JEE. (http://www.oracle.com/technetwork/java/javase/downloads/index.html)
  3.  Install (optional) Junit for java rc client(ONLY if you are using java client, you also need to add selenium java client driver in classpath)


Main TOOLS Installation:
    4.   Install Selenium IDE (http://seleniumhq.org/download/)

        After installation - you should see selenium ide option in Firefox.

Selenium IDE

5.       Install Selenium RC
           After installation - go to directory containing file 'selenium-server.jar'- you will need to add
           appropriate bat/sh script as mentioned in below steps.

Example –
We will see how to create a simple test in Selenium. So let’s get started.


Read more