Introduction to Automation Testing
Introduction to Selenium
Selenium is an open-source and a portable automated software
testing tool for testing web applications.
Automated test case using automaton tool.
Tester write the script & Run the test script either on demand
or schedule
Automation tester writer of Automation test script to provide
the input to application and verify
the application behavior as per the client requirement by using
Automation tool
History and various versions of selenium:-
Jonson Huggins in 2004----- created own java script Through
works.
2005 --selenium Remote control (RC) -Raulkammiant
(Through work)
2006-- siron stework -selenium WebDriver .
2006-- shinka kasatani selenium ID E (Record & play back
tool)
2008-- phillipe (selenium grid)
2009--Google chrome selenium 2.0
Advantages of using Selenium over other tools:
Automation testing is faster in execution
It is cheaper compared to manual testing in the long run
Automated testing is more reliable
Automated testing is more powerful and versatile
It is mostly used for regression testing
It is reusable because the automation process can be recorded
Does not require human intervention. Test scripts can be run
unattended
It helps to increase the test coverage
Some of the popular automation testing tools
1. HP QTP(Quick Test Professional)/UFT(Unified Functional
Testing)
2. Selenium
3. LoadRunner
4. IBM Rational Functional Tester
5. SilkTest
6. TestComplete
7. WinRunner
8. WATIR
Disadvantages of Automated Testing:
It is recommended only for stable products
Automation testing is expensive initially
Most of the automation tools are expensive
It has some limitations such as handling captcha, getting visual
aspects of UI such as fonts, color, sizes etc.,
Huge maintenance in case of repeated changes in the requirements
Selenium components
Selenium Components
o Selenium RC:-
No direct commniunction between selenium command
& Application .It is a mediator between selenium
command and web Applications
o Selenium WebDriver:-
No Mediator present here direct communication
between selenium command Application
o Selenium Grid:-
Selenium Grid is a tool which is used together with
Selenium RC. It is used to run tests on different machines
against different browsers in parallel. This implies _
running multiple tests at the same time against different
machines running different browsers and operating
systems.
Load web driver:-