SlideShare a Scribd company logo
1 of 58
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

Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation TestingArchana Krushnan
 
Software testing life cycle
Software testing life cycleSoftware testing life cycle
Software testing life cycleGaruda Trainings
 
Automated Testing vs Manual Testing
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual TestingDirecti Group
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1Raghu Kiran
 
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | EdurekaSoftware Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | EdurekaEdureka!
 
Automation testing & Unit testing
Automation testing & Unit testingAutomation testing & Unit testing
Automation testing & Unit testingKapil Rajpurohit
 
Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesVijay Rangaiah
 
Software Testing
Software TestingSoftware Testing
Software TestingSengu Msc
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with seleniumTzirla Rozental
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation TestingArchana Krushnan
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-conceptsmedsherb
 
Non Functional Testing
Non Functional TestingNon Functional Testing
Non Functional TestingNishant Worah
 
Latest Manual Testing Interview Questions and Answers 2015 - H2kinfosys
Latest Manual Testing Interview Questions and Answers 2015 - H2kinfosys Latest Manual Testing Interview Questions and Answers 2015 - H2kinfosys
Latest Manual Testing Interview Questions and Answers 2015 - H2kinfosys Computer Trainings Online
 

What's hot (20)

Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
 
Software testing life cycle
Software testing life cycleSoftware testing life cycle
Software testing life cycle
 
Automated Testing vs Manual Testing
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual Testing
 
Introduction to Selenium Web Driver
Introduction to Selenium Web DriverIntroduction to Selenium Web Driver
Introduction to Selenium Web Driver
 
Automation testing
Automation testingAutomation testing
Automation testing
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
 
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | EdurekaSoftware Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
 
Introduction & Manual Testing
Introduction & Manual TestingIntroduction & Manual Testing
Introduction & Manual Testing
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Automation testing & Unit testing
Automation testing & Unit testingAutomation testing & Unit testing
Automation testing & Unit testing
 
Software test life cycle
Software test life cycleSoftware test life cycle
Software test life cycle
 
Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering Colleges
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with selenium
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
 
Non Functional Testing
Non Functional TestingNon Functional Testing
Non Functional Testing
 
Introduction to Agile Testing
Introduction to Agile TestingIntroduction to Agile Testing
Introduction to Agile Testing
 
Latest Manual Testing Interview Questions and Answers 2015 - H2kinfosys
Latest Manual Testing Interview Questions and Answers 2015 - H2kinfosys Latest Manual Testing Interview Questions and Answers 2015 - H2kinfosys
Latest Manual Testing Interview Questions and Answers 2015 - H2kinfosys
 

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

Software Testing Interview Questions & Answers | Edureka
Software Testing Interview Questions & Answers | EdurekaSoftware Testing Interview Questions & Answers | Edureka
Software Testing Interview Questions & Answers | EdurekaEdureka!
 
Test Automation Interview Questions and Answers | Edureka
Test Automation Interview Questions and Answers | EdurekaTest Automation Interview Questions and Answers | Edureka
Test Automation Interview Questions and Answers | EdurekaEdureka!
 
Top 50 Software Testing Interview Questions & Answers | Edureka
Top 50 Software Testing Interview Questions & Answers | EdurekaTop 50 Software Testing Interview Questions & Answers | Edureka
Top 50 Software Testing Interview Questions & Answers | EdurekaEdureka!
 
Software Testing - Online Guide
Software Testing - Online GuideSoftware Testing - Online Guide
Software Testing - Online Guidebigspire
 
Software Testing Tools Training
Software Testing Tools TrainingSoftware Testing Tools Training
Software Testing Tools TrainingQEdge Tech
 
Leveraging Open Source Automation: A Selenium WebDriver Example
Leveraging Open Source Automation: A Selenium WebDriver ExampleLeveraging Open Source Automation: A Selenium WebDriver Example
Leveraging Open Source Automation: A Selenium WebDriver ExampleTechWell
 
Test Automation Frameworks Using Selenium | Edureka
Test Automation Frameworks Using Selenium | EdurekaTest Automation Frameworks Using Selenium | Edureka
Test Automation Frameworks Using Selenium | EdurekaEdureka!
 
Sqa unit1
Sqa unit1Sqa unit1
Sqa unit1kannaki
 
Software Testing - A sneak preview By Srikanth
Software Testing - A sneak preview By SrikanthSoftware Testing - A sneak preview By Srikanth
Software Testing - A sneak preview By SrikanthSrikanth Krishnamoorthy
 
Software testing training course centre in chandigarh
Software testing training course centre in chandigarhSoftware testing training course centre in chandigarh
Software testing training course centre in chandigarhAnkitaSingroha
 
B1015 demo on selenium testing tools
B1015 demo on selenium testing toolsB1015 demo on selenium testing tools
B1015 demo on selenium testing toolsconline training
 
Software testing
Software testingSoftware testing
Software testingSengu Msc
 
Software testing
Software testingSoftware testing
Software testingSengu Msc
 
