SlideShare une entreprise Scribd logo
1  sur  12
Black box Testing
Techniques
BY : Sampath kumar M
DATE : 16-09-2015
Agenda
Overview of Quality Assurance and Testing
Black Box Testing
Black Box - Test Design Techniques
Live Examples in Test Design techniques (TalentOz)
Testing Overview
FUNCTIONAL
• COMPONENT (UNIT) TESTING
• INTEGRATION TESTING
• SYSTEM / END-TO-END TESTING
NON-FUNCTIONAL
• PERFORMANCE
• SECURITY
• COMPATIBILITY
• USABILITY
• LOCALIZATION
Classification Of Testing
By the object of testing:
Functional Testing
Performance Testing
Load testing/Stress testing
(stability / endurance / soak testing)
Usability Testing
Testing the user interface (UI testing)
Security Testing
Localization Testing
Compatibility Testing
By the basis of positive scenario:
Positive testing
Negative testing
➢ Smoke Testing
➢ New feature Testing
➢ Regression Testing
➢ Acceptance Testing
➢ Alpha Testing
➢ Beta Testing
By the time of testing:
According to the degree of automation
Manual testing
Automation Testing
Semi-automated testing
By degree of preparedness to be tested
Documentation Testing (formal testing)
Test Ad-hoc or Intuitive Testing (Ad-hoc Testing)
By the knowledge of the system:
Testing the black
box
Testing the white
box
Testing the grey
box
✓ TESTING OF FUNCTIONAL PART
OF THE APPLICATION
✓ NEED NOT HAVE ANY FORMAL
STRUCTURAL KNOWLEDGE OF
THE CODE
✓ TESTING ENGINEERS
✓ WHY NO DEVELOPERS DO
THIS TESTING ????
What is Black Box Testing ?
Test
Design Techniques
Typical black-box test design techniques
include:
✓ State Transition
✓ Equivalence Partitioning
✓ Boundary Value analysis
✓ Decision Table testing (Cause effect graph)
✓ Error guessing
Equivalence Partitioning
Live TalentOz Example
Invalid
Salary Field
Valid Salary
field
Invalid
Salary field
Invalid
Salary Field
Invalid
Salary Field
A,B,C……Z 1,2,3,……. a,b,c,d,….z !,@,#..... -1,-2,-3…..
Considering Gross Salary as input field, which accepts
only Positive numbers
Boundary Value Analysis
Live TalentOz Example
Considering Day, Month As input possibilities
Invalid – Valid boundary
Day field (Lower)
Invalid – Valid boundary
Day field (Upper)
Below Boundary Above Boundary Below Boundary Above Boundary
0 1 31 33
Invalid – Valid boundary
Month field (Lower)
Invalid – Valid boundary
Month field (Upper)
Below Boundary Above Boundary Below Boundary Above Boundary
0 1 12 13
▪ Most of errors occurs at boundary
▪ You test boundaries between equivalence partitions
Decision Table Testing
Live TalentOz Example
This Decision Table explains about the Competency Assessment in Live Talentoz.Test Combination of
inputs that produce
different results.
Also called as Cause-effect
testing
Created Combination of
conditions that might get
grayed out during ad-hoc
testing methodology
Rule 1 Rule 2 Rule 3
Cause 1
Cause 2
Cause 3
Effect 1
Effect 2
1. Identify cause & effect
2. Establish relation relation between cause and
effect
3. Add constraints between cause and effect
4. Convert graph as table
5. Generate Test Case
Error Guessing
Assumptions and Guessing
The success of error
guessing is very much
dependent on the skill of
the tester
Blank (or no) input, empty
files and the wrong kind of
data (e.g. alphabetic
characters where numeric
are required)
For E.g.
From the requirement tester should be able to guess the error
possibility
1. Requirement : Employee Status Inactive expected employee
should not be allowed to login
Error guess : Login Authentication one of the critical error
occurring area
2. Requirement : Employee with Approved leave will not fall in
learning recommendation
Error Guess : Integration between one module & another may
cause regression due to new requirements
Q&A
Thank you

Contenu connexe

Tendances

Test Case Design
Test Case DesignTest Case Design
Test Case Designacatalin
 
Testing, black ,white and gray box testing
Testing, black ,white and gray box testingTesting, black ,white and gray box testing
Testing, black ,white and gray box testingAamir Shakir
 
Boundary value analysis and equivalence partitioning
Boundary value analysis and equivalence partitioningBoundary value analysis and equivalence partitioning
Boundary value analysis and equivalence partitioningSneha Singh
 
Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)Mani Kanth
 
