selenium demo

Post on 24-May-2015

8.725 Views

Category:

Business

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Selenium

Web Automation Testing Tool

Selenium

• Functional testing tool for web applications.• Open source tool. Released under the apache

2.0 license.• Implemented entirely with browser technology.- JAVA Script- DHTML

• Works with virtually any JAVA Script enabled browser.

Components of Selenium

• Selenium IDE.

• Selenium Core.

• Selenium RC.

Selenium IDE (Integrated Development

Environment)

Selenium IDE

• Implemented as Firefox extension.

• Allows one to record, edit and playback tests.

• Debug and set break points.

• Save tests as HTML, PERL, RUBY, JAVA, Python or any other format.

• It has option to automatically assert the title of every page.

Limitations of Selenium IDE

• Selenium IDE is limited in terms of Browser support.

Selenium Core

Selenium Core

• A acceptance testing tool for web applications.

• Tests run directly in the browser.

• Selenium is implemented entirely with browser technology

– JavaScript

– DHTML

• Selenium deploys its BrowserBot alongside your application.

Platform and Browser Compatibility • Supported Platforms: • Windows:

– Internet Explorer 6.0 and 7.0 – Firefox 0.8 to 2.0 – Mozilla Suite 1.6+, 1.7+ – Seamonkey 1.0 – Opera 8 & 9

• Mac OS X: – Safari 2.0.4+ – Firefox 0.8 to 2.0 – Camino 1.0a1 – Mozilla Suite 1.6+, 1.7+ – Seamonkey 1.0

• Not yet supported: OmniWeb • Linux:

– Firefox 0.8 to 2.0 – Mozilla Suite 1.6+, 1.7+ – Konqueror – Opera 8 & 9

Selenium RC (Remote control)

Selenium Remote Control

• Client Server architecture. 

1. Server - A server which can automatically launch and kill supported browsers, and acts as a HTTP proxy for web requests from those browsers.

2. Client - Client libraries for your favorite computer language.

• The Selenium Server supports testing of complex AJAX-based web user interfaces under a Continuous Integration system.

A simplified architectural representation of RC

References

• www.openqa.org/selenium

• www.selenium.thoughtworks.com

Thank You

top related