Monday, September 8, 2008

Introduction to selenium

I am right now working on selenium automated testing. Here i have given overview of selenium.
  • Selenium is a testing tool to automate web applications across many platforms.
  • It is open source software.
  • This tool is developed in Java Script and hence supports all the major browsers on all the platforms.
  • Selenium is a cross-browser, cross-platform solution supporting Internet Explorer on Windows and Mozilla-based browsers on Windows, Mac OSX and Linux and Unix.
  • There are 3 variants in selenium, which can be used to create automation suite for web application.
  • Selenium Grid is an extension of selenium RC to test in different environment.

Selenium IDE                Selenium IDE is an integrated development environment for Selenium tests. It is an easiest way to test the create selenium test. It also serves as a starting point for the automation. Selenium IDE comes as Firefox extension, which allows recording, editing and debugging tests.
Features of Selenium IDE
  1. Record and playback.
  2. Auto complete for all common Selenium commands.
  3. Support for Selenium user-extensions.js file and many more.

Selenium Core
                Selenium Core tests run directly in a browser, just as real users do.
Selenium Core used for
  • Browser compatibility testing- Application can be tested in different browsers and operating system.
  • System functional testing- Create tests to verify the application functionality and user acceptance.

Selenium Core tests run directly into application webserver. This allows the tests to run in any supported browser on the client-side. Thus, there should be a write access to the machine web application server is running on to install Selenium Core.

Selenium Remote Control

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.

The RC server also bundles Selenium Core, and automatically loads it into the browser.
Overall architecture of selenium


No comments: