SlideShare a Scribd company logo
www.edureka.co/software-testing
View Software Testing course details at www.edureka.co/software-testing
Recording of the presentation will be available in 24 hrs
Implementing Black Box Testing
Slide 2 www.edureka.co/software-testing
Objectives
At the end of this session, you will be able to:
 Understand Software Testing
 Understand different types of Software Testing
 Understand Black Box Testing & White Box Testing
 Understand difference between Black Box and White Box Testing
 Implement Black Box Testing
» Equivalence Class Testing
» Boundary Value Analysis
» Decision Table Testing
Slide 3 www.edureka.co/software-testingSlide 3
What is Software Testing
Software Testing is the process of validating and verifying that a software application or product works as expected
Slide 4 www.edureka.co/software-testingSlide 4
Classification of Software Testing
Software Testing
Black Box Testing
White Box Testing
Unit Testing
Regression Testing
Integration Testing
Slide 5 www.edureka.co/software-testingSlide 5
Black Box Testing
Black box testing is a software testing technique in which functionality of the software is tested without looking
at the internal code structure
Black Box Testing can entirely be done on the basis of software requirements and specifications
In Black Box testing, tester tests the software/application by applying different inputs and comparing the
output with the expected result
Black Box
Input Output
Black Box Testing is also known as Behavioral Testing
Flow and Working
Slide 6 www.edureka.co/software-testingSlide 6
White Box Testing
White Box Testing is software testing technique based on analysis of internal logic (design, code, etc.). It’s
important to note that expected results still come from requirements
White Box Testing is usually done by developers and difficult as developers can't easily spot flaws in their own
code
Code coverage and Path testing are well known White Box Testing techniques
White Box Testing is also known as Structural Testing
White Box
Input Output
Design and code
Slide 7 www.edureka.co/software-testingSlide 7
Difference b/w Black Box and White Box Testing
Black Box
• Not Required
• Software Testers
• Not Required
• Requirement Specifications
White Box
• Required
• Software Developers
• Required
• Detail Design
Knowledge of internal
structure of test application
Responsibility
Programming Knowledge
Basis for Test Cases
Slide 8 www.edureka.co/software-testingSlide 8
Techniques of Black Box Testing
There are various techniques used to perform Black Box Testing. Some of them are listed below
Partition 1 Partition 2 Partition 3
10 10 11
Invalid Valid Invalid
1 10
Partition 1 Partition 2 Partition 3
Equivalence class partitioning
Boundary Value Analysis(BVA)
Decision Table Testing
Condition R1 R2 R3 R4
Input 1 F F T T
Input 2 F T F T
Action ERR ERR ERR GO
Invalid Valid Invalid
Slide 9 www.edureka.co/software-testingSlide 9
Equivalence Class Partitioning (ECP)
Usually its not possible to perform exhaustive testing when there is large test data either due to time or
budget constraints
Equivalence Class Partitioning is a very efficient technique used to cut down the number of test data to
test the application
Example
1 12<1 >12
Invalid Valid Invalid
Rather than testing the application for all number between 1 and 12, numbers <1 and >12, we can
partition test data into 3 sets, first for valid partition (1 -12), second for invalid partition (<1) and third
invalid partition (>12)
Test
Application
May, Sept
Slide 10 www.edureka.co/software-testingSlide 10
Applying Equivalence Class Partitioning
According to our example the test data can be partitioned into following classes
…, -3, -2, -1, 0 1, 2, 3…….., 12 13, 14, 15……..
Invalid Partition 1 Valid Partition Invalid Partition 2
Now to test the application tester can use any one number from each partition
So we can test the application with only three numbers (any one number from each partition)
Each number of a particular class partition will generate the same result. This is why this technique is called
Equivalence Class Partitioning
Slide 11 www.edureka.co/software-testingSlide 11
What about Boundaries?
Equivalence Class Partitioning does not guarantee to test the application on boundary values. It
gives the same weightage to both numbers within partition and numbers on the boundary
…, -3, -2, -1, 0 1, 2, 3…….., 12 13, 14, 15……..
Invalid Partition 1 Valid Partition Invalid Partition 2
What happens if the
test fails on the
boundary values?
To ensure that a tester tests the application on boundary
values also we can use Boundary Value Analysis technique
Slide 12 www.edureka.co/software-testingSlide 12
Boundary Value Analysis (BVA)
Decision boundaries are places where the behavior of the system changes
Boundary Value Analysis is an important technique as it is widely recognized that values on the boundaries
cause more errors in system
Therefore a tester should always check the boundaries as if the system fails, it is likely to fail on these decision
boundaries
[0,1] [12,13]<1 >12
It is very important that tester test the application on boundary values. Equivalence Partitioning and
Boundary Value Analysis are used together at all levels of testing e.g. unit testing, integration testing
Invalid Valid Invalid
Slide 13 www.edureka.co/software-testingSlide 13
Applying Boundary Value Analysis (BVA)
Consider the previous example where we partition the test data into three classes
In Boundary Value Analysis a tester must also check on boundary values in addition to other test data
Lets apply Boundary value Analysis to the previous example
…, -3, -2, -1, 0 1, 2, 3…….., 12 13, 14, 15……..
Invalid Partition 1 Valid Partition Invalid Partition 2
To apply BVA, we will take the minimum and maximum (boundary) values from the valid partition (1 and 12 in
this case) together with the first or last value respectively in each of the invalid partitions adjacent to the valid
partition (0 and 13 in this case)
Slide 14 www.edureka.co/software-testingSlide 14
ECP and BVA Together
According to the example we would have three equivalence partitioning tests (one from each of the three partitions)
and four boundary value tests
 To perform both Equivalence portioning and BVA tests a tester can use one of the below combination of test data
» [-3, 6, 20] (for equivalence partitioning tests ) and [0,1,12,13] (for boundary value tests)
» [-4, 4, 14] (for equivalence partitioning tests ) and [0,1,12,13] (for boundary value tests)
» [-1, 5, 15] (for equivalence partitioning tests ) and [0,1,12,13] (for boundary value tests)
Slide 15 www.edureka.co/software-testingSlide 15
Decision Table Testing
 Decision Table Testing is a good way to deal with a combination
of inputs, which produce different results and are used to model
complicated logic
 It helps reduce test effort in verifying each and every
combination of test data, at the same time ensuring complete
coverage
The biggest advantage of using decision tables is that they make
it possible to detect combinations of conditions that would
otherwise not have been found and therefore not tested or
developed
Slide 16 www.edureka.co/software-testingSlide 16
Decision Table Testing
Let’s take an example scenario for an ATM where a decision table would be of use
 A customer requests a cash withdrawal
 One of the business rules for the ATM is that the ATM machine pays out the amount if the customer has
sufficient funds in their account or if the customer has the credit granted. In a decision table, conditions are
usually expressed as true (T) or false (F)
Conditions R1 R2 R3
Withdrawal Amount <=
Balance
T F F
Credit granted - T F
Withdrawal granted T T F
Decision Table
Each column in the table corresponds to a
rule in the business logic that describes
the unique combination of circumstances
that will result in the actions
Slide 17 www.edureka.co/software-testingSlide 17
Decision Table Testing
Lets consider another example of how we can model a scenario of book borrowing from college library
Conditions R1 R2 R3 R4 R5 R6 R7 R8
User Registered ? F F F F T T T T
No Pending Fees ? F F T T F F T T
Under Borrow Limit? F T F T F T F T
Borrow Book No No No No No No No Yes
User will only be allowed to borrow a book when user is registered, user does not have any outstanding fees
and he have not exceeded the book borrowing limit
If the user is not registered, then
the other two inputs are irrelevant
Slide 18 www.edureka.co/software-testingSlide 18
Simplifying Decision Tables
 Note that in our decision table we have 8 possible combinations but we can simplify the decision table by examining
the decision table and merging the similar combinations
Conditions R1 R2 R3 R4 R5
User Registered ? F T T T T
No Pending Fees ? - F F T T
Under Borrow Limit? - F T F T
Borrow Book No No No No Yes
If the user is having pending fees, then also he
cannot borrow books even if he has borrow limits
We have merged the first four columns
as the user is not registered
Slide 19 www.edureka.co/software-testingSlide 19
Simplifying Decision Tables (Contd.)
Again we can simplify the decision table as is does not matter whether user has borrow limit or not. If user has
pending fees, then the user can not borrow book
Conditions R1 R2 R3 R4
User Registered ? F T T T
No Pending Fees ? - F T T
Under Borrow Limit? - - F T
Borrow Book No No No Yes
We have merged the next two columns
as the user was having pending fees
Slide 20 www.edureka.co/software-testingSlide 20
Job Trends
Slide 21 www.edureka.co/software-testing
LIVE Online Class
Class Recording in LMS
24/7 Post Class Support
Module Wise Quiz
Project Work
Verifiable Certificate
Course Features
Slide 22 www.edureka.co/software-testing
Course Topics
 Module 6
» Test Execution
 Module 7
» Defect Management
 Module 8
» Reporting & Team Collaboration
 Module 9
» Metrics & Measurement
 Module 10
» Testing Tools & FAQs
 Module 1
» Introduction to Software Testing Life Cycle
 Module 2
» Test Planning
 Module 3
» Test Design
 Module 4
» Test Techniques
 Module 5
» Levels & Types Of Testing
Slide 23 www.edureka.co/software-testing
20% Discount on Software Testing Course
For further query, please reach us:
India: +91 88808 62004
US: 1800 275 9730 (toll free)
As an Early bird offer, here's our big bang surprise for you
Enroll and get flat 20% off on Software Testing course
20%
OFF
Offer valid till 10th May only
Slide 24 www.edureka.co/software-testing
Questions
Slide 25 www.edureka.co/software-testing

More Related Content

What's hot

Equivalence class testing
Equivalence  class testingEquivalence  class testing
Equivalence class testing
Mani Kanth
 
Control Flow Testing
Control Flow TestingControl Flow Testing
Control Flow Testing
Hirra Sultan
 
White box testing
White box testing White box testing
White box testing
Mani Kanth
 
Unit testing
Unit testingUnit testing
Unit testing
medsherb
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
Nivetha Padmanaban
 
Black Box Testing Techniques by Sampath M
Black Box Testing Techniques by Sampath MBlack Box Testing Techniques by Sampath M
Black Box Testing Techniques by Sampath M
Forziatech
 
Software testing introduction
Software testing introductionSoftware testing introduction
Software testing introduction
Sriman Eshwar
 
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
 
Unit 2 - Test Case Design
Unit 2 - Test Case DesignUnit 2 - Test Case Design
Unit 2 - Test Case Design
Selvi Vts
 
Unit 3 Control Flow Testing
Unit 3   Control Flow TestingUnit 3   Control Flow Testing
Unit 3 Control Flow Testing
ravikhimani
 
Black box testing lecture 11
Black box testing lecture 11Black box testing lecture 11
Black box testing lecture 11
Abdul Basit
 
Black box testing
Black box testingBlack box testing
Black box testing
Nakul Sharma
 
Introduction to White box testing
Introduction to White box testingIntroduction to White box testing
Introduction to White box testing
Aliaa Monier Ismaail
 
Dynamic analysis in Software Testing
Dynamic analysis in Software TestingDynamic analysis in Software Testing
Dynamic analysis in Software Testing
Sagar Pednekar
 
10 software testing_technique
10 software testing_technique10 software testing_technique
10 software testing_technique
University of Computer Science and Technology
 
Black & White Box testing
Black & White Box testingBlack & White Box testing
Test design techniques
Test design techniquesTest design techniques
Test design techniques
Mohamed Elshenawy
 
Test case design_the_basicsv0.4
Test case design_the_basicsv0.4Test case design_the_basicsv0.4
Test case design_the_basicsv0.4
guest31fced
 
