SlideShare a Scribd company logo
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
Ad

Recommended

Black box testing
Black box testing
Abdul Basit
 
Black box testing or behavioral testing
Black box testing or behavioral testing
Slideshare
 
5 black box and grey box testing
5 black box and grey box testing
Yisal Khan
 
Black box testing
Black box testing
Nakul Sharma
 
Software Testing Foundations Part 4 - Black Box Testing
Software Testing Foundations Part 4 - Black Box Testing
Nikita Knysh
 
Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)
1Arun_Pandey
 
Black box testing lecture 11
Black box testing lecture 11
Abdul Basit
 
Black box software testing
Black box software testing
Rana Muhammad Asif
 
Blackbox
Blackbox
GuruKrishnaTeja
 
Black Box Testing
Black Box Testing
Nivetha Padmanaban
 
Test Case Design
Test Case Design
acatalin
 
Black-Box
Black-Box
Jason Brown, PMP
 
Testing, black ,white and gray box testing
Testing, black ,white and gray box testing
Aamir Shakir
 
Boundary value analysis and equivalence partitioning
Boundary value analysis and equivalence partitioning
Sneha Singh
 
Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)
Mani Kanth
 
Testing Fundamentals
Testing Fundamentals
Kiran Kumar
 
Black Box Testing
Black Box Testing
Testbytes
 
Black box testing - SlideShare jayed hossain jibon
Black box testing - SlideShare jayed hossain jibon
Jayed Hossain Jibon
 
Lesson 2....PPT 1
Lesson 2....PPT 1
bhushan Nehete
 
Software Testing Techniques
Software Testing Techniques
Kiran Kumar
 
Structural testing
Structural testing
Slideshare
 
Testing techniques
Testing techniques
RaginiRohatgi
 
Test case techniques
Test case techniques
Pina Parmar
 
Different techniques-of-software-testing
Different techniques-of-software-testing
pooja deshmukh
 
Equivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysis
niharika5412
 
White box black box & gray box testing
White box black box & gray box testing
Himanshu
 
Test Case Design and Technique
Test Case Design and Technique
Sachin-QA
 
WHITE BOX & BLACK BOX TESTING IN DATABASE
WHITE BOX & BLACK BOX TESTING IN DATABASE
Salman Memon
 
ISTQB, ISEB Lecture Notes- 4
ISTQB, ISEB Lecture Notes- 4
onsoftwaretest
 
Test Case Design and Technique
Test Case Design and Technique
Fayis-QA
 

More Related Content

What's hot (20)

Blackbox
Blackbox
GuruKrishnaTeja
 
Black Box Testing
Black Box Testing
Nivetha Padmanaban
 
Test Case Design
Test Case Design
acatalin
 
Black-Box
Black-Box
Jason Brown, PMP
 
Testing, black ,white and gray box testing
Testing, black ,white and gray box testing
Aamir Shakir
 
Boundary value analysis and equivalence partitioning
Boundary value analysis and equivalence partitioning
Sneha Singh
 
Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)
Mani Kanth
 
Testing Fundamentals
Testing Fundamentals
Kiran Kumar
 
Black Box Testing
Black Box Testing
Testbytes
 
Black box testing - SlideShare jayed hossain jibon
Black box testing - SlideShare jayed hossain jibon
Jayed Hossain Jibon
 
Lesson 2....PPT 1
Lesson 2....PPT 1
bhushan Nehete
 
Software Testing Techniques
Software Testing Techniques
Kiran Kumar
 
Structural testing
Structural testing
Slideshare
 
Testing techniques
Testing techniques
RaginiRohatgi
 
Test case techniques
Test case techniques
Pina Parmar
 
Different techniques-of-software-testing
Different techniques-of-software-testing
pooja deshmukh
 
Equivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysis
niharika5412
 
White box black box & gray box testing
White box black box & gray box testing
Himanshu
 
Test Case Design and Technique
Test Case Design and Technique
Sachin-QA
 
WHITE BOX & BLACK BOX TESTING IN DATABASE
WHITE BOX & BLACK BOX TESTING IN DATABASE
Salman Memon
 
Test Case Design
Test Case Design
acatalin
 
Testing, black ,white and gray box testing
Testing, black ,white and gray box testing
Aamir Shakir
 
Boundary value analysis and equivalence partitioning
Boundary value analysis and equivalence partitioning
Sneha Singh
 
Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)
Mani Kanth
 
Testing Fundamentals
Testing Fundamentals
Kiran Kumar
 
Black Box Testing
Black Box Testing
Testbytes
 
Black box testing - SlideShare jayed hossain jibon
Black box testing - SlideShare jayed hossain jibon
Jayed Hossain Jibon
 
Software Testing Techniques
Software Testing Techniques
Kiran Kumar
 
Structural testing
Structural testing
Slideshare
 
Test case techniques
Test case techniques
Pina Parmar
 
Different techniques-of-software-testing
Different techniques-of-software-testing
pooja deshmukh
 
Equivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysis
niharika5412
 
White box black box & gray box testing
White box black box & gray box testing
Himanshu
 
Test Case Design and Technique
Test Case Design and Technique
Sachin-QA
 
WHITE BOX & BLACK BOX TESTING IN DATABASE
WHITE BOX & BLACK BOX TESTING IN DATABASE
Salman Memon
 

