SlideShare a Scribd company logo
1 of 13
BLACKBOX AND WHITEBOX TESTING
BLACKBOX TESTING
 In Black Box Testing we just focus on inputs and
output of the software system without bothering
about internal knowledge of the software program.
[Figure of Blackbox Testing]
 The above Black Box executable program can be any
software system you want to test.
BLACKBOX TESTING
 By applying black-box techniques, you derive a set of
test cases that satisfy the following criteria:
 (1) test cases that reduce, by a count that is greater
than one the number of additional test cases that must
be designed to achieve reasonable testing, and
 (2) test cases that tell you something about the
presence or absence of classes of errors, rather than
an error associated only with the specific test at hand.
BLACKBOX TESTING
 Blackbox Techniques/ Methods:
 Equivalence partitioning: It 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.
 Boundary Value Analysis: It 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.
 Cause effect graphing: It 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.
WHITEBOX TESTING:
 White Box Testing (also known as Clear Box Testing,
Open Box Testing, Glass Box Testing, Transparent Box
Testing, Code-Based Testing or Structural Testing) is
a software testing method in which the internal
structure/ design/ implementation of the item being
tested is known to the tester.
 White Box Testing is like the work of a mechanic who
examines the engine to see why the car is not moving.
 Using white-box testing methods, you can derive test
cases that
 (1) guarantee that all independent paths within a
module have been exercised at least once
 (2) exercise all logical decisions on their true and
false sides
 (3) execute all loops at their boundaries and within
their operational bounds
 (4) exercise internal data structures to ensure their
validity.
WHITEBOX TESTING:
WHITEBOX TESTING:
[Figure of Whitebox Testing Approach]
WHITEBOX TESTING:
Why and When White-Box Testing:
 White box testing is mainly used for detecting logical
errors in the program code.
 It is used for debugging a code, finding random
typographical errors, and uncovering incorrect
programming assumptions.
 White box testing is done at low level design and
implementable code.
 It can be applied at all levels of system development
especially Unit, system and integration testing.
 White box testing can be used for other development
artifacts like requirements analysis, designing and test
cases.
WHITEBOX TESTING:
Whitebox Testing Techniques:
 Following are Whitebox testing techniques:
 Statement coverage: This technique is aimed at
exercising all programming statements with minimal
tests.
 Branch and decision coverage: This technique is
running a series of tests to ensure that all branches are
tested at least once.
 Tools: An example of a tool that handles branch
coverage testing for C, C++ and Java applications
is TCAT-PATH
 Path coverage: This technique corresponds to testing
all possible paths which means that each statement
and branch is covered.
WHITEBOX TESTING:
[Figure of Path coverage Example]
COMPARISON OF BLACKBOX TESTING AND WHITEBOX TESTING:
COMPARISON OF BLACKBOX TESTING AND WHITEBOX TESTING:
THANK YOU

More Related Content

Similar to blackboxandwhiteboxtesting in software testing.ppt

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
 
Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)1Arun_Pandey
 
White-box testing.pptx
White-box testing.pptxWhite-box testing.pptx
White-box testing.pptxhalaalz3by
 
White box & black box testing
White box & black box testingWhite box & black box testing
White box & black box testingSaket Khopkar
 
Software testing
Software testingSoftware testing
Software testingGolu Gupta
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentalsAbdul Basit
 
Understanding Black Box Testing – Types, Techniques, and Examples.pdf
Understanding Black Box Testing – Types, Techniques, and Examples.pdfUnderstanding Black Box Testing – Types, Techniques, and Examples.pdf
Understanding Black Box Testing – Types, Techniques, and Examples.pdfpCloudy
 
Types of Software Testing
Types of Software TestingTypes of Software Testing
Types of Software TestingNishant Worah
 
Coding and testing in Software Engineering
Coding and testing in Software EngineeringCoding and testing in Software Engineering
Coding and testing in Software EngineeringAbhay Vijay
 
software testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblbsoftware testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblbjeyasrig
 
BLACK BOX & WHITE BOX TESTING.pptx
BLACK BOX & WHITE BOX TESTING.pptxBLACK BOX & WHITE BOX TESTING.pptx
BLACK BOX & WHITE BOX TESTING.pptxMohammadShahjalalKha
 

Similar to blackboxandwhiteboxtesting in software testing.ppt (20)

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
 
Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)
 
White-box testing.pptx
White-box testing.pptxWhite-box testing.pptx
White-box testing.pptx
 
White box & black box testing
White box & black box testingWhite box & black box testing
White box & black box testing
 
Software testing
Software testingSoftware testing
Software testing
 
Black & White Box testing
Black & White Box testingBlack & White Box testing
Black & White Box testing
 
WHITE BOX TESTING ashu.pptx
WHITE BOX TESTING ashu.pptxWHITE BOX TESTING ashu.pptx
WHITE BOX TESTING ashu.pptx
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Black box software testing
Black box software testingBlack box software testing
Black box software testing
 
System Testing.pptx
System Testing.pptxSystem Testing.pptx
System Testing.pptx
 
Understanding Black Box Testing – Types, Techniques, and Examples.pdf
Understanding Black Box Testing – Types, Techniques, and Examples.pdfUnderstanding Black Box Testing – Types, Techniques, and Examples.pdf
Understanding Black Box Testing – Types, Techniques, and Examples.pdf
 
Types of Software Testing
Types of Software TestingTypes of Software Testing
Types of Software Testing
 
S440999102
S440999102S440999102
S440999102
 
Black box testing
Black box testingBlack box testing
Black box testing
 
Block 1 ms-034 unit-1
Block 1 ms-034 unit-1Block 1 ms-034 unit-1
Block 1 ms-034 unit-1
 
Testing
TestingTesting
Testing
 
Coding and testing in Software Engineering
Coding and testing in Software EngineeringCoding and testing in Software Engineering
Coding and testing in Software Engineering
 
software testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblbsoftware testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblb
 
BLACK BOX & WHITE BOX TESTING.pptx
BLACK BOX & WHITE BOX TESTING.pptxBLACK BOX & WHITE BOX TESTING.pptx
BLACK BOX & WHITE BOX TESTING.pptx
 
Software engineering
Software engineeringSoftware engineering
Software engineering
 

More from suchita74

Characteristics or Nature of Financial Services.pptx
Characteristics or Nature of Financial Services.pptxCharacteristics or Nature of Financial Services.pptx
Characteristics or Nature of Financial Services.pptxsuchita74
 
Agile Development Models in Software EngineeringE.pptx
Agile Development Models in Software EngineeringE.pptxAgile Development Models in Software EngineeringE.pptx
Agile Development Models in Software EngineeringE.pptxsuchita74
 
gantt chart & pert in Software engineering.pptx
gantt chart & pert in Software engineering.pptxgantt chart & pert in Software engineering.pptx
gantt chart & pert in Software engineering.pptxsuchita74
 
ITERATIVE model in software engineering.pptx
ITERATIVE model in software engineering.pptxITERATIVE model in software engineering.pptx
ITERATIVE model in software engineering.pptxsuchita74
 
The role of certifying authorities in IPR
The role of certifying authorities in IPRThe role of certifying authorities in IPR
The role of certifying authorities in IPRsuchita74
 
networking.ppt
networking.pptnetworking.ppt
networking.pptsuchita74
 
Subfields of Artificial Intelligence.pptx
Subfields of Artificial Intelligence.pptxSubfields of Artificial Intelligence.pptx
Subfields of Artificial Intelligence.pptxsuchita74
 
Means End Analysis (MEA) in Artificial.pptx
Means End Analysis (MEA) in Artificial.pptxMeans End Analysis (MEA) in Artificial.pptx
Means End Analysis (MEA) in Artificial.pptxsuchita74
 
What is Fuzzy Logic in AI and applications.pptx
What is Fuzzy Logic in AI and applications.pptxWhat is Fuzzy Logic in AI and applications.pptx
What is Fuzzy Logic in AI and applications.pptxsuchita74
 
venture capital.pptx
venture capital.pptxventure capital.pptx
venture capital.pptxsuchita74
 
Knowledge-Based Agent in Artificial intelligence.pptx
Knowledge-Based Agent in Artificial intelligence.pptxKnowledge-Based Agent in Artificial intelligence.pptx
Knowledge-Based Agent in Artificial intelligence.pptxsuchita74
 
dominance of MNCs.pptx
dominance of MNCs.pptxdominance of MNCs.pptx
dominance of MNCs.pptxsuchita74
 
Rational Agent.pptx
Rational Agent.pptxRational Agent.pptx
Rational Agent.pptxsuchita74
 
5_lectureslides.pptx
5_lectureslides.pptx5_lectureslides.pptx
5_lectureslides.pptxsuchita74
 
4-220218152210.pdf
4-220218152210.pdf4-220218152210.pdf
4-220218152210.pdfsuchita74
 
factors affecting IM.pptx
factors affecting IM.pptxfactors affecting IM.pptx
factors affecting IM.pptxsuchita74
 
ALAN TURING MACHINE.pptx
ALAN TURING MACHINE.pptxALAN TURING MACHINE.pptx
ALAN TURING MACHINE.pptxsuchita74
 
SEI-CMM.pptx
SEI-CMM.pptxSEI-CMM.pptx
SEI-CMM.pptxsuchita74
 
RAD MODEL.pptx
RAD MODEL.pptxRAD MODEL.pptx
RAD MODEL.pptxsuchita74
 
ASSIGNMENT.pptx
ASSIGNMENT.pptxASSIGNMENT.pptx
ASSIGNMENT.pptxsuchita74
 

More from suchita74 (20)

Characteristics or Nature of Financial Services.pptx
Characteristics or Nature of Financial Services.pptxCharacteristics or Nature of Financial Services.pptx
Characteristics or Nature of Financial Services.pptx
 
Agile Development Models in Software EngineeringE.pptx
Agile Development Models in Software EngineeringE.pptxAgile Development Models in Software EngineeringE.pptx
Agile Development Models in Software EngineeringE.pptx
 
gantt chart & pert in Software engineering.pptx
gantt chart & pert in Software engineering.pptxgantt chart & pert in Software engineering.pptx
gantt chart & pert in Software engineering.pptx
 
ITERATIVE model in software engineering.pptx
ITERATIVE model in software engineering.pptxITERATIVE model in software engineering.pptx
ITERATIVE model in software engineering.pptx
 
The role of certifying authorities in IPR
The role of certifying authorities in IPRThe role of certifying authorities in IPR
The role of certifying authorities in IPR
 
networking.ppt
networking.pptnetworking.ppt
networking.ppt
 
Subfields of Artificial Intelligence.pptx
Subfields of Artificial Intelligence.pptxSubfields of Artificial Intelligence.pptx
Subfields of Artificial Intelligence.pptx
 
Means End Analysis (MEA) in Artificial.pptx
Means End Analysis (MEA) in Artificial.pptxMeans End Analysis (MEA) in Artificial.pptx
Means End Analysis (MEA) in Artificial.pptx
 
What is Fuzzy Logic in AI and applications.pptx
What is Fuzzy Logic in AI and applications.pptxWhat is Fuzzy Logic in AI and applications.pptx
What is Fuzzy Logic in AI and applications.pptx
 
venture capital.pptx
venture capital.pptxventure capital.pptx
venture capital.pptx
 
Knowledge-Based Agent in Artificial intelligence.pptx
Knowledge-Based Agent in Artificial intelligence.pptxKnowledge-Based Agent in Artificial intelligence.pptx
Knowledge-Based Agent in Artificial intelligence.pptx
 
