SlideShare a Scribd company logo
2
Most read
10
Most read
12
Most read
Black Box Testing
 Only input & output functionality are visible. 
 Inputs are given and outputs are compared against specification. 
Features: 
 Correct outputs from inputs properly. 
 Test cases are designed from user requirements. 
 Test planning can begin early in the software process. 
 Looking at the program from an external point of view.
Blackbox
Black Box Testing 
Input Test Data I 
System 
output Test Results O 
Inputs causing 
anomalous 
behavior 
Outputs which 
reveal the 
presence of 
defects
Black Box Testing is a “Expert” in 
Finding 
 Incorrect or missing functions. 
 Interface errors 
 Behavior or performance errors. 
 Initialization and termination errors. 
 Errors in data structures 
 External database errors.
Graph Based Testing Methods 
 Each and every application is build up of some objects. All such objects are 
identified and graph is prepared. From this object graph each object 
relationship is identified and test cases written accordingly to discover the 
errors.
Sample Graph Notation 
Directed Link 
Object 1 Object 2 
Object 3 
•Nodes are represented as circles. 
•Links between nodes are categorized as: 
•Directed Link (one direction) 
•Bidirectional or Undirected or Symmetric Link: both 
directions. 
•Parceled links: different relationships established between 
nodes.
Error Guessing Testing Methods 
 This is purely based on previous experience and judgment of tester. Error 
Guessing is the art of guessing where errors can be hidden. For this technique 
there are no specific tools, writing the test cases that cover all the 
application paths.
Methods of Black box Testing
1. Equivalence Partitioning 
 Equivalence Partitioning is a software test design technique that involves 
dividing input values into valid and invalid partitions and selecting 
representative values from each partition as test data.
2. Boundary Value Analysis (BVA) 
 Boundary Value Analysis is a software test design technique that involves 
determination of boundaries for input values and selecting values that are 
at the boundaries and just inside/outside of the boundaries as test data.
3. Cause Effect Graphing 
 Cause Effect Graphing is a software test design technique that involves 
identifying the cases (input conditions) and effects (output conditions), 
producing a Cause-Effect Graph, and generating test cases accordingly.
4. Orthogonal Array Testing 
 Used to finding errors associated with region faults. 
 number of inputs to the system is relatively small, but too large to allow 
for exhaustive testing of every possible input to the systems. 
 It provides good test coverage with test cases.
5. Syntax Driven Testing 
 Very good methodology for compliers and parsers. 
 Use BNF notation. 
 Described by grammar. 
 Grammar for simple arithmetic: 
(exp)::=(exp)+(term)|(exp)-(term)|(term) 
(term)::=(term)*(factor)|(term)-(factor)|(factor) 
(factor)::=(identifier)|(<expression>) 
(id)::=|a|b|c|d|e………|z
6. Decision Table-Based Testing 
 A decision table is a good way to deal with combinations of things (e.g. 
inputs). This technique is sometimes also referred to as a ’cause-effect’ 
table. The reason for this is that there is an associated logic diagramming 
technique called ’cause-effect graphing’ which was sometimes used to help 
derive the decision table
Empty decision table: 
Conditions Rule 1 Rule 2 Rule 3 Rule 4 
Repayment amount has 
been entered: 
Term of loan has been 
Entered:
7. Cause and Effect Graphs in 
Functional Testing 
 Represents relationship between input and output 
 Input  cause 
 Output  effect. 
Ex: ATM Banking Transaction System
Causes: 
C1: Command is credit 
C2: Command is Debit 
C3: Account Number is valid. 
C4: Transaction amount is Valid. 
Effects: 
E1: Print “Invalid command” 
E2: Print “invalid account number” 
E3: Print “debit amount not valid” 
E4: debit account 
E5: credit account.
Types processing modes 
 And  effect occurs of all the inputs are true. 
 Or  Effect occurs if at least one input is true 
 Negation : effect occurs if input are false.
C2 
C3 
C4 
E3 
and 
Used to reduce the test case 
count 
C1 C2 C3 
C4 
Don’t 
care 
condition 
True false

More Related Content

PDF
PDF
Sharir kriya charts & Models PPT by Prof.Dr.R.R..Deshpande,pune,india
PPTX
Sadharana rasa
PPTX
Ppt aushadh sevana kala
PPT
Phalavarga
PPTX
Ahara parinamakara bhavas
PPTX
RAS ppt.pptx
PPTX
Choorna kalpana
Sharir kriya charts & Models PPT by Prof.Dr.R.R..Deshpande,pune,india
Sadharana rasa
Ppt aushadh sevana kala
Phalavarga
Ahara parinamakara bhavas
RAS ppt.pptx
Choorna kalpana

What's hot (20)

