SlideShare a Scribd company logo
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Topics to be covered
Software Testing Overview
SDLC & Its Models
Principles of Testing
Software Testing Life Cycle
Software Testing Types
Software Testing Methods
Software Testing Levels
Software Testing Documentation
Defect Management Process
Automation Testing
Selenium
Locators in Selenium
Software
Testing
Software testing
overview
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Introduction To Software Testing
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Introduction To Software Testing
Software testing is defined as an activity to
check whether the actual results match the
expected results and to ensure that
the software system is Defect free.
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Why Testing is Important?
Airplane Crash Bankrupt
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Why Software Testing is Important?
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Why Software Testing is Important?
Bugs in software or application can
likely lead to loss of monetary
value, jobs or even loss of a
human.
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Who does Testing?
Software Testers
Project Developers Project Lead
Team Manager End Users
SDLC & Its models
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Software Development Life-Cycle
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Waterfall Model
Requirement
Analysis
Analysis
Design
Code
Testing
Maintenance
The waterfall model is a project management methodology based on a sequential design process
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Boehm Spiral Model
Plan Risk Analysis
Evaluate Engineering
Requirements
Gathering
Risk Reduction
Prototyping
Coding &
Testing
Customer
Evaluation
This Spiral model is a combination
of iterative development
process model and sequential
linear development model.
Principles of
testing
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Principles of Software Testing
Detection of Bugs
Effectiveness Testing
Early Testing
Defect in Clustering
Testing is Context-Dependent
Error free testing is a myth
100% quality
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Verification and Validation Model
User
Requirements
Software
Specification
Low level Design
High Level Design
Coding
Acceptance
Testing
System Testing
Unit Testing
Integration
Testing
Unit Test Plan
Integration Test Plan
System Test Plan
Acceptance Test Plan
Software testing
life cycle
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Software Testing Life Cycle
Requirements Analysis1
Test Planning2
Test Case Development3
Environment Setup4
Test Execution5
Test Cycle Closure6
Software Testing Life Cycle (STLC) identifies
what test activities to carry out and when to
accomplish those test activities.
Software testing
Types
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Types of Software Testing
Testing of software is done manually, without
the use of automated tool or applications
available in the market.
Automation testing is an Automatic technique
where the tester writes scripts by own and uses
suitable software to test the software.
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Challenges with Manual Testing
Software testing
methods
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Black-Box Testing
Black – Box
Testing
TEST CASE - INPUT TEST CASE - OUTPUT
This testing is also known as Behavioral Testing where the software tests the internal structural, design and
implementation and UI and UX of the product being tested which is not already known to the tester.
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
White-Box Testing
TEST CASE - INPUT TEST CASE - OUTPUT
This type of testing technique deals with testing the internal structure, logic design and implementation of
different modules.
White – Box
Testing
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Grey-Box Testing
TEST CASE - INPUT TEST CASE - OUTPUT
In this software testing technique, it combines the concept of both Black box as well as White box testing. In Grey
box testing, internal implementation details is partly known to the tester.
Grey – Box
Testing
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Functional & Non Functional Testing
Functional
Operation
Non-
Functional
▪ Performed before non-functional testing ▪ Performed after functional testing
▪ Describes what the product does ▪ Describes how the product works
▪ Unit Testing, Acceptance testing, Smoke
testing, Integration testing, regression
testing
▪ Performance Testing, Scalability,
Volume Testing, Load Testing, Stress
testing
▪ Based on customer requirements ▪ Based on customers expectations
Software testing
Levels
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Software Testing Levels
Unit Testing
Integration Testing
System Testing
Acceptance Testing
Software testing
documentation
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Documentation Artifacts
Test Plan
1 2 3 4
Test Scenario Test Case Traceability Matrix
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Documentation Artifacts
Test Plan
3
4
Test Scenario
Test Case
Traceability Matrix
2
1
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Documentation Artifacts
Provides the outline strategy which will be implemented for testing the
application.
Test Plan
3
4
Test Scenario
Test Case
Traceability Matrix
2
1
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Documentation Artifacts
Test Plan1
2
3
4
Test Scenario
Test Case
Traceability Matrix
It can be considered as a single line statement which notifies the area in which
your application will experiment.
Provides the outline strategy which will be implemented for testing the
application.
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Documentation Artifacts
Test Plan1
2
3
4
Test Scenario
Test Case
Traceability Matrix
Test cases engage in collected steps and conditions with inputs which can be
implemented at the time of testing
It can be considered as a single line statement which notifies the area in which
your application will experiment.
Provides the outline strategy which will be implemented for testing the
application.
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Documentation Artifacts
Test Plan1
2
3
4
Test Scenario
Test Case
Traceability Matrix Contains a table which sketches the requirements when your product's SDLC
model is being created.
Test cases engage in collected steps and conditions with inputs which can be
implemented at the time of testing
It can be considered as a single line statement which notifies the area in which
your application will experiment.
Provides the outline strategy which will be implemented for testing the
application.
Defect
management
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Defect Management Process
Defect Detecting 01
Defect management can be defined as a process of detecting bugs and fixing them. It is necessary to say that
bugs occur constantly in the process of software development
Formulation of Bug reports 02
Bug Fixing 03
Bug list Creation 04
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Defect/Bug Life Cycle
Active
Assign
Closed
Deferred
Rejected
New
Reopened
Verified
Test
Automation
Testing
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
What is Automation Testing?
Automation testing is an Automatic
technique where the tester writes
scripts by own and uses suitable
software to test the software. It is
basically an automation process of a
manual process.
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Automation Testing Tools
Selenium
1
TestingWhiz
2
HPE Unified Functional Testing
3
TestCompete
4
Ranorex
5
Sahi
6
Waitir
7
Tosca TestSuite
8
Telerik TestStudio
9
WaitiN
10
Selenium
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
What is Selenium?
Selenium is an open source tool which is used for automating the tests carried out on web browsers
(Web applications are tested using any web browser).
Selenium is Open
Source
Supports Cross
Browsing
Automates web
applications
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Why Selenium IDE?
Test Scripts OS Platform Browsers
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
How To Locate Web Elements And Perform Action?
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
How to locate web elements and perform action?
Selenium
locators
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Selenium Locators
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Selenium Locators
There is a diverse range of web elements like textbox, id,
radio button etc., and identifying these elements is a tricky
approach. Selenium uses locators to interact with the web
elements on the webpage.
32 41
ID
Name
Link Text Partial link text
CSS Selector
Types of Locators
5 6
Xpath
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Types of Locators
CSS Selector
Link Text
Partial link text
ID
Name
Xpath
The Id strategy looks for an element in the page having an id attribute
corresponding to the specified pattern. <label id="my_id" /> will
be matched by a locator like id=my_id or just my_id
Target Format: id=id of the element
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Types of Locators
CSS Selector
Link Text
Partial link text
ID
Name
Xpath
Locating elements by name are very similar to locating by ID, except
that we use the "name=" prefix instead.
Target Format: name=name of the element
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Types of Locators
CSS Selector
Link Text
Partial link text
ID
Name
Xpath
This type of locator applies only to hyperlink texts. We access the link by
prefixing our target with "link=" and then followed by the hyperlink
text.
Target Format: link=link_text
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Types of Locators
CSS Selector
Link Text
Partial link text
ID
Name
Xpath
Locating by CSS Selector using an HTML tag and a class name is similar
to using a tag and ID, but in this case, a dot (.) is used instead of a hash
sign.
Target Format:css=tag.class[attribute=value]
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Types of Locators
CSS Selector
Link Text
Partial link text
ID
Name
Xpath
In some situations, we may need to find links by a portion of the text in a
Link Text element. it contains. In such situations, we use Partial Link Text
to locate elements.
Syntax:
findElement(By.partialLinkText("partialLinkText"));
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Types of Locators
CSS Selector
Link Text
Partial link text
ID
Name
Xpath
XPath is designed to allow the navigation of XML documents, with the
purpose of selecting individual elements, attributes, or some other part
of an XML document for specific processing.
Xpath=//tagname[@Attribute=‘Value’]
SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
Selenium Locators Best Practices
Robust locators are simple and
small as possible
Robust locators still work after you
change the properties of UI Element
They work after you change
properties of UI Element around
the element you target
Software Testing Tutorial For Beginners | Manual & Automation Testing | Selenium Training | Edureka