Essential Test Management and Planning
Essential Test Management and PlanningEssential Test Management and Planning
Essential Test Management and PlanningTechWell
 

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

Software Testing Interview Questions & Answers | Edureka
Software Testing Interview Questions & Answers | EdurekaSoftware Testing Interview Questions & Answers | Edureka
Software Testing Interview Questions & Answers | Edureka
 
Test Automation Interview Questions and Answers | Edureka
Test Automation Interview Questions and Answers | EdurekaTest Automation Interview Questions and Answers | Edureka
Test Automation Interview Questions and Answers | Edureka
 
Top 50 Software Testing Interview Questions & Answers | Edureka
Top 50 Software Testing Interview Questions & Answers | EdurekaTop 50 Software Testing Interview Questions & Answers | Edureka
Top 50 Software Testing Interview Questions & Answers | Edureka
 
Software Testing - Online Guide
Software Testing - Online GuideSoftware Testing - Online Guide
Software Testing - Online Guide
 
Software Testing Tools Training
Software Testing Tools TrainingSoftware Testing Tools Training
Software Testing Tools Training
 
Leveraging Open Source Automation: A Selenium WebDriver Example
Leveraging Open Source Automation: A Selenium WebDriver ExampleLeveraging Open Source Automation: A Selenium WebDriver Example
Leveraging Open Source Automation: A Selenium WebDriver Example
 
Selenium training
Selenium trainingSelenium training
Selenium training
 
Test Automation Frameworks Using Selenium | Edureka
Test Automation Frameworks Using Selenium | EdurekaTest Automation Frameworks Using Selenium | Edureka
Test Automation Frameworks Using Selenium | Edureka
 
Sqa unit1
Sqa unit1Sqa unit1
Sqa unit1
 
Software Testing - A sneak preview By Srikanth
Software Testing - A sneak preview By SrikanthSoftware Testing - A sneak preview By Srikanth
Software Testing - A sneak preview By Srikanth
 
Software testing training course centre in chandigarh
Software testing training course centre in chandigarhSoftware testing training course centre in chandigarh
Software testing training course centre in chandigarh
 
B1015 demo on selenium testing tools
B1015 demo on selenium testing toolsB1015 demo on selenium testing tools
B1015 demo on selenium testing tools
 
Software testing and analysis
Software testing and analysisSoftware testing and analysis
Software testing and analysis
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
Essential Test Management and Planning
Essential Test Management and PlanningEssential Test Management and Planning
Essential Test Management and Planning
 
Best software testing course
Best software testing courseBest software testing course
Best software testing course
 

More from Edureka!

What to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaWhat to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaEdureka!
 
Top 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaTop 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaEdureka!
 
Top 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaTop 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaEdureka!
 
Tableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaTableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaEdureka!
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaPython Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaEdureka!
 
Top 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaTop 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaEdureka!
 
Top Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaTop Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaEdureka!
 
Linux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaLinux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaEdureka!
 
How to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaHow to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaEdureka!
 
Importance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaImportance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaEdureka!
 
RPA in 2020 | Edureka
RPA in 2020 | EdurekaRPA in 2020 | Edureka
RPA in 2020 | EdurekaEdureka!
 
Email Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEmail Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEdureka!
 
EA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEdureka!
 
Cognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaCognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaEdureka!
 
AWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaAWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaEdureka!
 
Blue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaBlue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaEdureka!
 
Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Edureka!
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaA star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaEdureka!
 
Kubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaKubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaEdureka!
 
Introduction to DevOps | Edureka
Introduction to DevOps | EdurekaIntroduction to DevOps | Edureka
Introduction to DevOps | EdurekaEdureka!
 

More from Edureka! (20)

What to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaWhat to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | Edureka
 
Top 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaTop 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
 
Top 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaTop 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
 
Tableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaTableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | Edureka
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaPython Programming Tutorial | Edureka
Python Programming Tutorial | Edureka
 
Top 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaTop 5 PMP Certifications | Edureka
Top 5 PMP Certifications | Edureka
 
Top Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaTop Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | Edureka
 
Linux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaLinux Mint Tutorial | Edureka
Linux Mint Tutorial | Edureka
 
How to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaHow to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| Edureka
 
Importance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaImportance of Digital Marketing | Edureka
Importance of Digital Marketing | Edureka
 
RPA in 2020 | Edureka
RPA in 2020 | EdurekaRPA in 2020 | Edureka
RPA in 2020 | Edureka
 
Email Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEmail Notifications in Jenkins | Edureka
Email Notifications in Jenkins | Edureka
 
EA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | Edureka
 
Cognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaCognitive AI Tutorial | Edureka
Cognitive AI Tutorial | Edureka
 
AWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaAWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
 
Blue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaBlue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | Edureka
 
Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaA star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
 
Kubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaKubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | Edureka
 
Introduction to DevOps | Edureka
Introduction to DevOps | EdurekaIntroduction to DevOps | Edureka
Introduction to DevOps | Edureka
 

Recently uploaded

Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 

Recently uploaded (20)

Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 

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