2. The testing phase of the (SDLC)
is where we focus on
investigation and discovery.
During the testing phase,
developers find out whether
their code and programming
work according to customer
requirements.
Testin
g
4. Manual testing of web apps involves:
⢠Loading all the transactions
⢠Downloading those transactions
⢠Creating pass/fail reports for each of
them
⢠Validating the form
⢠Taking screenshots for each validation
5. AUTOMATION TESTING
Faster Execution
More Accurate
01
02 05
04 Support Regression
Testing
Frequent Executions
Lesser investment in
human Resources
06 Supports Lights out
Execution
03
6. 01
It is an open source tool which is used for
automating the tests carried out on web
browsers.
02
It provides a single interface that lets us write
test scripts in programming languages like
Ruby, Java, NodeJS, PHP, Perl, Python, and C#,
among others.
03
It also supports parallel test execution which
reduces time and increases the efficiency of
tests.
04
It supports multiple browsers like Google
Chrome, Safari, Firefox, Opera, etc. One can
launch any browser by just giving simple
commands.
05 06
Selenium is not just one tool or API but it
composes many tools.
ABOUT SELENIUM
Selenium was introduced by Jason
Huggins in 2004
7. It records the usersâ
actions in the browser
for us, using existing
Selenium commands,
with parameters
defined by the context
of that element.
IDE
WebDriver uses
browser automation
APIs provided by
browser vendors to
control the browser
and run tests.
RC
Selenium Remote
Control(RC) is
used to write web
application tests
in different PL.
WebDriver
Selenium Grid allows
us to run test cases
in different
machines across
different platforms.
Grid
SELENIUM SUITE
8.
9. ABOUT SELENIUM IDE
â˘The Selenium IDE is a
browser extension that
records and plays back a
userâs actions.
â˘Chrome, Firefox and Edge
add-on that will do simple
record-and-playback of
interactions with the
browser.
10. 01
â˘It offers an easy and simple
record and playback
features
05 â˘Walkthrough tests
02 â˘Supports Intelligent field
selection
06
â˘Save tests as HTML, Ruby,
Python, C# scripts, or any
other format
03
â˘Auto-completion of
Selenium commands 07
â˘Easy Debugging
capabilities
Features of Selenium IDE
04
â˘Supports automatic
assertion of title for all
pages 08
â˘Save tests as HTML, Ruby,
Python, C# scripts, or any
other format
13. LIMITATIONS OF SELENIUM IDE
Not suitable for testing extensive
data
Connections with the database
can not be tested
01
02 05
04 Does not support capturing of
screenshots on test failures
feature available for
generating result reports
Cannot handle the dynamic part
of web-based applications
03
17. 01 Founded By Simon Stewart 02
Makes Provison to perform
action on web elements
03
It is a cross Platform Testing
Framework
04
Supports JAVA , C#, PHP,
PYTHON ,Perl ,Ruby etc
05 Programming Interface to
Run and Create Test cases
06
Supports Frameworks Like
TestNG,JUnit,Nunit
ABOUT SELENIUM WEB DRIVER
21. As a user I want go to amazon.in site and
search for Cricket Bat
1
From Amazon.in navigate to Tezpur
university Website and navigate back to
Amazon.in, Print the Title
Close The Browser
2
3
DEMO SCRIPT
22. Can't Test Mobile
Applications
Limited Image
Testing
Limited Reporting .Third
Party tools Like
TestNG are required
LIMITATIONS OF WEB DRIVER
Can only perform
Sequential
Testing Hance Grid
Is required
24. Selenium Grid:
What is it ?
⢠feature in Selenium
⢠run test cases in different machines
⢠across different platforms.
25. Selenium Grid:
When to use
?
⢠Testers should use Selenium Grid in the following
circumstances:
⏠To run tests on multiple browsers and their
versions, different devices, and operating
systems
⏠To reduce the time that a test suite takes to
complete execution
27. Selenium Grid:
What does hub do ?
⢠A Hub is a central point or a local machine that receives all
the test requests and distributes them to the right nodes.
⢠The machine which actually triggers the test case known
as Hub.
⢠There can be only one hub in a selenium grid.
⢠The machine which is containing the hub triggers the test
case, but you will see the browser being automated on
other machines.
28. Selenium Grid:
What does Node do ?
⢠Nodes are the selenium instances which will execute the
test cases that you loaded on the hub.
⢠Nodes can be launched on multiple machines with
different platforms and browsers.
31. DISADVANTAGES OF USING SELENIUM:
1) No reliable Technical Support from anybody.
2) It supports Web-based applications only.
3) Difficult to use, takes more time to create Test cases.
4) Difficult to Setup Test Environment when it compares to
Vendor Tools like UFT, RFT, SilkTest etc...
5) Limited support for Image Testing.
6) New features may not work properly.
7) No Test Tool integration for Test Management.
8) No Built-in Reporting facility.
33. KEY
TAKEAWAYS
What is TESTING ,types of Testing
1
What is SELENIUM
2
What is SELENIUM IDE and Its USE
3
4 What is SELENIUM Web Driver ,Its
Architechture
Demo Of Selenium Web Driver
1
What is SELENIUM Grid and Its
Architecture
2
Advantages and Disadvantages
of SELENIUM
3
4 SELENIUM VS OTHER TOOLS