More Related Content

What's hot (20)

PPTX
Test Automation and Selenium
Karapet Sarkisyan
 
PDF
Test Automation Using Python | Edureka
Edureka!
 
PPTX
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Simplilearn
 
PDF
What is Software Testing | Edureka
Edureka!
 
PDF
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Edureka!
 
PPT
Test automation process
Bharathi Krishnamurthi
 
PPSX
Manual testing
vigneshasromio
 
PPTX
Software testing.ppt
Komal Garg
 
PPTX
Automation Testing
Sun Technlogies
 
PPTX
Types of testing
Sonam Agarwal
 
ODP
Selenium ppt
Anirudh Raja
 
PPTX
Chapter 1 - Fundamentals of Testing
Neeraj Kumar Singh
 
PPT
Test Automation Best Practices (with SOA test approach)
Leonard Fingerman
 
PDF
How To Write A Test Case In Software Testing | Edureka
Edureka!
 
PPT
Automation testing
Biswajit Pratihari
 
PPT
Basic software-testing-concepts
medsherb
 
PPTX
Stlc ppt
Bhavik Modi
 
PPTX
Software Testing or Quality Assurance
Trimantra Software Solutions
 
PPTX
Intro to Manual Testing
Ayah Soufan
 
PDF
Automation Testing using Selenium
Naresh Chintalcheru
 
Test Automation and Selenium
Karapet Sarkisyan
 
Test Automation Using Python | Edureka
Edureka!
 
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Simplilearn
 
What is Software Testing | Edureka
Edureka!
 
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Edureka!
 
Test automation process
Bharathi Krishnamurthi
 
Manual testing
vigneshasromio
 
Software testing.ppt
Komal Garg
 
Automation Testing
Sun Technlogies
 
Types of testing
Sonam Agarwal
 
Selenium ppt
Anirudh Raja
 
Chapter 1 - Fundamentals of Testing
Neeraj Kumar Singh
 
Test Automation Best Practices (with SOA test approach)
Leonard Fingerman
 
How To Write A Test Case In Software Testing | Edureka
Edureka!
 
Automation testing
Biswajit Pratihari
 
Basic software-testing-concepts
medsherb
 
Stlc ppt
Bhavik Modi
 
Software Testing or Quality Assurance
Trimantra Software Solutions
 
Intro to Manual Testing
Ayah Soufan
 
Automation Testing using Selenium
Naresh Chintalcheru
 

Similar to Software Testing Tutorial For Beginners | Manual & Automation Testing | Selenium Training | Edureka (20)

PPTX
Selenium training
2O7RIEOO76Vijay
 
PDF
Selenium Training - Eduxfactor-converted.pdf
basanthbliss99
 
PPTX
Selenium Training - Eduxfactor.pptx
basanthbliss99
 
PPTX
Selenium Training - Eduxfactor.pptx
Akhilkumar590509
 
PDF
Selenium Training - Eduxfactor-converted.pdf
Akhilkumar590509
 
PDF
Best online Selenium Training institute in Hyderabad
Akhilkumar590509
 
PPTX
Selenium Training - Eduxfactor.pptx
Akhilkumar590509
 
PDF
Software Testing
youkesh
 
PPTX
Software Testing
youkesh
 
PDF
software testing training institute in hyderabad
KhalidQureshi31
 
PDF
best selenium training institute in Hyderabad
SaiprasadVella
 
PPTX
Selenium training eduxfactor
KapilSai3
 
PDF
Selenium training
sarana20
 
PPTX
Best selenium training institute in hyderabad
VamsiNihal
 
PDF
Best selenium training institute in hyderabad
VamsiNihal
 
PDF
selenium with python training
SaiprasadVella
 
PPTX
best selenium training institute in hyderabad
DIGITALSAI1
 
PPTX
selenium with python training
SaiprasadVella
 
PDF
best selenium training institute in hyderabad
DIGITALSAI1
 
PPTX
Selenium training eduxfactor
SayyedYusufali
 
Selenium training
2O7RIEOO76Vijay
 