Software testing mtech project in ludhiana
Software testing mtech project in ludhianaSoftware testing mtech project in ludhiana
Software testing mtech project in ludhiana
deepikakaler1
 
Software testing mtech project in jalandhar
Software testing mtech project in jalandharSoftware testing mtech project in jalandhar
Software testing mtech project in jalandhar
deepikakaler1
 

What's hot (20)

Equivalence class testing
Equivalence  class testingEquivalence  class testing
Equivalence class testing
 
Control Flow Testing
Control Flow TestingControl Flow Testing
Control Flow Testing
 
White box testing
White box testing White box testing
White box testing
 
Unit testing
Unit testingUnit testing
Unit testing
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
Black Box Testing Techniques by Sampath M
Black Box Testing Techniques by Sampath MBlack Box Testing Techniques by Sampath M
Black Box Testing Techniques by Sampath M
 
Software testing introduction
Software testing introductionSoftware testing introduction
Software testing introduction
 
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)
 
Unit 2 - Test Case Design
Unit 2 - Test Case DesignUnit 2 - Test Case Design
Unit 2 - Test Case Design
 
Unit 3 Control Flow Testing
Unit 3   Control Flow TestingUnit 3   Control Flow Testing
Unit 3 Control Flow Testing
 
Black box testing lecture 11
Black box testing lecture 11Black box testing lecture 11
Black box testing lecture 11
 
Black box testing
Black box testingBlack box testing
Black box testing
 
Introduction to White box testing
Introduction to White box testingIntroduction to White box testing
Introduction to White box testing
 
Dynamic analysis in Software Testing
Dynamic analysis in Software TestingDynamic analysis in Software Testing
Dynamic analysis in Software Testing
 
10 software testing_technique
10 software testing_technique10 software testing_technique
10 software testing_technique
 
Black & White Box testing
Black & White Box testingBlack & White Box testing
Black & White Box testing
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
 
Test case design_the_basicsv0.4
Test case design_the_basicsv0.4Test case design_the_basicsv0.4
Test case design_the_basicsv0.4
 
Software testing mtech project in ludhiana
Software testing mtech project in ludhianaSoftware testing mtech project in ludhiana
Software testing mtech project in ludhiana
 
Software testing mtech project in jalandhar
Software testing mtech project in jalandharSoftware testing mtech project in jalandhar
Software testing mtech project in jalandhar
 

Viewers also liked

Decision CAMP 2014 - Howard Rogers - Programming with decision tables v01
Decision CAMP 2014 - Howard Rogers - Programming with decision tables v01Decision CAMP 2014 - Howard Rogers - Programming with decision tables v01
Decision CAMP 2014 - Howard Rogers - Programming with decision tables v01
Decision CAMP
 
Mule functional, blackbox, unit testing
Mule functional, blackbox, unit testingMule functional, blackbox, unit testing
Mule functional, blackbox, unit testing
veena naresh
 
Blackbox
BlackboxBlackbox
Blackbox
GuruKrishnaTeja
 
Manual testing
Manual testingManual testing
Manual testing
Mehul Chauhan
 
Code Complexity 101
Code Complexity 101Code Complexity 101
Code Complexity 101
Arun Saha
 
An introduction to Google test framework
An introduction to Google test frameworkAn introduction to Google test framework
An introduction to Google test framework
Abner Chih Yi Huang
 
Testing documents
Testing documentsTesting documents
Testing documents
suhasreddy1
 
Blackbox
BlackboxBlackbox
Blackbox
GuruKrishnaTeja
 
Atm flowchart
Atm flowchartAtm flowchart
Atm flowchart
nakomuri
 
Writing Test Cases 20110808
Writing Test Cases 20110808Writing Test Cases 20110808
Writing Test Cases 20110808
slovejoy
 
System testing ppt
System testing pptSystem testing ppt
System testing ppt
L ESHWAR
 
Database development progress(database)
Database development progress(database)Database development progress(database)
Database development progress(database)
welcometofacebook
 
Ch8.testing
Ch8.testingCh8.testing
Test Planning
Test PlanningTest Planning
Test Planning
Nivetha Padmanaban
 
Test planning
Test planningTest planning
Test planning
rahulcentra
 
Unit and integration Testing
Unit and integration TestingUnit and integration Testing
Unit and integration Testing
David Berliner
 
Test plan
Test planTest plan
Test plan
Akhila Bhaskar
 
Black box & white-box testing technique
Black box & white-box testing techniqueBlack box & white-box testing technique
Black box & white-box testing technique
SivaprasanthRentala1975
 
UNIT TESTING PPT
UNIT TESTING PPTUNIT TESTING PPT
UNIT TESTING PPT
suhasreddy1
 

Viewers also liked (19)

Decision CAMP 2014 - Howard Rogers - Programming with decision tables v01
Decision CAMP 2014 - Howard Rogers - Programming with decision tables v01Decision CAMP 2014 - Howard Rogers - Programming with decision tables v01
Decision CAMP 2014 - Howard Rogers - Programming with decision tables v01
 
Mule functional, blackbox, unit testing
Mule functional, blackbox, unit testingMule functional, blackbox, unit testing
Mule functional, blackbox, unit testing
 
Blackbox
BlackboxBlackbox
Blackbox
 
Manual testing
Manual testingManual testing
Manual testing
 
Code Complexity 101
Code Complexity 101Code Complexity 101
Code Complexity 101
 
An introduction to Google test framework
An introduction to Google test frameworkAn introduction to Google test framework
An introduction to Google test framework
 
Testing documents
Testing documentsTesting documents
Testing documents
 
Blackbox
BlackboxBlackbox
Blackbox
 
Atm flowchart
Atm flowchartAtm flowchart
Atm flowchart
 
Writing Test Cases 20110808
Writing Test Cases 20110808Writing Test Cases 20110808
Writing Test Cases 20110808
 
System testing ppt
System testing pptSystem testing ppt
System testing ppt
 