dominance of MNCs.pptx
dominance of MNCs.pptxdominance of MNCs.pptx
dominance of MNCs.pptx
 
Rational Agent.pptx
Rational Agent.pptxRational Agent.pptx
Rational Agent.pptx
 
5_lectureslides.pptx
5_lectureslides.pptx5_lectureslides.pptx
5_lectureslides.pptx
 
4-220218152210.pdf
4-220218152210.pdf4-220218152210.pdf
4-220218152210.pdf
 
factors affecting IM.pptx
factors affecting IM.pptxfactors affecting IM.pptx
factors affecting IM.pptx
 
ALAN TURING MACHINE.pptx
ALAN TURING MACHINE.pptxALAN TURING MACHINE.pptx
ALAN TURING MACHINE.pptx
 
SEI-CMM.pptx
SEI-CMM.pptxSEI-CMM.pptx
SEI-CMM.pptx
 
RAD MODEL.pptx
RAD MODEL.pptxRAD MODEL.pptx
RAD MODEL.pptx
 
ASSIGNMENT.pptx
ASSIGNMENT.pptxASSIGNMENT.pptx
ASSIGNMENT.pptx
 

Recently uploaded

General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 

Recently uploaded (20)

General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 

blackboxandwhiteboxtesting in software testing.ppt

  • 2. BLACKBOX TESTING  In Black Box Testing we just focus on inputs and output of the software system without bothering about internal knowledge of the software program. [Figure of Blackbox Testing]  The above Black Box executable program can be any software system you want to test.
  • 3. BLACKBOX TESTING  By applying black-box techniques, you derive a set of test cases that satisfy the following criteria:  (1) test cases that reduce, by a count that is greater than one the number of additional test cases that must be designed to achieve reasonable testing, and  (2) test cases that tell you something about the presence or absence of classes of errors, rather than an error associated only with the specific test at hand.
  • 4. BLACKBOX TESTING  Blackbox Techniques/ Methods:  Equivalence partitioning: It 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.  Boundary Value Analysis: It 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.  Cause effect graphing: It 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.
  • 5. WHITEBOX TESTING:  White Box Testing (also known as Clear Box Testing, Open Box Testing, Glass Box Testing, Transparent Box Testing, Code-Based Testing or Structural Testing) is a software testing method in which the internal structure/ design/ implementation of the item being tested is known to the tester.  White Box Testing is like the work of a mechanic who examines the engine to see why the car is not moving.  Using white-box testing methods, you can derive test cases that  (1) guarantee that all independent paths within a module have been exercised at least once
  • 6.  (2) exercise all logical decisions on their true and false sides  (3) execute all loops at their boundaries and within their operational bounds  (4) exercise internal data structures to ensure their validity. WHITEBOX TESTING:
  • 7. WHITEBOX TESTING: [Figure of Whitebox Testing Approach]
  • 8. WHITEBOX TESTING: Why and When White-Box Testing:  White box testing is mainly used for detecting logical errors in the program code.  It is used for debugging a code, finding random typographical errors, and uncovering incorrect programming assumptions.  White box testing is done at low level design and implementable code.  It can be applied at all levels of system development especially Unit, system and integration testing.  White box testing can be used for other development artifacts like requirements analysis, designing and test cases.
  • 9. WHITEBOX TESTING: Whitebox Testing Techniques:  Following are Whitebox testing techniques:  Statement coverage: This technique is aimed at exercising all programming statements with minimal tests.  Branch and decision coverage: This technique is running a series of tests to ensure that all branches are tested at least once.  Tools: An example of a tool that handles branch coverage testing for C, C++ and Java applications is TCAT-PATH  Path coverage: This technique corresponds to testing all possible paths which means that each statement and branch is covered.
  • 10. WHITEBOX TESTING: [Figure of Path coverage Example]
  • 11. COMPARISON OF BLACKBOX TESTING AND WHITEBOX TESTING:
  • 12. COMPARISON OF BLACKBOX TESTING AND WHITEBOX TESTING: