What is Test Automation :
Test automation
is the use of software to set test preconditions. / To control the execution
of tests / To compare the actual outcomes to predicted outcomes / To
report the Execution Status.
How to define Selenium Software ?
·
Selenium is a open source software and a portable software
testing framework for web
applications/
software testers.
·
Selenium
provides a rich set of testing functions specifically geared to the needs of
testing of a web application.
·
Supports
Cross Browser Testing.
·
Inbuilt
reporting mechanism.
·
Selenium is basically a testing tool that
automates browsers and web applications.
·
A working knowledge of programming
language is required to get advantage from Selenium tool.
·
The major componenets included in
it are as follows :
·
SeleniumIDE- Recording/Creating and Enhancing scripts
·
Selenium client API - Cross browser
testing
·
Selenium Remote Control - Executing
scripts
·
Selenium WebDriver
·
Selenium Grid - Cross
platform testing
Advantages of learning Selenium tool
:
1.
If you are looking for a career in
testing industry then selenium will be the best and a thriving option.
2.
User can implement more things in less
time and thus can offer their services to more clients just by learning how to
automate testing through Selenium.
3.
Selenium allows users to write test scripts using any
programming language. Hence, test scripts can be written while availing the
benefits of tester’s knowledge and technical ability.
4.
Testers can use a variety of tools to develop reports, construct
systems and make scripts.
5.
Testers can write the test script once by using selenium tool,
and run it on different browsers to check the web application. Using this
feature the developers can test complex web application without increasing the
test cycles.
6.
The knowledge of checking the working of application across
different browser versions can be gained by Selenium.
7. Users
have options to use Selenium for wrapping test scripts in other test
frameworks. Selenium can be integrated with any framework of user’s choice.
8.
Hudson and QMetry are the widely used tools and Selenium can
be integrated with these tools also. Hence, the testers can integrate the
testing tools with the existing solutions and suite of tools.
9.
The simple and easy integration process in Selenium does not
require the users to invest additionally in commercial tools.
Installation
of Selenium IDE tool
When you select Selenium IDE from
Firefox tool menu, it runs and shows below screen :
Selenium Options allow you to
Ø Set The Text Encoding Format
Ø Set the Default Page Time Out
Ø Set The Base URL recording option
Ø Add Automatic Page Title Assertions
Market
Trend :
·
Selenium stands first in the
software market because of the following features:
·
Selenium has become a most versatile
automation tool in market as most of the software developed is browser based.
·
Simple and powerful document object
model (DOM) testing, can be used for
Continuous integration with agile projects.
·
Has great adjustability and
flexibility, additionally with its tight integration with the browser unmatched
by available proprietary tools.
·
Supports multiple browsers such as
Internet Explorer, Fire fox, etc on
Windows, Mac OS X and Linux.
·
Wires Object Oriented Programming
languages like JAVA, Ruby, .NET, PHPetc.
What is good about Selenium?
•
Selenium tool reduces the test cycles effectively and
to a large extent.
•
Selenium RC permits amalgamation with JUnit and CI.
•
The testers need not to install other commercial tools,
once they learn and install Selenium.
•
By using Selenium tool, users can wrap the test
scripts and can integrate it using any framework based on their choice.
•
By use of Selenium tool the users can make Web
application a flawless experience.
What is bad about Selenium?
•
Special expertise in needed to write the test scripts
using Selenium tool. Users need assistance and technical support while using Selenium.
•
So additional time is required to solve the issues
while using Selenium tool.
•
UI is brittle, tests depending on the UI break . Data-backed
tests are not easily repeatable (integrate with DB test engines)