Selenium Training - Eduxfactor-converted.pdf
basanthbliss99
 
Selenium Training - Eduxfactor.pptx
basanthbliss99
 
Selenium Training - Eduxfactor.pptx
Akhilkumar590509
 
Selenium Training - Eduxfactor-converted.pdf
Akhilkumar590509
 
Best online Selenium Training institute in Hyderabad
Akhilkumar590509
 
Selenium Training - Eduxfactor.pptx
Akhilkumar590509
 
Software Testing
youkesh
 
Software Testing
youkesh
 
software testing training institute in hyderabad
KhalidQureshi31
 
best selenium training institute in Hyderabad
SaiprasadVella
 
Selenium training eduxfactor
KapilSai3
 
Selenium training
sarana20
 
Best selenium training institute in hyderabad
VamsiNihal
 
Best selenium training institute in hyderabad
VamsiNihal
 
selenium with python training
SaiprasadVella
 
best selenium training institute in hyderabad
DIGITALSAI1
 
selenium with python training
SaiprasadVella
 
best selenium training institute in hyderabad
DIGITALSAI1
 
Selenium training eduxfactor
SayyedYusufali
 
Ad

More from Edureka! (20)

PDF
What to learn during the 21 days Lockdown | Edureka
Edureka!
 
PDF
Top 10 Dying Programming Languages in 2020 | Edureka
Edureka!
 
PDF
Top 5 Trending Business Intelligence Tools | Edureka
Edureka!
 
PDF
Tableau Tutorial for Data Science | Edureka
Edureka!
 
PDF
Python Programming Tutorial | Edureka
Edureka!
 
PDF
Top 5 PMP Certifications | Edureka
Edureka!
 
PDF
Top Maven Interview Questions in 2020 | Edureka
Edureka!
 
PDF
Linux Mint Tutorial | Edureka
Edureka!
 
PDF
How to Deploy Java Web App in AWS| Edureka
Edureka!
 
PDF
Importance of Digital Marketing | Edureka
Edureka!
 
PDF
RPA in 2020 | Edureka
Edureka!
 
PDF
Email Notifications in Jenkins | Edureka
Edureka!
 
PDF
EA Algorithm in Machine Learning | Edureka
Edureka!
 
PDF
Cognitive AI Tutorial | Edureka
Edureka!
 
PDF
AWS Cloud Practitioner Tutorial | Edureka
Edureka!
 
PDF
Blue Prism Top Interview Questions | Edureka
Edureka!
 
PDF
Big Data on AWS Tutorial | Edureka
Edureka!
 
PDF
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Edureka!
 
PDF
Kubernetes Installation on Ubuntu | Edureka
Edureka!
 
PDF
Introduction to DevOps | Edureka
Edureka!
 
What to learn during the 21 days Lockdown | Edureka
Edureka!
 
Top 10 Dying Programming Languages in 2020 | Edureka
Edureka!
 
Top 5 Trending Business Intelligence Tools | Edureka
Edureka!
 
Tableau Tutorial for Data Science | Edureka
Edureka!
 
Python Programming Tutorial | Edureka
Edureka!
 
Top 5 PMP Certifications | Edureka
Edureka!
 
Top Maven Interview Questions in 2020 | Edureka
Edureka!
 
Linux Mint Tutorial | Edureka
Edureka!
 
How to Deploy Java Web App in AWS| Edureka
Edureka!
 
Importance of Digital Marketing | Edureka
Edureka!
 
RPA in 2020 | Edureka
Edureka!
 
Email Notifications in Jenkins | Edureka
Edureka!
 
EA Algorithm in Machine Learning | Edureka
Edureka!
 
Cognitive AI Tutorial | Edureka
Edureka!
 
AWS Cloud Practitioner Tutorial | Edureka
Edureka!
 
Blue Prism Top Interview Questions | Edureka
Edureka!
 
Big Data on AWS Tutorial | Edureka
Edureka!
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Edureka!
 
Kubernetes Installation on Ubuntu | Edureka
Edureka!
 
Introduction to DevOps | Edureka
Edureka!
 
Ad

Recently uploaded (20)

PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
Digital Circuits, important subject in CS
contactparinay1
 
