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)

PDF
Types of Software Testing | Edureka
Edureka!
 
PPTX
Test Automation and Selenium
Karapet Sarkisyan
 
PDF
How to Write & Run a Test Case in Selenium | Selenium Tutorial | Selenium Tra...
Edureka!
 
PPTX
Mobile Automation with Appium
Manoj Kumar Kumar
 
PDF
Web automation using selenium.ppt
Ana Sarbescu
 
PPT
Manual testing ppt
Santosh Maranabasari
 
PPTX
Automation Testing by Selenium Web Driver
Cuelogic Technologies Pvt. Ltd.
 
PDF
Automated vs manual testing
Kanoah
 
PDF
What is Sanity Testing? Edureka
Edureka!
 
PPTX
Cypress Automation
Susantha Pathirana
 
PPT
Selenium Presentation at Engineering Colleges
Vijay Rangaiah
 
PPTX
Software testing
Madhumita Chatterjee
 
PPTX
API Test Automation Tips and Tricks
testhive
 
PPT
Basic software-testing-concepts
medsherb
 
PPT
Test Automation Framework Designs
Sauce Labs
 
PDF
What is WebElement in Selenium | Web Elements & Element Locators | Edureka
Edureka!
 
PPTX
Test automation using selenium
Cynoteck Technology Solutions Private Limited
 
PDF
Software Testing Tools | Edureka
Edureka!
 
PPT
Selenium Automation Framework
Mindfire Solutions
 
PPTX
Selenium- A Software Testing Tool
Zeba Tahseen
 
Types of Software Testing | Edureka
Edureka!
 
Test Automation and Selenium
Karapet Sarkisyan
 
How to Write & Run a Test Case in Selenium | Selenium Tutorial | Selenium Tra...
Edureka!
 
Mobile Automation with Appium
Manoj Kumar Kumar
 
Web automation using selenium.ppt
Ana Sarbescu
 
Manual testing ppt
Santosh Maranabasari
 
Automation Testing by Selenium Web Driver
Cuelogic Technologies Pvt. Ltd.
 
Automated vs manual testing
Kanoah
 
What is Sanity Testing? Edureka
Edureka!
 
Cypress Automation
Susantha Pathirana
 
Selenium Presentation at Engineering Colleges
Vijay Rangaiah
 
Software testing
Madhumita Chatterjee
 
API Test Automation Tips and Tricks
testhive
 
Basic software-testing-concepts
medsherb
 
Test Automation Framework Designs
Sauce Labs
 
What is WebElement in Selenium | Web Elements & Element Locators | Edureka
Edureka!
 
Test automation using selenium
Cynoteck Technology Solutions Private Limited
 
Software Testing Tools | Edureka
Edureka!
 
Selenium Automation Framework
Mindfire Solutions
 
Selenium- A Software Testing Tool
Zeba Tahseen
 

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

PDF
Software Testing Interview Questions & Answers | Edureka
Edureka!
 
PDF
Test Automation Interview Questions and Answers | Edureka
Edureka!
 
PDF
Top 50 Software Testing Interview Questions & Answers | Edureka
Edureka!
 
PDF
Software Testing - Online Guide
bigspire
 
DOCX
Software Testing Tools Training
QEdge Tech
 
PDF
Leveraging Open Source Automation: A Selenium WebDriver Example
TechWell
 
PPTX
Selenium training
2O7RIEOO76Vijay
 
PDF
Test Automation Frameworks Using Selenium | Edureka
Edureka!
 
DOCX
Sqa unit1
kannaki
 
PPTX
Software Testing - A sneak preview By Srikanth
Srikanth Krishnamoorthy
 
PDF
Software testing training course centre in chandigarh
AnkitaSingroha
 
PPTX
Learn sqa from expert class 2reviewed
Sharmin Khan Urmi
 
PDF
B1015 demo on selenium testing tools
conline training
 
PPTX
Software testing ppt
Heritage Institute Of Tech,India
 
PPTX
Software testing
Sengu Msc
 
PPTX
Software testing
Sengu Msc
 
PPTX
Software testing
KarnatiChandramoules
 
PDF
Essential Test Management and Planning
TechWell
 
PDF
Best software testing course
bestonlinecoursescoupon
 
Software Testing Interview Questions & Answers | Edureka
Edureka!
 
Test Automation Interview Questions and Answers | Edureka
Edureka!
 
Top 50 Software Testing Interview Questions & Answers | Edureka
Edureka!
 
Software Testing - Online Guide
bigspire
 
Software Testing Tools Training
QEdge Tech
 
Leveraging Open Source Automation: A Selenium WebDriver Example
TechWell
 
Selenium training
2O7RIEOO76Vijay
 
Test Automation Frameworks Using Selenium | Edureka
Edureka!
 
Sqa unit1
kannaki
 
Software Testing - A sneak preview By Srikanth
Srikanth Krishnamoorthy
 
Software testing training course centre in chandigarh
AnkitaSingroha
 
Learn sqa from expert class 2reviewed
Sharmin Khan Urmi
 
B1015 demo on selenium testing tools
conline training
 
Software testing ppt
Heritage Institute Of Tech,India
 
Software testing
Sengu Msc
 
Software testing
Sengu Msc
 
Software testing
KarnatiChandramoules
 
Essential Test Management and Planning
TechWell
 
Best software testing course
bestonlinecoursescoupon
 
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
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PPTX
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 

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