Database development progress(database)
Database development progress(database)Database development progress(database)
Database development progress(database)
 
Ch8.testing
Ch8.testingCh8.testing
Ch8.testing
 
Test Planning
Test PlanningTest Planning
Test Planning
 
Test planning
Test planningTest planning
Test planning
 
Unit and integration Testing
Unit and integration TestingUnit and integration Testing
Unit and integration Testing
 
Test plan
Test planTest plan
Test plan
 
Black box & white-box testing technique
Black box & white-box testing techniqueBlack box & white-box testing technique
Black box & white-box testing technique
 
UNIT TESTING PPT
UNIT TESTING PPTUNIT TESTING PPT
UNIT TESTING PPT
 

Similar to Implementing Blackbox Testing

CTFL Module 04
CTFL Module 04CTFL Module 04
CTFL Module 04
Davis Thomas
 
Paper 06
Paper 06Paper 06
Paper 06
Sunil Pandey
 
Quiz3 tonghop
 Quiz3 tonghop Quiz3 tonghop
Quiz3 tonghop
Daewoo Han
 
Code coverage in theory and in practice form the do178 b perspective
Code coverage in theory and in practice form the do178 b perspectiveCode coverage in theory and in practice form the do178 b perspective
Code coverage in theory and in practice form the do178 b perspective
Engineering Software Lab
 
Code Coverage in Theory and in practice form the DO178B perspective
Code Coverage in Theory and in practice form the DO178B perspective   Code Coverage in Theory and in practice form the DO178B perspective
Code Coverage in Theory and in practice form the DO178B perspective
Engineering Software Lab
 
Test Case Design and Technique
Test Case Design and TechniqueTest Case Design and Technique
Test Case Design and Technique
ANKUR-BA
 
Test Case Design
Test Case DesignTest Case Design
Test Case Design
Vidya-QA
 
Test Case Design & Technique
Test Case Design & TechniqueTest Case Design & Technique
Test Case Design & Technique
Rajesh-QA
 
Test Case Design and Technique
Test Case Design and TechniqueTest Case Design and Technique
Test Case Design and Technique
Fayis-QA
 
Test Case Design and Technique
Test Case Design and TechniqueTest Case Design and Technique
Test Case Design and Technique
Sachin-QA
 
software testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblbsoftware testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblb
jeyasrig
 
CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4
SIMONTHOMAS S
 
Fundamental Test Design Techniques
Fundamental Test Design TechniquesFundamental Test Design Techniques
Fundamental Test Design Techniques
TechWell
 
Testcase design techniques final
Testcase design techniques finalTestcase design techniques final
Testcase design techniques final
shraavank
 
Testing Software Solutions
Testing Software SolutionsTesting Software Solutions
Testing Software Solutions
gavhays
 
Testing
TestingTesting
A PRACTITIONER'S GUIDE TO SOFTWARE TEST DESIGN [Summary]
A PRACTITIONER'S GUIDE TO SOFTWARE TEST DESIGN [Summary]A PRACTITIONER'S GUIDE TO SOFTWARE TEST DESIGN [Summary]
A PRACTITIONER'S GUIDE TO SOFTWARE TEST DESIGN [Summary]
Khizra Sammad
 
SE-CyclomaticComplexityand Testing.ppt
SE-CyclomaticComplexityand Testing.pptSE-CyclomaticComplexityand Testing.ppt
SE-CyclomaticComplexityand Testing.ppt
vishal choudhary
 
Softwar tetesting basic
Softwar tetesting basicSoftwar tetesting basic
Softwar tetesting basic
parekhjigarh
 
Software testing definition
Software testing definitionSoftware testing definition
Software testing definition
Hiro Mia
 

Similar to Implementing Blackbox Testing (20)

CTFL Module 04
CTFL Module 04CTFL Module 04
CTFL Module 04
 
Paper 06
Paper 06Paper 06
Paper 06
 
Quiz3 tonghop
 Quiz3 tonghop Quiz3 tonghop
Quiz3 tonghop
 
Code coverage in theory and in practice form the do178 b perspective
Code coverage in theory and in practice form the do178 b perspectiveCode coverage in theory and in practice form the do178 b perspective
Code coverage in theory and in practice form the do178 b perspective
 
Code Coverage in Theory and in practice form the DO178B perspective
Code Coverage in Theory and in practice form the DO178B perspective   Code Coverage in Theory and in practice form the DO178B perspective
Code Coverage in Theory and in practice form the DO178B perspective
 
Test Case Design and Technique
Test Case Design and TechniqueTest Case Design and Technique
Test Case Design and Technique
 
Test Case Design
Test Case DesignTest Case Design
Test Case Design
 
Test Case Design & Technique
Test Case Design & TechniqueTest Case Design & Technique
Test Case Design & Technique
 
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
 
software testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblbsoftware testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblb
 
CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4
 
Fundamental Test Design Techniques
Fundamental Test Design TechniquesFundamental Test Design Techniques
Fundamental Test Design Techniques
 
Testcase design techniques final
Testcase design techniques finalTestcase design techniques final
Testcase design techniques final
 
Testing Software Solutions
Testing Software SolutionsTesting Software Solutions
Testing Software Solutions
 
Testing
TestingTesting
Testing
 
A PRACTITIONER'S GUIDE TO SOFTWARE TEST DESIGN [Summary]
A PRACTITIONER'S GUIDE TO SOFTWARE TEST DESIGN [Summary]A PRACTITIONER'S GUIDE TO SOFTWARE TEST DESIGN [Summary]
A PRACTITIONER'S GUIDE TO SOFTWARE TEST DESIGN [Summary]
 
SE-CyclomaticComplexityand Testing.ppt
SE-CyclomaticComplexityand Testing.pptSE-CyclomaticComplexityand Testing.ppt
SE-CyclomaticComplexityand Testing.ppt
 
Softwar tetesting basic
Softwar tetesting basicSoftwar tetesting basic
Softwar tetesting basic
 