PPT
Katigraha
PPTX
concept of Agni
PDF
Ayur emergincies med-ksr
PPTX
Rasasindura
PPTX
Substitution and its adaptation in current scenario a review in Ayurveda
PPTX
Manas the ayurvedic and modern concept of human mind
PDF
Dhatu sarata examination Practical
PPTX
anjana rasashastra ppt.pptx anjana rasa shastra
PPTX
JANGAMA VISHA .pptx-
PDF
Pakshaghata hemiplegia ayurvedic and modern aspect
PPTX
Tridosha Theory: Physiological Understanding
PPTX
Accha sneha and Pravicharana Sneha.pptx
PDF
Pad Abhyang (Foot Massage therapy)
PPTX
Dr.Lavanya.S.A - Analytical parameters of kshara kalpana
PPTX
Gauripashana
PDF
Sandhana kalpana by Dr.shrilata
PPTX
Pancha bhasma siddhi lakshana- Dr. Saroja M Patil
PPTX
sneha kalpana
PPTX
रोग निदान परीक्षा विज्ञानीय.pptx
PPTX
Ashtanga Hridaya Sutrasthana chapter 21 DHUMAPANA VIDHI / धूमपान विधि
Katigraha
concept of Agni
Ayur emergincies med-ksr
Rasasindura
Substitution and its adaptation in current scenario a review in Ayurveda
Manas the ayurvedic and modern concept of human mind
Dhatu sarata examination Practical
anjana rasashastra ppt.pptx anjana rasa shastra
JANGAMA VISHA .pptx-
Pakshaghata hemiplegia ayurvedic and modern aspect
Tridosha Theory: Physiological Understanding
Accha sneha and Pravicharana Sneha.pptx
Pad Abhyang (Foot Massage therapy)
Dr.Lavanya.S.A - Analytical parameters of kshara kalpana
Gauripashana
Sandhana kalpana by Dr.shrilata
Pancha bhasma siddhi lakshana- Dr. Saroja M Patil
sneha kalpana
रोग निदान परीक्षा विज्ञानीय.pptx
Ashtanga Hridaya Sutrasthana chapter 21 DHUMAPANA VIDHI / धूमपान विधि
Ad

Viewers also liked (20)

PDF
Software Verification, Validation and Testing
PPTX
Black box testing or behavioral testing
PPTX
Mule functional, blackbox, unit testing
PPT
PDF
Code Complexity 101
PPTX
Test cases
PPTX
Test Case Management with MTM 2013
PDF
Implementing Blackbox Testing
PPTX
Test design techniques: Structured and Experienced-based techniques
PDF
Cause effect graphing technique
PPT
Data structure computer graphs
PPT
Quality Assurance
PPT
Requirement specification
PPTX
Data Structures - Lecture 10 [Graphs]
PPTX
Graph data structure
PDF
A WHITE BOX TESTING TECHNIQUE IN SOFTWARE TESTING : BASIS PATH TESTING
PDF
Model based software testing
PPT
White Box Testing V0.2
PDF
Unit and integration Testing
Software Verification, Validation and Testing
Black box testing or behavioral testing
Mule functional, blackbox, unit testing
Code Complexity 101
Test cases
Test Case Management with MTM 2013
Implementing Blackbox Testing
Test design techniques: Structured and Experienced-based techniques
Cause effect graphing technique
Data structure computer graphs
Quality Assurance
Requirement specification
Data Structures - Lecture 10 [Graphs]
Graph data structure
A WHITE BOX TESTING TECHNIQUE IN SOFTWARE TESTING : BASIS PATH TESTING
Model based software testing
White Box Testing V0.2
Unit and integration Testing
Ad

Similar to Blackbox (20)

PPTX
Blackbox
DOC
Black box testing
PPTX
Software Testing Foundations Part 4 - Black Box Testing
PPTX
Unit 4 testing
PPT
&lt;p>Software Testing&lt;/p>
PPT
An overview to Software Testing
PPT
ISTQB, ISEB Lecture Notes- 4
PPTX
blackboxtestingsssssssssssssssssssssssssssssssssssss.pptx
PPTX
Se (techniques for black box testing ppt)
PPTX
19 Software Testing Techniques presentation file.pptx
PPTX
Test Case Design & Technique
PPTX
Test Case Design
PPSX
Test Case Design and Technique
PPTX
Test Case Design and Technique
PPSX
Test Case Design and Technique
PPTX
Software_Testing_Techniques_undergraduate.pptx
PPTX
dynamic testing for polytechnic students
PPT
Dynamic Testing
PDF
Black Box Testing
Blackbox
Black box testing
Software Testing Foundations Part 4 - Black Box Testing
Unit 4 testing
&lt;p>Software Testing&lt;/p>
An overview to Software Testing
ISTQB, ISEB Lecture Notes- 4
blackboxtestingsssssssssssssssssssssssssssssssssssss.pptx
Se (techniques for black box testing ppt)
19 Software Testing Techniques presentation file.pptx
Test Case Design & Technique
Test Case Design
Test Case Design and Technique
Test Case Design and Technique
Test Case Design and Technique
Software_Testing_Techniques_undergraduate.pptx
dynamic testing for polytechnic students
Dynamic Testing
Black Box Testing