Similar to Black Box Testing Techniques by Sampath M (20)

ISTQB, ISEB Lecture Notes- 4
ISTQB, ISEB Lecture Notes- 4
onsoftwaretest
 
Test Case Design and Technique
Test Case Design and Technique
Fayis-QA
 
Test Case Design & Technique
Test Case Design & Technique
Rajesh-QA
 
Test Case Design
Test Case Design
Vidya-QA
 
Test Case Design and Technique
Test Case Design and Technique
ANKUR-BA
 
Test Case Design Techniques
Test Case Design Techniques
Murageppa-QA
 
Softwar tetesting basic
Softwar tetesting basic
parekhjigarh
 
CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4
SIMONTHOMAS S
 
prova4
prova4
mbsoftware
 
provoora
provoora
lmscollaborative2
 
prova2
prova2
mbsoftware
 
testsfw2
testsfw2
lmscollaborative2
 
testsfw7
testsfw7
lmscollaborative2
 
test2
test2
lmscollaborative2
 
prova9
prova9
mbsoftware
 
domenica2
domenica2
lmscollaborative2
 
provacompleta3
provacompleta3
lmscollaborative2
 
domenica1
domenica1
lmscollaborative2
 
testsfw5
testsfw5
lmscollaborative2
 
provarealw3
provarealw3
lmscollaborative2
 
Ad

Recently uploaded (20)

AI VIDEO MAGAZINE - June 2025 - r/aivideo
AI VIDEO MAGAZINE - June 2025 - r/aivideo
1pcity Studios, Inc
 
June Patch Tuesday
June Patch Tuesday
Ivanti
 
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Alliance
 
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Nilesh Gule
 
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
 
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
 
Enabling BIM / GIS integrations with Other Systems with FME
Enabling BIM / GIS integrations with Other Systems with FME
Safe Software
 
MuleSoft for AgentForce : Topic Center and API Catalog
MuleSoft for AgentForce : Topic Center and API Catalog
shyamraj55
 
PyCon SG 25 - Firecracker Made Easy with Python.pdf
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
 
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
Safe Software
 
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
Muhammad Rizwan Akram
 
9-1-1 Addressing: End-to-End Automation Using FME
9-1-1 Addressing: End-to-End Automation Using FME
Safe Software
 
FME for Distribution & Transmission Integrity Management Program (DIMP & TIMP)
FME for Distribution & Transmission Integrity Management Program (DIMP & TIMP)
Safe Software
 
FIDO Seminar: Targeting Trust: The Future of Identity in the Workforce.pptx
FIDO Seminar: Targeting Trust: The Future of Identity in the Workforce.pptx
FIDO Alliance
 
AI vs Human Writing: Can You Tell the Difference?
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
 
OpenPOWER Foundation & Open-Source Core Innovations
OpenPOWER Foundation & Open-Source Core Innovations
IBM
 
OWASP Barcelona 2025 Threat Model Library
OWASP Barcelona 2025 Threat Model Library
PetraVukmirovic
 
Cyber Defense Matrix Workshop - RSA Conference
Cyber Defense Matrix Workshop - RSA Conference
Priyanka Aash
 
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
biswajitbanerjee38
 
Creating Inclusive Digital Learning with AI: A Smarter, Fairer Future
Creating Inclusive Digital Learning with AI: A Smarter, Fairer Future
Impelsys Inc.
 
AI VIDEO MAGAZINE - June 2025 - r/aivideo
AI VIDEO MAGAZINE - June 2025 - r/aivideo
1pcity Studios, Inc
 
June Patch Tuesday
June Patch Tuesday
Ivanti
 
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Alliance
 
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Nilesh Gule
 
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
 
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
 
Enabling BIM / GIS integrations with Other Systems with FME
Enabling BIM / GIS integrations with Other Systems with FME
Safe Software
 
MuleSoft for AgentForce : Topic Center and API Catalog
MuleSoft for AgentForce : Topic Center and API Catalog
shyamraj55
 
PyCon SG 25 - Firecracker Made Easy with Python.pdf
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
 
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
Safe Software
 
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
Muhammad Rizwan Akram
 
9-1-1 Addressing: End-to-End Automation Using FME
9-1-1 Addressing: End-to-End Automation Using FME
Safe Software
 
FME for Distribution & Transmission Integrity Management Program (DIMP & TIMP)
FME for Distribution & Transmission Integrity Management Program (DIMP & TIMP)
Safe Software
 
FIDO Seminar: Targeting Trust: The Future of Identity in the Workforce.pptx
FIDO Seminar: Targeting Trust: The Future of Identity in the Workforce.pptx
FIDO Alliance
 
AI vs Human Writing: Can You Tell the Difference?
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
 
OpenPOWER Foundation & Open-Source Core Innovations
OpenPOWER Foundation & Open-Source Core Innovations
IBM
 
OWASP Barcelona 2025 Threat Model Library
OWASP Barcelona 2025 Threat Model Library
PetraVukmirovic
 
Cyber Defense Matrix Workshop - RSA Conference
Cyber Defense Matrix Workshop - RSA Conference
Priyanka Aash
 
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
biswajitbanerjee38
 
Creating Inclusive Digital Learning with AI: A Smarter, Fairer Future
Creating Inclusive Digital Learning with AI: A Smarter, Fairer Future
Impelsys Inc.
 
Ad

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