Software testing definition
Software testing definitionSoftware testing definition
Software testing definition
 

More from Edureka!

What to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaWhat to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | Edureka
Edureka!
 
Top 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaTop 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
Edureka!
 
Top 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaTop 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
Edureka!
 
Tableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaTableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | Edureka
Edureka!
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaPython Programming Tutorial | Edureka
Python Programming Tutorial | Edureka
Edureka!
 
Top 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaTop 5 PMP Certifications | Edureka
Top 5 PMP Certifications | Edureka
Edureka!
 
Top Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaTop Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | Edureka
Edureka!
 
Linux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaLinux Mint Tutorial | Edureka
Linux Mint Tutorial | Edureka
Edureka!
 
How to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaHow to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| Edureka
Edureka!
 
Importance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaImportance of Digital Marketing | Edureka
Importance of Digital Marketing | Edureka
Edureka!
 
RPA in 2020 | Edureka
RPA in 2020 | EdurekaRPA in 2020 | Edureka
RPA in 2020 | Edureka
Edureka!
 
Email Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEmail Notifications in Jenkins | Edureka
Email Notifications in Jenkins | Edureka
Edureka!
 
EA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | Edureka
Edureka!
 
Cognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaCognitive AI Tutorial | Edureka
Cognitive AI Tutorial | Edureka
Edureka!
 
AWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaAWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
Edureka!
 
Blue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaBlue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | Edureka
Edureka!
 
Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka
Edureka!
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaA star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Edureka!
 
Kubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaKubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | Edureka
Edureka!
 
Introduction to DevOps | Edureka
Introduction to DevOps | EdurekaIntroduction to DevOps | Edureka
Introduction to DevOps | Edureka
Edureka!
 

More from Edureka! (20)

What to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaWhat to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | Edureka
 
Top 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaTop 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
 
Top 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaTop 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
 
Tableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaTableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | Edureka
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaPython Programming Tutorial | Edureka
Python Programming Tutorial | Edureka
 
Top 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaTop 5 PMP Certifications | Edureka
Top 5 PMP Certifications | Edureka
 
Top Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaTop Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | Edureka
 
Linux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaLinux Mint Tutorial | Edureka
Linux Mint Tutorial | Edureka
 
How to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaHow to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| Edureka
 
Importance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaImportance of Digital Marketing | Edureka
Importance of Digital Marketing | Edureka
 
RPA in 2020 | Edureka
RPA in 2020 | EdurekaRPA in 2020 | Edureka
RPA in 2020 | Edureka
 
Email Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEmail Notifications in Jenkins | Edureka
Email Notifications in Jenkins | Edureka
 
EA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | Edureka
 
Cognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaCognitive AI Tutorial | Edureka
Cognitive AI Tutorial | Edureka
 
AWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaAWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
 
Blue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaBlue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | Edureka
 
Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaA star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
 
Kubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaKubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | Edureka
 
Introduction to DevOps | Edureka
Introduction to DevOps | EdurekaIntroduction to DevOps | Edureka
Introduction to DevOps | Edureka
 

Recently uploaded

The Challenge of Interpretability in Generative AI Models.pdf
The Challenge of Interpretability in Generative AI Models.pdfThe Challenge of Interpretability in Generative AI Models.pdf
The Challenge of Interpretability in Generative AI Models.pdf
Sara Kroft
 
Increase Quality with User Access Policies - July 2024
Increase Quality with User Access Policies - July 2024Increase Quality with User Access Policies - July 2024
Increase Quality with User Access Policies - July 2024
Peter Caitens
 
Self-Healing Test Automation Framework - Healenium
Self-Healing Test Automation Framework - HealeniumSelf-Healing Test Automation Framework - Healenium
Self-Healing Test Automation Framework - Healenium
Knoldus Inc.
 
Welcome to Cyberbiosecurity. Because regular cybersecurity wasn't complicated...
Welcome to Cyberbiosecurity. Because regular cybersecurity wasn't complicated...Welcome to Cyberbiosecurity. Because regular cybersecurity wasn't complicated...
Welcome to Cyberbiosecurity. Because regular cybersecurity wasn't complicated...
Snarky Security
 
NVIDIA at Breakthrough Discuss for Space Exploration
NVIDIA at Breakthrough Discuss for Space ExplorationNVIDIA at Breakthrough Discuss for Space Exploration
NVIDIA at Breakthrough Discuss for Space Exploration
Alison B. Lowndes
 
Redefining Cybersecurity with AI Capabilities
Redefining Cybersecurity with AI CapabilitiesRedefining Cybersecurity with AI Capabilities
Redefining Cybersecurity with AI Capabilities
Priyanka Aash
 
Keynote : AI & Future Of Offensive Security
Keynote : AI & Future Of Offensive SecurityKeynote : AI & Future Of Offensive Security
Keynote : AI & Future Of Offensive Security
Priyanka Aash
 
Exchange, Entra ID, Conectores, RAML: Todo, a la vez, en todas partes
Exchange, Entra ID, Conectores, RAML: Todo, a la vez, en todas partesExchange, Entra ID, Conectores, RAML: Todo, a la vez, en todas partes
Exchange, Entra ID, Conectores, RAML: Todo, a la vez, en todas partes
jorgelebrato
 
FIDO Munich Seminar: Strong Workforce Authn Push & Pull Factors.pptx
FIDO Munich Seminar: Strong Workforce Authn Push & Pull Factors.pptxFIDO Munich Seminar: Strong Workforce Authn Push & Pull Factors.pptx
FIDO Munich Seminar: Strong Workforce Authn Push & Pull Factors.pptx
FIDO Alliance
 
"Building Future-Ready Apps with .NET 8 and Azure Serverless Ecosystem", Stan...
"Building Future-Ready Apps with .NET 8 and Azure Serverless Ecosystem", Stan..."Building Future-Ready Apps with .NET 8 and Azure Serverless Ecosystem", Stan...
"Building Future-Ready Apps with .NET 8 and Azure Serverless Ecosystem", Stan...
Fwdays
 