Recently uploaded (20)

PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
UNIT 4 Total Quality Management .pptx
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
Sustainable Sites - Green Building Construction
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
DOCX
573137875-Attendance-Management-System-original
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
Structs to JSON How Go Powers REST APIs.pdf
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
Construction Project Organization Group 2.pptx
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
bas. eng. economics group 4 presentation 1.pptx
UNIT 4 Total Quality Management .pptx
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Internet of Things (IOT) - A guide to understanding
Sustainable Sites - Green Building Construction
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Embodied AI: Ushering in the Next Era of Intelligent Systems
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
573137875-Attendance-Management-System-original
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Structs to JSON How Go Powers REST APIs.pdf
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Construction Project Organization Group 2.pptx
Strings in CPP - Strings in C++ are sequences of characters used to store and...
Operating System & Kernel Study Guide-1 - converted.pdf
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
CYBER-CRIMES AND SECURITY A guide to understanding
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx

Blackbox

  • 2.  Only input & output functionality are visible.  Inputs are given and outputs are compared against specification. Features:  Correct outputs from inputs properly.  Test cases are designed from user requirements.  Test planning can begin early in the software process.  Looking at the program from an external point of view.
  • 4. Black Box Testing Input Test Data I System output Test Results O Inputs causing anomalous behavior Outputs which reveal the presence of defects
  • 5. Black Box Testing is a “Expert” in Finding  Incorrect or missing functions.  Interface errors  Behavior or performance errors.  Initialization and termination errors.  Errors in data structures  External database errors.
  • 6. Graph Based Testing Methods  Each and every application is build up of some objects. All such objects are identified and graph is prepared. From this object graph each object relationship is identified and test cases written accordingly to discover the errors.
  • 7. Sample Graph Notation Directed Link Object 1 Object 2 Object 3 •Nodes are represented as circles. •Links between nodes are categorized as: •Directed Link (one direction) •Bidirectional or Undirected or Symmetric Link: both directions. •Parceled links: different relationships established between nodes.
  • 8. Error Guessing Testing Methods  This is purely based on previous experience and judgment of tester. Error Guessing is the art of guessing where errors can be hidden. For this technique there are no specific tools, writing the test cases that cover all the application paths.
  • 9. Methods of Black box Testing
  • 10. 1. Equivalence Partitioning  Equivalence Partitioning is a software test design technique that involves dividing input values into valid and invalid partitions and selecting representative values from each partition as test data.
  • 11. 2. Boundary Value Analysis (BVA)  Boundary Value Analysis is a software test design technique that involves determination of boundaries for input values and selecting values that are at the boundaries and just inside/outside of the boundaries as test data.
  • 12. 3. Cause Effect Graphing  Cause Effect Graphing is a software test design technique that involves identifying the cases (input conditions) and effects (output conditions), producing a Cause-Effect Graph, and generating test cases accordingly.
  • 13. 4. Orthogonal Array Testing  Used to finding errors associated with region faults.  number of inputs to the system is relatively small, but too large to allow for exhaustive testing of every possible input to the systems.  It provides good test coverage with test cases.
  • 14. 5. Syntax Driven Testing  Very good methodology for compliers and parsers.  Use BNF notation.  Described by grammar.  Grammar for simple arithmetic: (exp)::=(exp)+(term)|(exp)-(term)|(term) (term)::=(term)*(factor)|(term)-(factor)|(factor) (factor)::=(identifier)|(<expression>) (id)::=|a|b|c|d|e………|z
  • 15. 6. Decision Table-Based Testing  A decision table is a good way to deal with combinations of things (e.g. inputs). This technique is sometimes also referred to as a ’cause-effect’ table. The reason for this is that there is an associated logic diagramming technique called ’cause-effect graphing’ which was sometimes used to help derive the decision table
  • 16. Empty decision table: Conditions Rule 1 Rule 2 Rule 3 Rule 4 Repayment amount has been entered: Term of loan has been Entered:
  • 17. 7. Cause and Effect Graphs in Functional Testing  Represents relationship between input and output  Input  cause  Output  effect. Ex: ATM Banking Transaction System
  • 18. Causes: C1: Command is credit C2: Command is Debit C3: Account Number is valid. C4: Transaction amount is Valid. Effects: E1: Print “Invalid command” E2: Print “invalid account number” E3: Print “debit amount not valid” E4: debit account E5: credit account.
  • 19. Types processing modes  And  effect occurs of all the inputs are true.  Or  Effect occurs if at least one input is true  Negation : effect occurs if input are false.
  • 20. C2 C3 C4 E3 and Used to reduce the test case count C1 C2 C3 C4 Don’t care condition True false