This document provides an introduction to the Selenium testing tool. It discusses that Selenium is an open source tool that allows testing web applications across different browsers and platforms. It supports languages like Java, C#, Ruby, Python and Perl. The document outlines the core components of Selenium including Selenium IDE for recording and replaying tests, Selenium RC as the server version, WebDriver as an improved version of RC, and Grid for parallel testing. Key advantages are that it is open source and supports multiple browsers and operating systems. It also differentiates Selenium from QTP, noting Selenium can test in multiple browsers while QTP only supports IE without plugins.
4. Page 3Classification: Restricted
Selenium
• Free(open source) automated testing suite for web applications across
different browser & platforms.
• Mainly used for functional testing.
• Supports web applications & some mobile applications.
5. Page 4Classification: Restricted
Supported Browsers
• Google Chrome 12.0.712.0+
• Internet Explorer 6-7 -32, 64 bit
• Opera 11.5+
• Firefox 3.0,3.5,3.6,4.0,5.0,6.7+
• Safari
8. Page 7Classification: Restricted
Advantages of Selenium
• Open Source tool
• Supports multiple Operating systems
• Supports multiple browsers
• We can use any language to write our selenium code
9. Page 8Classification: Restricted
Difference between Selenium and QTP?
Selenium
• We can run tests in multiple
browsers (useful for checking the
browser compatibility)
• It is an Open source tool
• We can work on any browser as we
use Java for scripting which is
platform independent
• Code can be written in different
languages like Java, C#, Perl,
Python, PHP
QTP
• It works only on IE. In order to
perform test on the other browsers
we need to purchase plugins
• It is a Licensed tool
• Works only on Windows
• Only Vb Script can be used
10. Page 9Classification: Restricted
Components of Selenium
• Selenium IDE (Integrated Development Environment)
• Selenium RC (Remote Control)
• Selenium Web Driver
• Selenium Grid
11. Page 10Classification: Restricted
Selenium IDE
• Firefox plugin which is used to record & replay the actions performed on
the browser.
• Allows to write scripts & develop test suites.
12. Page 11Classification: Restricted
Selenium RC
• Server version of selenium
• Supports multi browser & multi programming language feature
• Scripts can be written in Java, Ruby, Python, .Net etc.
13. Page 12Classification: Restricted
Selenium WebDriver
• Interface which is designed to overcome some limitations of selenium RC
software testing tool.
• Also known as Selenium 2 and used for web as well mobile applications
testing.
• It is freeware software testing tool and mostly used as a regression testing
tool for web and mobile applications.
14. Page 13Classification: Restricted
Selenium Grid
• To run a huge test suite, that need to complete in soonest time possible.
• Implement parallel tests across different browsers and operating systems.