Top 12 AI Technology Trends For 2024.pdf
Top 12 AI Technology Trends For 2024.pdfTop 12 AI Technology Trends For 2024.pdf
Top 12 AI Technology Trends For 2024.pdf
Marrie Morris
 
FIDO Munich Seminar: FIDO Tech Principles.pptx
FIDO Munich Seminar: FIDO Tech Principles.pptxFIDO Munich Seminar: FIDO Tech Principles.pptx
FIDO Munich Seminar: FIDO Tech Principles.pptx
FIDO Alliance
 
Finetuning GenAI For Hacking and Defending
Finetuning GenAI For Hacking and DefendingFinetuning GenAI For Hacking and Defending
Finetuning GenAI For Hacking and Defending
Priyanka Aash
 
FIDO Munich Seminar Workforce Authentication Case Study.pptx
FIDO Munich Seminar Workforce Authentication Case Study.pptxFIDO Munich Seminar Workforce Authentication Case Study.pptx
FIDO Munich Seminar Workforce Authentication Case Study.pptx
FIDO Alliance
 
Garbage In, Garbage Out: Why poor data curation is killing your AI models (an...
Garbage In, Garbage Out: Why poor data curation is killing your AI models (an...Garbage In, Garbage Out: Why poor data curation is killing your AI models (an...
Garbage In, Garbage Out: Why poor data curation is killing your AI models (an...
Zilliz
 
Mastering Board Best Practices: Essential Skills for Effective Non-profit Lea...
Mastering Board Best Practices: Essential Skills for Effective Non-profit Lea...Mastering Board Best Practices: Essential Skills for Effective Non-profit Lea...
Mastering Board Best Practices: Essential Skills for Effective Non-profit Lea...
OnBoard
 
Choosing the Best Outlook OST to PST Converter: Key Features and Considerations
Choosing the Best Outlook OST to PST Converter: Key Features and ConsiderationsChoosing the Best Outlook OST to PST Converter: Key Features and Considerations
Choosing the Best Outlook OST to PST Converter: Key Features and Considerations
webbyacad software
 
Keynote : Presentation on SASE Technology
Keynote : Presentation on SASE TechnologyKeynote : Presentation on SASE Technology
Keynote : Presentation on SASE Technology
Priyanka Aash
 
Cracking AI Black Box - Strategies for Customer-centric Enterprise Excellence
Cracking AI Black Box - Strategies for Customer-centric Enterprise ExcellenceCracking AI Black Box - Strategies for Customer-centric Enterprise Excellence
Cracking AI Black Box - Strategies for Customer-centric Enterprise Excellence
Quentin Reul
 
AMD Zen 5 Architecture Deep Dive from Tech Day
AMD Zen 5 Architecture Deep Dive from Tech DayAMD Zen 5 Architecture Deep Dive from Tech Day
AMD Zen 5 Architecture Deep Dive from Tech Day
Low Hong Chuan
 

Recently uploaded (20)

The Challenge of Interpretability in Generative AI Models.pdf
The Challenge of Interpretability in Generative AI Models.pdfThe Challenge of Interpretability in Generative AI Models.pdf
The Challenge of Interpretability in Generative AI Models.pdf
 
Increase Quality with User Access Policies - July 2024
Increase Quality with User Access Policies - July 2024Increase Quality with User Access Policies - July 2024
Increase Quality with User Access Policies - July 2024
 
Self-Healing Test Automation Framework - Healenium
Self-Healing Test Automation Framework - HealeniumSelf-Healing Test Automation Framework - Healenium
Self-Healing Test Automation Framework - Healenium
 
Welcome to Cyberbiosecurity. Because regular cybersecurity wasn't complicated...
Welcome to Cyberbiosecurity. Because regular cybersecurity wasn't complicated...Welcome to Cyberbiosecurity. Because regular cybersecurity wasn't complicated...
Welcome to Cyberbiosecurity. Because regular cybersecurity wasn't complicated...
 
NVIDIA at Breakthrough Discuss for Space Exploration
NVIDIA at Breakthrough Discuss for Space ExplorationNVIDIA at Breakthrough Discuss for Space Exploration
NVIDIA at Breakthrough Discuss for Space Exploration
 
Redefining Cybersecurity with AI Capabilities
Redefining Cybersecurity with AI CapabilitiesRedefining Cybersecurity with AI Capabilities
Redefining Cybersecurity with AI Capabilities
 
Keynote : AI & Future Of Offensive Security
Keynote : AI & Future Of Offensive SecurityKeynote : AI & Future Of Offensive Security
Keynote : AI & Future Of Offensive Security
 
Exchange, Entra ID, Conectores, RAML: Todo, a la vez, en todas partes
Exchange, Entra ID, Conectores, RAML: Todo, a la vez, en todas partesExchange, Entra ID, Conectores, RAML: Todo, a la vez, en todas partes
Exchange, Entra ID, Conectores, RAML: Todo, a la vez, en todas partes
 
FIDO Munich Seminar: Strong Workforce Authn Push & Pull Factors.pptx
FIDO Munich Seminar: Strong Workforce Authn Push & Pull Factors.pptxFIDO Munich Seminar: Strong Workforce Authn Push & Pull Factors.pptx
FIDO Munich Seminar: Strong Workforce Authn Push & Pull Factors.pptx
 
"Building Future-Ready Apps with .NET 8 and Azure Serverless Ecosystem", Stan...
"Building Future-Ready Apps with .NET 8 and Azure Serverless Ecosystem", Stan..."Building Future-Ready Apps with .NET 8 and Azure Serverless Ecosystem", Stan...
"Building Future-Ready Apps with .NET 8 and Azure Serverless Ecosystem", Stan...
 
Top 12 AI Technology Trends For 2024.pdf
Top 12 AI Technology Trends For 2024.pdfTop 12 AI Technology Trends For 2024.pdf
Top 12 AI Technology Trends For 2024.pdf
 
FIDO Munich Seminar: FIDO Tech Principles.pptx
FIDO Munich Seminar: FIDO Tech Principles.pptxFIDO Munich Seminar: FIDO Tech Principles.pptx
FIDO Munich Seminar: FIDO Tech Principles.pptx
 
Finetuning GenAI For Hacking and Defending
Finetuning GenAI For Hacking and DefendingFinetuning GenAI For Hacking and Defending
Finetuning GenAI For Hacking and Defending
 
FIDO Munich Seminar Workforce Authentication Case Study.pptx
FIDO Munich Seminar Workforce Authentication Case Study.pptxFIDO Munich Seminar Workforce Authentication Case Study.pptx
FIDO Munich Seminar Workforce Authentication Case Study.pptx
 
Garbage In, Garbage Out: Why poor data curation is killing your AI models (an...
Garbage In, Garbage Out: Why poor data curation is killing your AI models (an...Garbage In, Garbage Out: Why poor data curation is killing your AI models (an...
Garbage In, Garbage Out: Why poor data curation is killing your AI models (an...
 
Mastering Board Best Practices: Essential Skills for Effective Non-profit Lea...
Mastering Board Best Practices: Essential Skills for Effective Non-profit Lea...Mastering Board Best Practices: Essential Skills for Effective Non-profit Lea...
Mastering Board Best Practices: Essential Skills for Effective Non-profit Lea...
 
Choosing the Best Outlook OST to PST Converter: Key Features and Considerations
Choosing the Best Outlook OST to PST Converter: Key Features and ConsiderationsChoosing the Best Outlook OST to PST Converter: Key Features and Considerations
Choosing the Best Outlook OST to PST Converter: Key Features and Considerations
 
Keynote : Presentation on SASE Technology
Keynote : Presentation on SASE TechnologyKeynote : Presentation on SASE Technology
Keynote : Presentation on SASE Technology
 
Cracking AI Black Box - Strategies for Customer-centric Enterprise Excellence
Cracking AI Black Box - Strategies for Customer-centric Enterprise ExcellenceCracking AI Black Box - Strategies for Customer-centric Enterprise Excellence
Cracking AI Black Box - Strategies for Customer-centric Enterprise Excellence
 
AMD Zen 5 Architecture Deep Dive from Tech Day
AMD Zen 5 Architecture Deep Dive from Tech DayAMD Zen 5 Architecture Deep Dive from Tech Day
AMD Zen 5 Architecture Deep Dive from Tech Day
 

Implementing Blackbox Testing

  • 1. www.edureka.co/software-testing View Software Testing course details at www.edureka.co/software-testing Recording of the presentation will be available in 24 hrs Implementing Black Box Testing
  • 2. Slide 2 www.edureka.co/software-testing Objectives At the end of this session, you will be able to:  Understand Software Testing  Understand different types of Software Testing  Understand Black Box Testing & White Box Testing  Understand difference between Black Box and White Box Testing  Implement Black Box Testing » Equivalence Class Testing » Boundary Value Analysis » Decision Table Testing
  • 3. Slide 3 www.edureka.co/software-testingSlide 3 What is Software Testing Software Testing is the process of validating and verifying that a software application or product works as expected
  • 4. Slide 4 www.edureka.co/software-testingSlide 4 Classification of Software Testing Software Testing Black Box Testing White Box Testing Unit Testing Regression Testing Integration Testing
  • 5. Slide 5 www.edureka.co/software-testingSlide 5 Black Box Testing Black box testing is a software testing technique in which functionality of the software is tested without looking at the internal code structure Black Box Testing can entirely be done on the basis of software requirements and specifications In Black Box testing, tester tests the software/application by applying different inputs and comparing the output with the expected result Black Box Input Output Black Box Testing is also known as Behavioral Testing Flow and Working
  • 6. Slide 6 www.edureka.co/software-testingSlide 6 White Box Testing White Box Testing is software testing technique based on analysis of internal logic (design, code, etc.). It’s important to note that expected results still come from requirements White Box Testing is usually done by developers and difficult as developers can't easily spot flaws in their own code Code coverage and Path testing are well known White Box Testing techniques White Box Testing is also known as Structural Testing White Box Input Output Design and code
  • 7. Slide 7 www.edureka.co/software-testingSlide 7 Difference b/w Black Box and White Box Testing Black Box • Not Required • Software Testers • Not Required • Requirement Specifications White Box • Required • Software Developers • Required • Detail Design Knowledge of internal structure of test application Responsibility Programming Knowledge Basis for Test Cases
  • 8. Slide 8 www.edureka.co/software-testingSlide 8 Techniques of Black Box Testing There are various techniques used to perform Black Box Testing. Some of them are listed below Partition 1 Partition 2 Partition 3 10 10 11 Invalid Valid Invalid 1 10 Partition 1 Partition 2 Partition 3 Equivalence class partitioning Boundary Value Analysis(BVA) Decision Table Testing Condition R1 R2 R3 R4 Input 1 F F T T Input 2 F T F T Action ERR ERR ERR GO Invalid Valid Invalid
  • 9. Slide 9 www.edureka.co/software-testingSlide 9 Equivalence Class Partitioning (ECP) Usually its not possible to perform exhaustive testing when there is large test data either due to time or budget constraints Equivalence Class Partitioning is a very efficient technique used to cut down the number of test data to test the application Example 1 12<1 >12 Invalid Valid Invalid Rather than testing the application for all number between 1 and 12, numbers <1 and >12, we can partition test data into 3 sets, first for valid partition (1 -12), second for invalid partition (<1) and third invalid partition (>12) Test Application May, Sept
  • 10. Slide 10 www.edureka.co/software-testingSlide 10 Applying Equivalence Class Partitioning According to our example the test data can be partitioned into following classes …, -3, -2, -1, 0 1, 2, 3…….., 12 13, 14, 15…….. Invalid Partition 1 Valid Partition Invalid Partition 2 Now to test the application tester can use any one number from each partition So we can test the application with only three numbers (any one number from each partition) Each number of a particular class partition will generate the same result. This is why this technique is called Equivalence Class Partitioning
  • 11. Slide 11 www.edureka.co/software-testingSlide 11 What about Boundaries? Equivalence Class Partitioning does not guarantee to test the application on boundary values. It gives the same weightage to both numbers within partition and numbers on the boundary …, -3, -2, -1, 0 1, 2, 3…….., 12 13, 14, 15…….. Invalid Partition 1 Valid Partition Invalid Partition 2 What happens if the test fails on the boundary values? To ensure that a tester tests the application on boundary values also we can use Boundary Value Analysis technique
  • 12. Slide 12 www.edureka.co/software-testingSlide 12 Boundary Value Analysis (BVA) Decision boundaries are places where the behavior of the system changes Boundary Value Analysis is an important technique as it is widely recognized that values on the boundaries cause more errors in system Therefore a tester should always check the boundaries as if the system fails, it is likely to fail on these decision boundaries [0,1] [12,13]<1 >12 It is very important that tester test the application on boundary values. Equivalence Partitioning and Boundary Value Analysis are used together at all levels of testing e.g. unit testing, integration testing Invalid Valid Invalid
  • 13. Slide 13 www.edureka.co/software-testingSlide 13 Applying Boundary Value Analysis (BVA) Consider the previous example where we partition the test data into three classes In Boundary Value Analysis a tester must also check on boundary values in addition to other test data Lets apply Boundary value Analysis to the previous example …, -3, -2, -1, 0 1, 2, 3…….., 12 13, 14, 15…….. Invalid Partition 1 Valid Partition Invalid Partition 2 To apply BVA, we will take the minimum and maximum (boundary) values from the valid partition (1 and 12 in this case) together with the first or last value respectively in each of the invalid partitions adjacent to the valid partition (0 and 13 in this case)
  • 14. Slide 14 www.edureka.co/software-testingSlide 14 ECP and BVA Together According to the example we would have three equivalence partitioning tests (one from each of the three partitions) and four boundary value tests  To perform both Equivalence portioning and BVA tests a tester can use one of the below combination of test data » [-3, 6, 20] (for equivalence partitioning tests ) and [0,1,12,13] (for boundary value tests) » [-4, 4, 14] (for equivalence partitioning tests ) and [0,1,12,13] (for boundary value tests) » [-1, 5, 15] (for equivalence partitioning tests ) and [0,1,12,13] (for boundary value tests)
  • 15. Slide 15 www.edureka.co/software-testingSlide 15 Decision Table Testing  Decision Table Testing is a good way to deal with a combination of inputs, which produce different results and are used to model complicated logic  It helps reduce test effort in verifying each and every combination of test data, at the same time ensuring complete coverage The biggest advantage of using decision tables is that they make it possible to detect combinations of conditions that would otherwise not have been found and therefore not tested or developed
  • 16. Slide 16 www.edureka.co/software-testingSlide 16 Decision Table Testing Let’s take an example scenario for an ATM where a decision table would be of use  A customer requests a cash withdrawal  One of the business rules for the ATM is that the ATM machine pays out the amount if the customer has sufficient funds in their account or if the customer has the credit granted. In a decision table, conditions are usually expressed as true (T) or false (F) Conditions R1 R2 R3 Withdrawal Amount <= Balance T F F Credit granted - T F Withdrawal granted T T F Decision Table Each column in the table corresponds to a rule in the business logic that describes the unique combination of circumstances that will result in the actions
  • 17. Slide 17 www.edureka.co/software-testingSlide 17 Decision Table Testing Lets consider another example of how we can model a scenario of book borrowing from college library Conditions R1 R2 R3 R4 R5 R6 R7 R8 User Registered ? F F F F T T T T No Pending Fees ? F F T T F F T T Under Borrow Limit? F T F T F T F T Borrow Book No No No No No No No Yes User will only be allowed to borrow a book when user is registered, user does not have any outstanding fees and he have not exceeded the book borrowing limit If the user is not registered, then the other two inputs are irrelevant
  • 18. Slide 18 www.edureka.co/software-testingSlide 18 Simplifying Decision Tables  Note that in our decision table we have 8 possible combinations but we can simplify the decision table by examining the decision table and merging the similar combinations Conditions R1 R2 R3 R4 R5 User Registered ? F T T T T No Pending Fees ? - F F T T Under Borrow Limit? - F T F T Borrow Book No No No No Yes If the user is having pending fees, then also he cannot borrow books even if he has borrow limits We have merged the first four columns as the user is not registered
  • 19. Slide 19 www.edureka.co/software-testingSlide 19 Simplifying Decision Tables (Contd.) Again we can simplify the decision table as is does not matter whether user has borrow limit or not. If user has pending fees, then the user can not borrow book Conditions R1 R2 R3 R4 User Registered ? F T T T No Pending Fees ? - F T T Under Borrow Limit? - - F T Borrow Book No No No Yes We have merged the next two columns as the user was having pending fees
  • 21. Slide 21 www.edureka.co/software-testing LIVE Online Class Class Recording in LMS 24/7 Post Class Support Module Wise Quiz Project Work Verifiable Certificate Course Features
  • 22. Slide 22 www.edureka.co/software-testing Course Topics  Module 6 » Test Execution  Module 7 » Defect Management  Module 8 » Reporting & Team Collaboration  Module 9 » Metrics & Measurement  Module 10 » Testing Tools & FAQs  Module 1 » Introduction to Software Testing Life Cycle  Module 2 » Test Planning  Module 3 » Test Design  Module 4 » Test Techniques  Module 5 » Levels & Types Of Testing
  • 23. Slide 23 www.edureka.co/software-testing 20% Discount on Software Testing Course For further query, please reach us: India: +91 88808 62004 US: 1800 275 9730 (toll free) As an Early bird offer, here's our big bang surprise for you Enroll and get flat 20% off on Software Testing course 20% OFF Offer valid till 10th May only