Testing Fundamentals
Testing FundamentalsTesting Fundamentals
Testing FundamentalsKiran Kumar
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box TestingTestbytes
 
Black box testing - SlideShare jayed hossain jibon
Black box testing - SlideShare  jayed hossain jibonBlack box testing - SlideShare  jayed hossain jibon
Black box testing - SlideShare jayed hossain jibonJayed Hossain Jibon
 
Software Testing Techniques
Software Testing TechniquesSoftware Testing Techniques
Software Testing TechniquesKiran Kumar
 
Structural testing
Structural testingStructural testing
Structural testingSlideshare
 
Test case techniques
Test case techniquesTest case techniques
Test case techniquesPina Parmar
 
Different techniques-of-software-testing
Different techniques-of-software-testingDifferent techniques-of-software-testing
Different techniques-of-software-testingpooja deshmukh
 
Equivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysisEquivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysisniharika5412
 
White box black box & gray box testing
White box black box & gray box testingWhite box black box & gray box testing
White box black box & gray box testingHimanshu
 
Test Case Design and Technique
Test Case Design and TechniqueTest Case Design and Technique
Test Case Design and TechniqueSachin-QA
 
WHITE BOX & BLACK BOX TESTING IN DATABASE
WHITE BOX & BLACK BOXTESTING IN DATABASEWHITE BOX & BLACK BOXTESTING IN DATABASE
WHITE BOX & BLACK BOX TESTING IN DATABASESalman Memon
 

Tendances (20)

Blackbox
BlackboxBlackbox
Blackbox
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
Test Case Design
Test Case DesignTest Case Design
Test Case Design
 
Black-Box
Black-BoxBlack-Box
Black-Box
 
Testing, black ,white and gray box testing
Testing, black ,white and gray box testingTesting, black ,white and gray box testing
Testing, black ,white and gray box testing
 
Boundary value analysis and equivalence partitioning
Boundary value analysis and equivalence partitioningBoundary value analysis and equivalence partitioning
Boundary value analysis and equivalence partitioning
 
Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)
 
Testing Fundamentals
Testing FundamentalsTesting Fundamentals
Testing Fundamentals
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
Black box testing - SlideShare jayed hossain jibon
Black box testing - SlideShare  jayed hossain jibonBlack box testing - SlideShare  jayed hossain jibon
Black box testing - SlideShare jayed hossain jibon
 
Lesson 2....PPT 1
Lesson 2....PPT 1Lesson 2....PPT 1
Lesson 2....PPT 1
 
Software Testing Techniques
Software Testing TechniquesSoftware Testing Techniques
Software Testing Techniques
 
Structural testing
Structural testingStructural testing
Structural testing
 
Testing techniques
Testing techniquesTesting techniques
Testing techniques
 
Test case techniques
Test case techniquesTest case techniques
Test case techniques
 
Different techniques-of-software-testing
Different techniques-of-software-testingDifferent techniques-of-software-testing
Different techniques-of-software-testing
 
Equivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysisEquivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysis
 
White box black box & gray box testing
White box black box & gray box testingWhite box black box & gray box testing
White box black box & gray box testing
 
Test Case Design and Technique
Test Case Design and TechniqueTest Case Design and Technique
Test Case Design and Technique
 
WHITE BOX & BLACK BOX TESTING IN DATABASE
WHITE BOX & BLACK BOXTESTING IN DATABASEWHITE BOX & BLACK BOXTESTING IN DATABASE
WHITE BOX & BLACK BOX TESTING IN DATABASE
 

Similaire à Black Box Testing Techniques by Sampath M

Similaire à Black Box Testing Techniques by Sampath M (20)

ISTQB, ISEB Lecture Notes- 4
ISTQB, ISEB Lecture Notes- 4ISTQB, ISEB Lecture Notes- 4
ISTQB, ISEB Lecture Notes- 4
 
Test Case Design
Test Case DesignTest Case Design
Test Case Design
 
Test Case Design and Technique
Test Case Design and TechniqueTest Case Design and Technique
Test Case Design and Technique
 
Test Case Design and Technique
Test Case Design and TechniqueTest Case Design and Technique
Test Case Design and Technique
 
Test Case Design & Technique
Test Case Design & TechniqueTest Case Design & Technique
Test Case Design & Technique
 
Test Case Design Techniques
Test Case Design TechniquesTest Case Design Techniques
Test Case Design Techniques
 
Softwar tetesting basic
Softwar tetesting basicSoftwar tetesting basic
Softwar tetesting basic
 
CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4
 
prova4
prova4prova4
prova4
 
provalast
provalastprovalast
provalast
 
test3
test3test3
test3
 
test2
test2test2
test2
 
provoora
provooraprovoora
provoora
 
remoto2
remoto2remoto2
remoto2
 
provacompleta2
provacompleta2provacompleta2
provacompleta2
 
finalelocale2
finalelocale2finalelocale2
finalelocale2
 
domenica2
domenica2domenica2
domenica2
 
provarealw4
provarealw4provarealw4
provarealw4
 
test2
test2test2
test2
 
prova3
prova3prova3
prova3
 

Dernier

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 

Dernier (20)

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 

Black Box Testing Techniques by Sampath M

  • 1. Black box Testing Techniques BY : Sampath kumar M DATE : 16-09-2015
  • 2. Agenda Overview of Quality Assurance and Testing Black Box Testing Black Box - Test Design Techniques Live Examples in Test Design techniques (TalentOz)
  • 3. Testing Overview FUNCTIONAL • COMPONENT (UNIT) TESTING • INTEGRATION TESTING • SYSTEM / END-TO-END TESTING NON-FUNCTIONAL • PERFORMANCE • SECURITY • COMPATIBILITY • USABILITY • LOCALIZATION
  • 4. Classification Of Testing By the object of testing: Functional Testing Performance Testing Load testing/Stress testing (stability / endurance / soak testing) Usability Testing Testing the user interface (UI testing) Security Testing Localization Testing Compatibility Testing By the basis of positive scenario: Positive testing Negative testing ➢ Smoke Testing ➢ New feature Testing ➢ Regression Testing ➢ Acceptance Testing ➢ Alpha Testing ➢ Beta Testing By the time of testing: According to the degree of automation Manual testing Automation Testing Semi-automated testing By degree of preparedness to be tested Documentation Testing (formal testing) Test Ad-hoc or Intuitive Testing (Ad-hoc Testing)
  • 5. By the knowledge of the system: Testing the black box Testing the white box Testing the grey box
  • 6. ✓ TESTING OF FUNCTIONAL PART OF THE APPLICATION ✓ NEED NOT HAVE ANY FORMAL STRUCTURAL KNOWLEDGE OF THE CODE ✓ TESTING ENGINEERS ✓ WHY NO DEVELOPERS DO THIS TESTING ???? What is Black Box Testing ?
  • 7. Test Design Techniques Typical black-box test design techniques include: ✓ State Transition ✓ Equivalence Partitioning ✓ Boundary Value analysis ✓ Decision Table testing (Cause effect graph) ✓ Error guessing
  • 8. Equivalence Partitioning Live TalentOz Example Invalid Salary Field Valid Salary field Invalid Salary field Invalid Salary Field Invalid Salary Field A,B,C……Z 1,2,3,……. a,b,c,d,….z !,@,#..... -1,-2,-3….. Considering Gross Salary as input field, which accepts only Positive numbers
  • 9. Boundary Value Analysis Live TalentOz Example Considering Day, Month As input possibilities Invalid – Valid boundary Day field (Lower) Invalid – Valid boundary Day field (Upper) Below Boundary Above Boundary Below Boundary Above Boundary 0 1 31 33 Invalid – Valid boundary Month field (Lower) Invalid – Valid boundary Month field (Upper) Below Boundary Above Boundary Below Boundary Above Boundary 0 1 12 13 ▪ Most of errors occurs at boundary ▪ You test boundaries between equivalence partitions
  • 10. Decision Table Testing Live TalentOz Example This Decision Table explains about the Competency Assessment in Live Talentoz.Test Combination of inputs that produce different results. Also called as Cause-effect testing Created Combination of conditions that might get grayed out during ad-hoc testing methodology Rule 1 Rule 2 Rule 3 Cause 1 Cause 2 Cause 3 Effect 1 Effect 2 1. Identify cause & effect 2. Establish relation relation between cause and effect 3. Add constraints between cause and effect 4. Convert graph as table 5. Generate Test Case
  • 11. Error Guessing Assumptions and Guessing The success of error guessing is very much dependent on the skill of the tester Blank (or no) input, empty files and the wrong kind of data (e.g. alphabetic characters where numeric are required) For E.g. From the requirement tester should be able to guess the error possibility 1. Requirement : Employee Status Inactive expected employee should not be allowed to login Error guess : Login Authentication one of the critical error occurring area 2. Requirement : Employee with Approved leave will not fall in learning recommendation Error Guess : Integration between one module & another may cause regression due to new requirements