Experiment 11 (Introduction to Selenium Tool)
Objectives: To introduce Selenium IDE as a tool to perform in Black box testing and to
use Selenium IDE to automate browser based application testing.
Estimated Time: 60 minutes
1. Background
Selenium is a free (open source) automated testing suite for web applications across
different browsers and platforms. It is quite similar to HP Quick Test Pro (QTP) only that
Selenium focuses on automating web-based applications.
Selenium is not just a single tool but a suite of software's, each catering to different
testing needs of an organization. It has four components.
Selenium Integrated Development Environment (IDE)
Selenium Remote Control (RC)
WebDriver
Selenium Grid
Who developed Selenium?
Since Selenium is a collection of different tools, it had different developers as
well. Below are the key persons who made notable contributions to the Selenium
Project .Primarily, Selenium was created by Jason Huggins in 2004. An engineer at
Thought Works, he was working on a web application that required frequent testing.
Having realized that the repetitious manual testing of their application was becoming
more and more inefficient, he created a JavaScript program that would automatically
control the browser's actions.
He named this program as the "JavaScriptTestRunner." Seeing potential in this
idea to help automate other web applications, he made JavaScriptRunner open-source
which was later re-named as Selenium Core.
Selenium Integrated Development Environment (IDE) is the simplest framework in the
Selenium suite and is the easiest one to learn. It is a Firefox plug in that you can install as
easily as you can with other plugins. However, because of its simplicity, Selenium IDE
should only be used as a prototyping tool. If you want to create more advanced test cases,
you will need to use either Selenium RC or WebDriver.
Selenium IDE
Selenium IDE (Integrated Development Environment) is the simplest tool in the
Selenium Suite. It is a Firefox/Chrome add-on that creates tests very quickly through its
record-and-playback functionality. Because of its simplicity, Selenium IDE should only
be used as a prototyping tool - not an overall solution for developing and maintaining
complex test suites.
Selenium IDE supports autocomplete mode when creating tests. This feature serves two
purposes:
It helps the tester to enter commands more quickly.
It restricts the user from entering invalid commands.
Task:
Perform the Tutorial from JavatPoint.com by accessing the link below:
o https://www.javatpoint.com/selenium-ide
To submit:
Perform one testing case using any registration form that you can found on the
Web.
Submit the test case file in Blackboard.