Selenium is a Open source Software Functional Testing Tool
Introduction
The Selenium-IDE (Integrated Development Environment) is
the tool you use to develop your Selenium test cases(Test Script in HTML and
command ). It’s an user-friendly Firefox plug-in and is usually the nearly
everyone professional way to develop test cases. It also contains a context
menu that allows you to first select a UI element from the browser’s currently
displayed page and then select from a list of Selenium commands with parameters
pre-defined according to the context of the selected UI element. This is not
only a time-saver, but also an excellent way of learning Selenium script
syntax.
Installing the IDE
with Firefox, first, download the
IDE from the SeleniumHQ downloads
page
Firefox will protect you from
installing add-ons from unfamiliar locations, so you will need to click ‘Allow’
to proceed with the installation, as shown in the following screenshot.
Click here selenium IDE
Out of the many open source test automation tools
available today, there is one tool that become very popular in recent times Selenium.
Selenium is a web application test automation tool
which provides many features and a wide range of support which makes it an
instant choice for automating most of the web applications.
Selenium provides the automation
engineer the choice of running the automation scripts in a wide range of
browsers and with the language support it has, on wide range of operating
systems too.
But there are certain things the automation
engineer needs to be aware of before he jumps into understanding selenium. The
automation engineer needs to have a basic knowledge of the following things:
- HTML
- XML
- Xpath
- Document Object Model(DOM)
- JavaScript (only a basic knowledge on how events are triggered etc.)
- Any one of the following language to build a full-fledged test suite – Perl, Python, Ruby, Java, C#, PHP.
- Basic object oriented programming concepts. Once we are sure that we have the basics of the above mentioned seven points let us move on into what selenium is all about and various types of selenium.
Working with
Selenium IDE:
Tool Bar Option
The toolbar contains buttons for controlling the
execution of your test cases, including a step feature for debugging your test
cases. The right-most button, the one with the red-dot, is the record button.
Speed Control: controls
how fast your test case runs
Run All: Runs the entire
test suite when a test suite with multiple test cases is loaded.
Run:
Runs the currently selected test. When only a single test is loaded this button
and the Run All button have the same effect.
Pause/Resume: Allows
stopping and re-starting of a running test case.
.
Step:
Allows you to “step” through a test case by running it one command at a time.
Use for debugging test cases.
Apply
Rollup Rules: This advanced feature allows repetitive sequences of Selenium
commands to be grouped into a single action. Detailed documentation on rollup
rules can be found in the UI-Element Documentation on the Help menu
Record: Records the user’s
browser actions.
Test Case Pane
Your
script is displayed in the test case pane. It has two tabs, one for displaying
the command and their parameters in a readable “table” formatSelenum now supporting to test windows based applications with the help of winappDriver
No comments:
Post a Comment