15
Selenium Web Automation Testing Tool

Selenium Demo

Embed Size (px)

Citation preview

Page 1: Selenium Demo

Selenium

Web Automation Testing Tool

Page 2: Selenium Demo

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.

Page 3: Selenium Demo

Components of Selenium

• Selenium IDE.

• Selenium Core.

• Selenium RC.

Page 4: Selenium Demo

Selenium IDE (Integrated Development

Environment)

Page 5: Selenium Demo

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.

Page 6: Selenium Demo
Page 7: Selenium Demo

Limitations of Selenium IDE

• Selenium IDE is limited in terms of Browser support.

Page 8: Selenium Demo

Selenium Core

Page 9: Selenium Demo

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.

Page 10: Selenium Demo

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

Page 11: Selenium Demo

Selenium RC (Remote control)

Page 12: Selenium Demo

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.

Page 13: Selenium Demo

A simplified architectural representation of RC

Page 14: Selenium Demo

References

• www.openqa.org/selenium

• www.selenium.thoughtworks.com

Page 15: Selenium Demo

Thank You