SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Mais procurados

Test Case Design
Test Case DesignTest Case Design
Test Case Design
acatalin
 
Structural testing
Structural testingStructural testing
Structural testing
Slideshare
 

Mais procurados (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
 

Semelhante a Black Box Testing Techniques by Sampath M

Semelhante a 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
 
domenica3
domenica3domenica3
domenica3
 
provoora
provooraprovoora
provoora
 
remoto2
remoto2remoto2
remoto2
 
provacompleta2
provacompleta2provacompleta2
provacompleta2
 
finalelocale2
finalelocale2finalelocale2
finalelocale2
 
domenica2
domenica2domenica2
domenica2
 
provarealw4
provarealw4provarealw4
provarealw4
 
test2
test2test2
test2
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
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
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
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
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
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
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
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
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
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
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
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)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

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