PPTX
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Digital Circuits, important subject in CS
contactparinay1
 
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 

Software Testing Tutorial For Beginners | Manual & Automation Testing | Selenium Training | Edureka

  • 1. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver
  • 2. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Topics to be covered Software Testing Overview SDLC & Its Models Principles of Testing Software Testing Life Cycle Software Testing Types Software Testing Methods Software Testing Levels Software Testing Documentation Defect Management Process Automation Testing Selenium Locators in Selenium Software Testing
  • 4. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Introduction To Software Testing
  • 5. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Introduction To Software Testing Software testing is defined as an activity to check whether the actual results match the expected results and to ensure that the software system is Defect free.
  • 6. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Why Testing is Important? Airplane Crash Bankrupt
  • 7. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Why Software Testing is Important?
  • 8. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Why Software Testing is Important? Bugs in software or application can likely lead to loss of monetary value, jobs or even loss of a human.
  • 9. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Who does Testing? Software Testers Project Developers Project Lead Team Manager End Users
  • 10. SDLC & Its models
  • 11. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Software Development Life-Cycle
  • 12. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Waterfall Model Requirement Analysis Analysis Design Code Testing Maintenance The waterfall model is a project management methodology based on a sequential design process
  • 13. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Boehm Spiral Model Plan Risk Analysis Evaluate Engineering Requirements Gathering Risk Reduction Prototyping Coding & Testing Customer Evaluation This Spiral model is a combination of iterative development process model and sequential linear development model.
  • 15. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Principles of Software Testing Detection of Bugs Effectiveness Testing Early Testing Defect in Clustering Testing is Context-Dependent Error free testing is a myth 100% quality
  • 16. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Verification and Validation Model User Requirements Software Specification Low level Design High Level Design Coding Acceptance Testing System Testing Unit Testing Integration Testing Unit Test Plan Integration Test Plan System Test Plan Acceptance Test Plan
  • 18. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Software Testing Life Cycle Requirements Analysis1 Test Planning2 Test Case Development3 Environment Setup4 Test Execution5 Test Cycle Closure6 Software Testing Life Cycle (STLC) identifies what test activities to carry out and when to accomplish those test activities.
  • 20. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Types of Software Testing Testing of software is done manually, without the use of automated tool or applications available in the market. Automation testing is an Automatic technique where the tester writes scripts by own and uses suitable software to test the software.
  • 21. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Challenges with Manual Testing
  • 23. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Black-Box Testing Black – Box Testing TEST CASE - INPUT TEST CASE - OUTPUT This testing is also known as Behavioral Testing where the software tests the internal structural, design and implementation and UI and UX of the product being tested which is not already known to the tester.
  • 24. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver White-Box Testing TEST CASE - INPUT TEST CASE - OUTPUT This type of testing technique deals with testing the internal structure, logic design and implementation of different modules. White – Box Testing
  • 25. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Grey-Box Testing TEST CASE - INPUT TEST CASE - OUTPUT In this software testing technique, it combines the concept of both Black box as well as White box testing. In Grey box testing, internal implementation details is partly known to the tester. Grey – Box Testing
  • 26. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Functional & Non Functional Testing Functional Operation Non- Functional ▪ Performed before non-functional testing ▪ Performed after functional testing ▪ Describes what the product does ▪ Describes how the product works ▪ Unit Testing, Acceptance testing, Smoke testing, Integration testing, regression testing ▪ Performance Testing, Scalability, Volume Testing, Load Testing, Stress testing ▪ Based on customer requirements ▪ Based on customers expectations
  • 28. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Software Testing Levels Unit Testing Integration Testing System Testing Acceptance Testing
  • 30. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Documentation Artifacts Test Plan 1 2 3 4 Test Scenario Test Case Traceability Matrix
  • 31. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Documentation Artifacts Test Plan 3 4 Test Scenario Test Case Traceability Matrix 2 1
  • 32. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Documentation Artifacts Provides the outline strategy which will be implemented for testing the application. Test Plan 3 4 Test Scenario Test Case Traceability Matrix 2 1
  • 33. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Documentation Artifacts Test Plan1 2 3 4 Test Scenario Test Case Traceability Matrix It can be considered as a single line statement which notifies the area in which your application will experiment. Provides the outline strategy which will be implemented for testing the application.
  • 34. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Documentation Artifacts Test Plan1 2 3 4 Test Scenario Test Case Traceability Matrix Test cases engage in collected steps and conditions with inputs which can be implemented at the time of testing It can be considered as a single line statement which notifies the area in which your application will experiment. Provides the outline strategy which will be implemented for testing the application.
  • 35. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Documentation Artifacts Test Plan1 2 3 4 Test Scenario Test Case Traceability Matrix Contains a table which sketches the requirements when your product's SDLC model is being created. Test cases engage in collected steps and conditions with inputs which can be implemented at the time of testing It can be considered as a single line statement which notifies the area in which your application will experiment. Provides the outline strategy which will be implemented for testing the application.
  • 37. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Defect Management Process Defect Detecting 01 Defect management can be defined as a process of detecting bugs and fixing them. It is necessary to say that bugs occur constantly in the process of software development Formulation of Bug reports 02 Bug Fixing 03 Bug list Creation 04
  • 38. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Defect/Bug Life Cycle Active Assign Closed Deferred Rejected New Reopened Verified Test
  • 40. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver What is Automation Testing? Automation testing is an Automatic technique where the tester writes scripts by own and uses suitable software to test the software. It is basically an automation process of a manual process.
  • 41. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Automation Testing Tools Selenium 1 TestingWhiz 2 HPE Unified Functional Testing 3 TestCompete 4 Ranorex 5 Sahi 6 Waitir 7 Tosca TestSuite 8 Telerik TestStudio 9 WaitiN 10
  • 43. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver What is Selenium? Selenium is an open source tool which is used for automating the tests carried out on web browsers (Web applications are tested using any web browser). Selenium is Open Source Supports Cross Browsing Automates web applications
  • 44. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Why Selenium IDE? Test Scripts OS Platform Browsers
  • 45. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver How To Locate Web Elements And Perform Action?
  • 46. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver How to locate web elements and perform action?
  • 48. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Selenium Locators
  • 49. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Selenium Locators There is a diverse range of web elements like textbox, id, radio button etc., and identifying these elements is a tricky approach. Selenium uses locators to interact with the web elements on the webpage.
  • 50. 32 41 ID Name Link Text Partial link text CSS Selector Types of Locators 5 6 Xpath
  • 51. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Types of Locators CSS Selector Link Text Partial link text ID Name Xpath The Id strategy looks for an element in the page having an id attribute corresponding to the specified pattern. <label id="my_id" /> will be matched by a locator like id=my_id or just my_id Target Format: id=id of the element
  • 52. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Types of Locators CSS Selector Link Text Partial link text ID Name Xpath Locating elements by name are very similar to locating by ID, except that we use the "name=" prefix instead. Target Format: name=name of the element
  • 53. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Types of Locators CSS Selector Link Text Partial link text ID Name Xpath This type of locator applies only to hyperlink texts. We access the link by prefixing our target with "link=" and then followed by the hyperlink text. Target Format: link=link_text
  • 54. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Types of Locators CSS Selector Link Text Partial link text ID Name Xpath Locating by CSS Selector using an HTML tag and a class name is similar to using a tag and ID, but in this case, a dot (.) is used instead of a hash sign. Target Format:css=tag.class[attribute=value]
  • 55. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Types of Locators CSS Selector Link Text Partial link text ID Name Xpath In some situations, we may need to find links by a portion of the text in a Link Text element. it contains. In such situations, we use Partial Link Text to locate elements. Syntax: findElement(By.partialLinkText("partialLinkText"));
  • 56. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Types of Locators CSS Selector Link Text Partial link text ID Name Xpath XPath is designed to allow the navigation of XML documents, with the purpose of selecting individual elements, attributes, or some other part of an XML document for specific processing. Xpath=//tagname[@Attribute=‘Value’]
  • 57. SELENIUM CERTIFICATION TRAINING www.edureka.co/testing-with-selenium-webdriver Selenium Locators Best Practices Robust locators are simple and small as possible Robust locators still work after you change the properties of UI Element They work after you change properties of UI Element around the element you target