SlideShare a Scribd company logo
1 of 34
ISTQB
Foundation Level Series
Black Box Testing Techniques
@ 2016 Disha Srivastava
“Software testing techniques in which functionality of the
software under test (SUT) is tested without looking at
the internal structure or working of the software”
Black Box Testing is based on program requirements and product specifications
ISTQB
Foundation Level
Black Box Testing
Executable ProgramInput Output
@ 2016 Disha Srivastava
Black Box Testing just focuses on inputs and output as per
application specifications.
Black Box can be any application / software which needs to be tested.
e.g : an operating system like android, a website like facebook, an
application like MS Office or Skype or a bespoke solution
Black Box is also know as functional or behavioral testing
ISTQB
Foundation Level
Black Box Testing
@ 2016 Disha Srivastava
Where to use Black Box Testing :
It’s is used in the following stages of the software development life cycle:
 Component Testing
 Integration Testing (or IUT - integration unit testing)
 Systems Testing (ST)
 Systems Integration Testing (SIT)
 User Acceptance Testing (UAT)
 Assisting in the business verification and validation of the application – Operational
Acceptance Testing (OAT)
Black Box Testing can be used in any phase of project
ISTQB
Foundation Level
Black Box Testing
@ 2016 Disha Srivastava
What is typically included in Black Box Testing :
Black Box testing pack often contains large number of overall test
cases to cover testing of the following:
 Business Rules
 Business Process
 Data Validation
 Data Mapping
 Key Mapping Validation
 Filtering
 Derived calculations
ISTQB
Foundation Level
Black Box Testing
@ 2016 Disha Srivastava
Types of Black Box Testing Techniques:
ISTQB
Foundation Level
Black Box Testing
Error Guessing
Cause-Effect Graphing
@ 2016 Disha Srivastava
“
Equivalence Partitioning
@ 2016 Disha Srivastava
o Exhaustive testing of every possible input value combinations is:
• Expensive
• Time consuming
o Equivalence Partitioning is an efficient technique to cut down
the test data sets and hence test cases to test the application
• Break set of test cases into sub-sets
• Choose representative values for each subset and ensure that we
test these.
• Each subset of tests is thought of as a partition between
neighbouring subsets or domains
ISTQB
Foundation Level
Equivalence Partitioning
@ 2016 Disha Srivastava
 Equivalence class is a subset of data that falls into
categories where the system responds in a similar manner
 Equivalence partitioning is a technique for testing
equivalence rather than undertaking exhaustive testing of
each value of the larger class
Equivalence partitioning also know as equivalence class partitioning (ECP)
ISTQB
Foundation Level
Equivalence Partitioning - Definition
@ 2016 Disha Srivastava
o Selects classes of inputs that will be expected to be handled in
the same way.
o Equivalence classes are identified based on the set of valid or invalid
states for each input condition. An input condition can be :
• A specific numeric value
• A range of values
• A set of related values
• A Boolean condition
o Within a group of data, a representative input can be selected
for testing
ISTQB
Foundation Level
Equivalence Partitioning – How to do it
@ 2016 Disha Srivastava
o If an input condition specifies a range, one valid and two
invalid equivalence class are defined
o If an input condition requires a specific value, one valid and
two invalid equivalence classes are defined
o If an input condition specifies a member of a set, one valid and
one invalid equivalence classes are defined
o If an input condition is Boolean, one valid and one invalid
classes are defined
[Pressman 2004]
ISTQB
Foundation Level
Equivalence Partitioning – Guidelines
@ 2016 Disha Srivastava
“
Equivalence Partitioning - Examples
@ 2016 Disha Srivastava
Requirement :
Program for computing grades based on the marks scored by students, where
the input variable is Marks. The rule of computing the grade is as follows:
ISTQB
Foundation Level
Equivalence Partitioning – Example 1
Marks Grade
100 – 90 A
89 – 80 B
79 – 70 C
69 – 60 D
59 – 0 F
For the exercise only consider integer years.
@ 2016 Disha Srivastava
Equivalence Classes :
•The input domain of Marks can be partitioned into 5 valid equivalence
classes and 2 invalid equivalence classes
• Valid classes: 0~59, 60~69, 70~79, 80~89, 90~100
• Invalid classes: smaller than 0 and greater than 100
• Any data value within a class is considered equivalence in terms of
testing
• Using the equivalence partitioning testing, we can reduce the test
cases from 100 (assume 0 <= score <= 100) to 7
ISTQB
Foundation Level
Equivalence Partitioning – Example 1
@ 2016 Disha Srivastava
Requirement :
“The customer is eligible for a life insurance discount if they are at least
18 and no older than 56 years of age.”
ISTQB
Foundation Level
Equivalence Partitioning – Example 2
For the exercise only consider integer years.
18 56
Invalid Partition
< 18
Invalid Partition
> 56
Valid Partition
Range 18 to 56
@ 2016 Disha Srivastava
Requirement :
“The customer is eligible for a life insurance discount if they are over 18
and less than 56 years of age.”
ISTQB
Foundation Level
Equivalence Partitioning – Example 3
For the exercise only consider integer years.
18 56
Invalid Partition
=< 18
Invalid Partition
> 56
Valid Partition
Range 19 to 56
People aged exactly 18 or exactly 56 would now not get a discount.
@ 2016 Disha Srivastava
Requirement :
• Customers must be at least 18.
• Customers are eligible for a life insurance discount of 40% if they are at least 18 and no older than 25
years of age.
• Customers are entitled to a 30% discount if they are older than 25 years of age, but under 40.
• Customers are entitled to a 10% discount if they are 40 or over, but no older than 56.
• Over 56 customers are not entitled to a discount.”
ISTQB
Foundation Level
Equivalence Partitioning – Example 4
For the exercise only consider integer years.
18 25
40% discount
40
10% discount
56
10% discount 0% discountInvalid <18
@ 2016 Disha Srivastava
Requirement :
“Eligible Age field on a form contains a text box which accepts numeric
values in the range of 18 to 26. Identify the invalid Equivalence class”
ISTQB
Foundation Level
Equivalence Partitioning – Example 5
For the exercise only consider integer years.
18 26
Invalid Partition
< 18
Invalid Partition
> 26
Valid Partition
Range 18 to 26
@ 2016 Disha Srivastava
Requirement :
“ Program edits credit limits within a given range ($10,000 - $15,000)”
ISTQB
Foundation Level
Equivalence Partitioning – Example 6
For the exercise only consider integer years.
$ 10,000 $ 15,000
Invalid Partition
< $10,000
Invalid Partition
> $ 15,000
Valid Partition
Range $ 10,000 to $ 15,000
@ 2016 Disha Srivastava
Requirement :
Flight reservation application
Ticket values [Number of tickets a user can book in single session] 1 to 10 are considered valid
& ticket is booked.
While value 11 to 99 are considered invalid for reservation and error message will
appear, "Only ten tickets may be ordered at one time.“
Identify valid/ invalid set
ISTQB
Foundation Level
Equivalence Partitioning – Example 7
For the exercise only consider integer years.
10
Valid Partition
No of tickets: 1 to 10
Invalid Partition
No of tickets: 11 to 99
1000
Invalid Partition
No of tickets > 99
Invalid Partition
No of tickets < 1
@ 2016 Disha Srivastava
Requirement :
• 3% rate of interest is given if account balance is in the range of $0 to $100
• 5% rate of interest is given if account balance is in the range of $100 to $1000
• 7% rate of interest is given if account balance is $1000 and above
Identify valid/invalid equivalence partitions
ISTQB
Foundation Level
Equivalence Partitioning – Example 8
For the exercise only consider integer years.
100
Valid Partition
Account balance 0 to 100
Valid Partition
Account balance 100 to 1000
10000
Valid Partition
Account balance >= 1000
Invalid Partition
Account balance < 1
@ 2016 Disha Srivastava
“
Boundary Value Analysis (BVA)
@ 2016 Disha Srivastava
o Based on testing experience, a large % of errors are found at the
boundaries of an input/output domain than in the “center”.
o In addition to select test data “inside” an equivalence class, data at the
“edges” of the equivalence class also need to be examined
o Boundary Value analysis (BVA)
• A test case design technique complements to equivalence partition
• Define boundary using equivalence partition
• Select of test cases that exercise bounding values (“edge” of the class)
ISTQB
Foundation Level
Boundary Value Analysis
@ 2016 Disha Srivastava
o Based on experience / heuristics
• Testing boundary conditions of equivalence classes is more effective
o Choose input boundary values as equivalence classes representatives
o Choose inputs that invoke output boundary values
o Boundary value
“A data value that corresponds to a minimum or maximum input, internal, or output
value specified for a system or component.”
o Examples:
[1, 10] ⇒ validate using 0, 1, 2, 9, 10, 11
ISTQB
Foundation Level
Boundary Value Analysis
Boundary Limit
Boundary Limit + 1Boundary Limit -1
@ 2016 Disha Srivastava
ISTQB
Foundation Level
Boundary Value Analysis – Example 1
Requirement : “Input condition has a range from a to b ( a = 20 to
b= 60).”
o BVA test cases, consider the following :
• Immediately below a (19)
• At a (20)
• Immediately above a (21)
• Immediately below b (59)
• At b (60)
• Immediately above b (61)
20 60
19 21 59 61
If significant digit was second decimal place, then the limits above would be +/- 0.01
@ 2016 Disha Srivastava
ISTQB
Foundation Level
Boundary Value Analysis – Example 2
Requirement :
“The customer is eligible for a life insurance discount if they are at least
18 and no older than 56 years of age.”
18 56
Invalid Partition
< 18
Invalid Partition
> 56
Valid Partition
Range 18 to 56
17 19 55 57
Boundary Values : 17, 18, 19 and 55, 56, 57
@ 2016 Disha Srivastava
Requirement :
• Customers must be at least 18.
• Customers are eligible for a life insurance discount of 40% if they are at least 18 and no older than 25
years of age.
• Customers are entitled to a 30% discount if they are older than 25 years of age, but under 40.
• Customers are entitled to a 10% discount if they are 40 or over, but no older than 56.
• Over 56 customers are not entitled to a discount.”
ISTQB
Foundation Level
Boundary Value Analysis – Example 3
For the exercise only consider integer years.
17, 18, 19 24, 25, 26
40% discount
38, 39, 40
10% discount
55, 56, 57
10% discount 0% discountInvalid <18
@ 2016 Disha Srivastava
Requirement :
• 3% rate of interest is given if account balance is in the range of $0 to $100
• 5% rate of interest is given if account balance is in the range of $100 to $1000
• 7% rate of interest is given if account balance is $1000 and above
Identify valid/invalid equivalence partitions
ISTQB
Foundation Level
Boundary Value Analysis – Example 4
For the exercise only consider integer amount.
99, 100, 101
Valid Partition
Account balance 0 to 100
Valid Partition
Account balance 100 to 1000
999, 1000, 1001-1, 0, 1
Valid Partition
Account balance >= 1000
Invalid Partition
Account balance < 1
@ 2016 Disha Srivastava
Requirement :
“Eligibility criteria for appearing for banking exams is that age of
candidate should be between 18 to 25 (not less 18 and no more 25)”
ISTQB
Foundation Level
Boundary Value Analysis – Example 5
For the exercise only consider integer years.
12
Invalid Partition
< 18
Invalid Partition
> 26
Valid Partition
Range 18 to 26
18 25 26
Boundary values: {17;18,19} {24;25;26}
@ 2016 Disha Srivastava
Requirement :
In a system designed for postal services' payment:
Letters up to 100g are called as ‘light’.
Postal rates for sending the light letters up to 10g are $25.
The next 40g should be played by $35.
Each next 25g up to 100g should be played by an extra $10.
Partitions should be designed for “grams”
Equivalence classes Boundary Values
0 – 9 g: 25$ {-1, 0, 1}, {8, 9, 10},
10-49 g: 35$ {9, 10, 11}, {48,49,50}
50-74 g:10$ {49, 50, 51}, {73,74,75}
75-99g: 10$ {74,75,99}, {98,99,100}
100+1g: not a light letters {99,100,101}
10/12
ISTQB
Foundation Level
Boundary Value Analysis – Example 6
@ 2016 Disha Srivastava
Requirement :
HR module : Hire the candidate or not, based on the age of the candidate:
0-16 (Do not Hire)
16-18 (Can hire only part time )
18-55 (Can hire on full time)
55-99(Do not Hire)
Equivalence classes Boundary Values
0-15: Do not Hire {-1, 0, 1}, {14, 15, 16},
16-17: Can hire only part time {17, 18, 19},
18-54: Can hire on full time {54, 55, 56},
55-99: Do not Hire {98, 99, 100}
10/12
ISTQB
Foundation Level
Boundary Value Analysis – Example 7
@ 2016 Disha Srivastava
“
Error Guessing
@ 2016 Disha Srivastava
o Identify potential errors and design test cases based on intuition and
experiences
o Test cases can be derived by making a list of possible errors or error-
prone situations
• Empty or null lists
• Zero instances or occurrences
• Blanks or null strings
• Negative numbers
• Historical defects
ISTQB
Foundation Level
Error Guessing
@ 2016 Disha Srivastava
“
“Bugs lurk in corners and congregate at
boundaries”
- Boris Beizer

More Related Content

What's hot

INTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFL
INTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFLINTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFL
INTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFLRahul R Pandya
 
Boundary value analysis
Boundary value analysisBoundary value analysis
Boundary value analysisVadym Muliavka
 
ISTQB Foundation Level Basic
ISTQB Foundation Level BasicISTQB Foundation Level Basic
ISTQB Foundation Level BasicSelin Gungor
 
ISTQB Foundation - Chapter 2
ISTQB Foundation - Chapter 2ISTQB Foundation - Chapter 2
ISTQB Foundation - Chapter 2Chandukar
 
ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3Chandukar
 
Writing Test Cases 20110808
Writing Test Cases 20110808Writing Test Cases 20110808
Writing Test Cases 20110808slovejoy
 
ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2onsoftwaretest
 
Non Functional Testing
Non Functional TestingNon Functional Testing
Non Functional TestingNishant Worah
 
ISTQB / ISEB Foundation Exam Practice - 5
ISTQB / ISEB Foundation Exam Practice - 5ISTQB / ISEB Foundation Exam Practice - 5
ISTQB / ISEB Foundation Exam Practice - 5Yogindernath Gupta
 
Test Estimation using Test Case Point Analysis method
Test Estimation using Test Case Point Analysis methodTest Estimation using Test Case Point Analysis method
Test Estimation using Test Case Point Analysis methodKMS Technology
 
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
 
Software testing life cycle
Software testing life cycleSoftware testing life cycle
Software testing life cycleNikhil Sharma
 
Regression testing
Regression testingRegression testing
Regression testingHarsh verma
 

What's hot (20)

INTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFL
INTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFLINTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFL
INTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFL
 
ISTQB Advanced Test Manager Training 2012 - Testing Process
ISTQB Advanced Test Manager Training 2012 - Testing Process ISTQB Advanced Test Manager Training 2012 - Testing Process
ISTQB Advanced Test Manager Training 2012 - Testing Process
 
Boundary value analysis
Boundary value analysisBoundary value analysis
Boundary value analysis
 
Chapter 3 - Static Testing
Chapter 3 - Static TestingChapter 3 - Static Testing
Chapter 3 - Static Testing
 
Black box testing
Black box testingBlack box testing
Black box testing
 
Static Testing
Static TestingStatic Testing
Static Testing
 
ISTQB Foundation Level Basic
ISTQB Foundation Level BasicISTQB Foundation Level Basic
ISTQB Foundation Level Basic
 
ISTQB Foundation - Chapter 2
ISTQB Foundation - Chapter 2ISTQB Foundation - Chapter 2
ISTQB Foundation - Chapter 2
 
ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3
 
Writing Test Cases 20110808
Writing Test Cases 20110808Writing Test Cases 20110808
Writing Test Cases 20110808
 
Introduction & Manual Testing
Introduction & Manual TestingIntroduction & Manual Testing
Introduction & Manual Testing
 
ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2
 
Non Functional Testing
Non Functional TestingNon Functional Testing
Non Functional Testing
 
ISTQB / ISEB Foundation Exam Practice - 5
ISTQB / ISEB Foundation Exam Practice - 5ISTQB / ISEB Foundation Exam Practice - 5
ISTQB / ISEB Foundation Exam Practice - 5
 
Chapter 2 - Test Management
Chapter 2 - Test ManagementChapter 2 - Test Management
Chapter 2 - Test Management
 
Test Estimation using Test Case Point Analysis method
Test Estimation using Test Case Point Analysis methodTest Estimation using Test Case Point Analysis method
Test Estimation using Test Case Point Analysis method
 
Chapter 1 - Testing Process
Chapter 1 - Testing ProcessChapter 1 - Testing Process
Chapter 1 - Testing Process
 
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)
 
Software testing life cycle
Software testing life cycleSoftware testing life cycle
Software testing life cycle
 
Regression testing
Regression testingRegression testing
Regression testing
 

Viewers also liked

EbruKazaskeroglu_CV2016_ENG.PDF
EbruKazaskeroglu_CV2016_ENG.PDFEbruKazaskeroglu_CV2016_ENG.PDF
EbruKazaskeroglu_CV2016_ENG.PDFEbru Kazaskeroglu
 
1st lecture on software testing given to KTU students. September 2015
1st lecture on software testing given to KTU students. September 20151st lecture on software testing given to KTU students. September 2015
1st lecture on software testing given to KTU students. September 2015Sergejus Bartos
 
KeytorcTestTalks #11 - Onur Başkirt, Agile Test Management with Testrail
KeytorcTestTalks #11 - Onur Başkirt, Agile Test Management with Testrail KeytorcTestTalks #11 - Onur Başkirt, Agile Test Management with Testrail
KeytorcTestTalks #11 - Onur Başkirt, Agile Test Management with Testrail Keytorc Software Testing Services
 
Testistanbul 2016 - Keynote: "The Story of Appium" by Dan Cuellar
Testistanbul 2016 - Keynote: "The Story of Appium" by Dan CuellarTestistanbul 2016 - Keynote: "The Story of Appium" by Dan Cuellar
Testistanbul 2016 - Keynote: "The Story of Appium" by Dan CuellarTurkish Testing Board
 
ISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam PracticeISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam PracticeYogindernath Gupta
 
KeytorcTestTalks #11 - Serkan Akoğlanoğlu, Release Management vs Test Management
KeytorcTestTalks #11 - Serkan Akoğlanoğlu, Release Management vs Test ManagementKeytorcTestTalks #11 - Serkan Akoğlanoğlu, Release Management vs Test Management
KeytorcTestTalks #11 - Serkan Akoğlanoğlu, Release Management vs Test ManagementKeytorc Software Testing Services
 
Testistanbul 2016 - Keynote: "Enterprise Challenges of Test Data" by Rex Black
Testistanbul 2016 - Keynote: "Enterprise Challenges of Test Data" by Rex BlackTestistanbul 2016 - Keynote: "Enterprise Challenges of Test Data" by Rex Black
Testistanbul 2016 - Keynote: "Enterprise Challenges of Test Data" by Rex BlackTurkish Testing Board
 
Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...
Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...
Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...Turkish Testing Board
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1Yogindernath Gupta
 
Testistanbul 2016 - Keynote: "Performance Testing of Big Data" by Roland Leusden
Testistanbul 2016 - Keynote: "Performance Testing of Big Data" by Roland LeusdenTestistanbul 2016 - Keynote: "Performance Testing of Big Data" by Roland Leusden
Testistanbul 2016 - Keynote: "Performance Testing of Big Data" by Roland LeusdenTurkish Testing Board
 
Keynote Systems - Mobile Solutions Overview Presentation
Keynote Systems - Mobile Solutions Overview PresentationKeynote Systems - Mobile Solutions Overview Presentation
Keynote Systems - Mobile Solutions Overview Presentationvprathap
 
KeytorcTestTalks #11 - Berk Dülger, DevOps Tactical Adaption Theory
KeytorcTestTalks #11 - Berk Dülger, DevOps Tactical Adaption TheoryKeytorcTestTalks #11 - Berk Dülger, DevOps Tactical Adaption Theory
KeytorcTestTalks #11 - Berk Dülger, DevOps Tactical Adaption TheoryKeytorc Software Testing Services
 
ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2Yogindernath Gupta
 
Introduction to ISTQB & ISEB Certifications
Introduction to ISTQB & ISEB CertificationsIntroduction to ISTQB & ISEB Certifications
Introduction to ISTQB & ISEB CertificationsYogindernath Gupta
 
ISTQB Foundation Level: Why, Why Not and How?
ISTQB Foundation Level: Why, Why Not and How?ISTQB Foundation Level: Why, Why Not and How?
ISTQB Foundation Level: Why, Why Not and How?OdessaQA
 

Viewers also liked (20)

EbruKazaskeroglu_CV2016_ENG.PDF
EbruKazaskeroglu_CV2016_ENG.PDFEbruKazaskeroglu_CV2016_ENG.PDF
EbruKazaskeroglu_CV2016_ENG.PDF
 
Ch. 20 software testing
Ch. 20 software testingCh. 20 software testing
Ch. 20 software testing
 
1st lecture on software testing given to KTU students. September 2015
1st lecture on software testing given to KTU students. September 20151st lecture on software testing given to KTU students. September 2015
1st lecture on software testing given to KTU students. September 2015
 
KeytorcTestTalks #11 - Onur Başkirt, Agile Test Management with Testrail
KeytorcTestTalks #11 - Onur Başkirt, Agile Test Management with Testrail KeytorcTestTalks #11 - Onur Başkirt, Agile Test Management with Testrail
KeytorcTestTalks #11 - Onur Başkirt, Agile Test Management with Testrail
 
Testistanbul 2016 - Keynote: "The Story of Appium" by Dan Cuellar
Testistanbul 2016 - Keynote: "The Story of Appium" by Dan CuellarTestistanbul 2016 - Keynote: "The Story of Appium" by Dan Cuellar
Testistanbul 2016 - Keynote: "The Story of Appium" by Dan Cuellar
 
ISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam PracticeISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam Practice
 
KeytorcTestTalks #11 - Serkan Akoğlanoğlu, Release Management vs Test Management
KeytorcTestTalks #11 - Serkan Akoğlanoğlu, Release Management vs Test ManagementKeytorcTestTalks #11 - Serkan Akoğlanoğlu, Release Management vs Test Management
KeytorcTestTalks #11 - Serkan Akoğlanoğlu, Release Management vs Test Management
 
KeytorcTestTalks #11 - Duygu Onaral, Agile QA'in rolü
KeytorcTestTalks #11 - Duygu Onaral, Agile QA'in rolüKeytorcTestTalks #11 - Duygu Onaral, Agile QA'in rolü
KeytorcTestTalks #11 - Duygu Onaral, Agile QA'in rolü
 
Testistanbul 2016 - Keynote: "Enterprise Challenges of Test Data" by Rex Black
Testistanbul 2016 - Keynote: "Enterprise Challenges of Test Data" by Rex BlackTestistanbul 2016 - Keynote: "Enterprise Challenges of Test Data" by Rex Black
Testistanbul 2016 - Keynote: "Enterprise Challenges of Test Data" by Rex Black
 
Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...
Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...
Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1
 
Keytorc Proje Ekibi Zubizu Sunumu - Emirhan Şen
Keytorc Proje Ekibi Zubizu Sunumu - Emirhan ŞenKeytorc Proje Ekibi Zubizu Sunumu - Emirhan Şen
Keytorc Proje Ekibi Zubizu Sunumu - Emirhan Şen
 
Testistanbul 2016 - Keynote: "Performance Testing of Big Data" by Roland Leusden
Testistanbul 2016 - Keynote: "Performance Testing of Big Data" by Roland LeusdenTestistanbul 2016 - Keynote: "Performance Testing of Big Data" by Roland Leusden
Testistanbul 2016 - Keynote: "Performance Testing of Big Data" by Roland Leusden
 
Keynote Systems - Mobile Solutions Overview Presentation
Keynote Systems - Mobile Solutions Overview PresentationKeynote Systems - Mobile Solutions Overview Presentation
Keynote Systems - Mobile Solutions Overview Presentation
 
İyi Bir Test Uzmanı Olmak İçin...
İyi Bir Test Uzmanı Olmak İçin...İyi Bir Test Uzmanı Olmak İçin...
İyi Bir Test Uzmanı Olmak İçin...
 
KeytorcTestTalks #11 - Berk Dülger, DevOps Tactical Adaption Theory
KeytorcTestTalks #11 - Berk Dülger, DevOps Tactical Adaption TheoryKeytorcTestTalks #11 - Berk Dülger, DevOps Tactical Adaption Theory
KeytorcTestTalks #11 - Berk Dülger, DevOps Tactical Adaption Theory
 
ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2
 
Keytorc Proje Ekibi Zubizu Sunumu - Ozan İlhan
Keytorc Proje Ekibi Zubizu Sunumu - Ozan İlhanKeytorc Proje Ekibi Zubizu Sunumu - Ozan İlhan
Keytorc Proje Ekibi Zubizu Sunumu - Ozan İlhan
 
Introduction to ISTQB & ISEB Certifications
Introduction to ISTQB & ISEB CertificationsIntroduction to ISTQB & ISEB Certifications
Introduction to ISTQB & ISEB Certifications
 
ISTQB Foundation Level: Why, Why Not and How?
ISTQB Foundation Level: Why, Why Not and How?ISTQB Foundation Level: Why, Why Not and How?
ISTQB Foundation Level: Why, Why Not and How?
 

Similar to Istqb ctfl-series - Black Box Testing

Discriminant analysis using spss
Discriminant analysis using spssDiscriminant analysis using spss
Discriminant analysis using spssDr Nisha Arora
 
12 functional-system-testing
12 functional-system-testing12 functional-system-testing
12 functional-system-testingnickynicks76
 
Dynamic Testing
Dynamic TestingDynamic Testing
Dynamic TestingJimi Patel
 
Testcase design techniques final
Testcase design techniques finalTestcase design techniques final
Testcase design techniques finalshraavank
 
What is Naïve Bayes Classification and How is it Used for Enterprise Analysis?
What is Naïve Bayes Classification and How is it Used for Enterprise Analysis?What is Naïve Bayes Classification and How is it Used for Enterprise Analysis?
What is Naïve Bayes Classification and How is it Used for Enterprise Analysis?Smarten Augmented Analytics
 
Boundary Value Analysis and Equivalence class Partitioning Testing.pptx
Boundary Value Analysis and Equivalence class Partitioning Testing.pptxBoundary Value Analysis and Equivalence class Partitioning Testing.pptx
Boundary Value Analysis and Equivalence class Partitioning Testing.pptxlandesc
 
Software Testing-Dynamic testing technique-Mazenet solution
Software Testing-Dynamic testing technique-Mazenet solutionSoftware Testing-Dynamic testing technique-Mazenet solution
Software Testing-Dynamic testing technique-Mazenet solutionMazenetsolution
 
Equivalence class testing
Equivalence  class testingEquivalence  class testing
Equivalence class testingMani Kanth
 
Lead Scoring Group Case Study Presentation.pdf
Lead Scoring Group Case Study Presentation.pdfLead Scoring Group Case Study Presentation.pdf
Lead Scoring Group Case Study Presentation.pdfKrishP2
 
Equivalence-Partition-Testing-Notes-17122022-083818pm.pptx
Equivalence-Partition-Testing-Notes-17122022-083818pm.pptxEquivalence-Partition-Testing-Notes-17122022-083818pm.pptx
Equivalence-Partition-Testing-Notes-17122022-083818pm.pptxKhayal Abbas Akhtar
 
blckboxtesting.ppt il.;io'/ ulio'[ yjko8i[0'-p/ yk
blckboxtesting.ppt il.;io'/ ulio'[ yjko8i[0'-p/ ykblckboxtesting.ppt il.;io'/ ulio'[ yjko8i[0'-p/ yk
blckboxtesting.ppt il.;io'/ ulio'[ yjko8i[0'-p/ ykSMayankSharma
 
Black box testing - SlideShare jayed hossain jibon
Black box testing - SlideShare  jayed hossain jibonBlack box testing - SlideShare  jayed hossain jibon
Black box testing - SlideShare jayed hossain jibonJayed Hossain Jibon
 

Similar to Istqb ctfl-series - Black Box Testing (20)

Lec 17.pptx
Lec 17.pptxLec 17.pptx
Lec 17.pptx
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
Discriminant analysis using spss
Discriminant analysis using spssDiscriminant analysis using spss
Discriminant analysis using spss
 
12 functional-system-testing
12 functional-system-testing12 functional-system-testing
12 functional-system-testing
 
Test Effectiveness
Test EffectivenessTest Effectiveness
Test Effectiveness
 
Dynamic Testing
Dynamic TestingDynamic Testing
Dynamic Testing
 
Testcase design techniques final
Testcase design techniques finalTestcase design techniques final
Testcase design techniques final
 
What is Naïve Bayes Classification and How is it Used for Enterprise Analysis?
What is Naïve Bayes Classification and How is it Used for Enterprise Analysis?What is Naïve Bayes Classification and How is it Used for Enterprise Analysis?
What is Naïve Bayes Classification and How is it Used for Enterprise Analysis?
 
Boundary Value Analysis and Equivalence class Partitioning Testing.pptx
Boundary Value Analysis and Equivalence class Partitioning Testing.pptxBoundary Value Analysis and Equivalence class Partitioning Testing.pptx
Boundary Value Analysis and Equivalence class Partitioning Testing.pptx
 
Measurement and scaling
Measurement and scalingMeasurement and scaling
Measurement and scaling
 
Software Testing
Software Testing Software Testing
Software Testing
 
Software Testing-Dynamic testing technique-Mazenet solution
Software Testing-Dynamic testing technique-Mazenet solutionSoftware Testing-Dynamic testing technique-Mazenet solution
Software Testing-Dynamic testing technique-Mazenet solution
 
Equivalence class testing
Equivalence  class testingEquivalence  class testing
Equivalence class testing
 
Testing
TestingTesting
Testing
 
Lead Scoring Group Case Study Presentation.pdf
Lead Scoring Group Case Study Presentation.pdfLead Scoring Group Case Study Presentation.pdf
Lead Scoring Group Case Study Presentation.pdf
 
Test design
Test designTest design
Test design
 
Equivalence-Partition-Testing-Notes-17122022-083818pm.pptx
Equivalence-Partition-Testing-Notes-17122022-083818pm.pptxEquivalence-Partition-Testing-Notes-17122022-083818pm.pptx
Equivalence-Partition-Testing-Notes-17122022-083818pm.pptx
 
blckboxtesting.ppt il.;io'/ ulio'[ yjko8i[0'-p/ yk
blckboxtesting.ppt il.;io'/ ulio'[ yjko8i[0'-p/ ykblckboxtesting.ppt il.;io'/ ulio'[ yjko8i[0'-p/ yk
blckboxtesting.ppt il.;io'/ ulio'[ yjko8i[0'-p/ yk
 
Testing part 2 bb
Testing part 2 bbTesting part 2 bb
Testing part 2 bb
 
Black box testing - SlideShare jayed hossain jibon
Black box testing - SlideShare  jayed hossain jibonBlack box testing - SlideShare  jayed hossain jibon
Black box testing - SlideShare jayed hossain jibon
 

Recently uploaded

How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceanilsa9823
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 

Recently uploaded (20)

How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 

Istqb ctfl-series - Black Box Testing

  • 1. ISTQB Foundation Level Series Black Box Testing Techniques
  • 2. @ 2016 Disha Srivastava “Software testing techniques in which functionality of the software under test (SUT) is tested without looking at the internal structure or working of the software” Black Box Testing is based on program requirements and product specifications ISTQB Foundation Level Black Box Testing Executable ProgramInput Output
  • 3. @ 2016 Disha Srivastava Black Box Testing just focuses on inputs and output as per application specifications. Black Box can be any application / software which needs to be tested. e.g : an operating system like android, a website like facebook, an application like MS Office or Skype or a bespoke solution Black Box is also know as functional or behavioral testing ISTQB Foundation Level Black Box Testing
  • 4. @ 2016 Disha Srivastava Where to use Black Box Testing : It’s is used in the following stages of the software development life cycle:  Component Testing  Integration Testing (or IUT - integration unit testing)  Systems Testing (ST)  Systems Integration Testing (SIT)  User Acceptance Testing (UAT)  Assisting in the business verification and validation of the application – Operational Acceptance Testing (OAT) Black Box Testing can be used in any phase of project ISTQB Foundation Level Black Box Testing
  • 5. @ 2016 Disha Srivastava What is typically included in Black Box Testing : Black Box testing pack often contains large number of overall test cases to cover testing of the following:  Business Rules  Business Process  Data Validation  Data Mapping  Key Mapping Validation  Filtering  Derived calculations ISTQB Foundation Level Black Box Testing
  • 6. @ 2016 Disha Srivastava Types of Black Box Testing Techniques: ISTQB Foundation Level Black Box Testing Error Guessing Cause-Effect Graphing
  • 7. @ 2016 Disha Srivastava “ Equivalence Partitioning
  • 8. @ 2016 Disha Srivastava o Exhaustive testing of every possible input value combinations is: • Expensive • Time consuming o Equivalence Partitioning is an efficient technique to cut down the test data sets and hence test cases to test the application • Break set of test cases into sub-sets • Choose representative values for each subset and ensure that we test these. • Each subset of tests is thought of as a partition between neighbouring subsets or domains ISTQB Foundation Level Equivalence Partitioning
  • 9. @ 2016 Disha Srivastava  Equivalence class is a subset of data that falls into categories where the system responds in a similar manner  Equivalence partitioning is a technique for testing equivalence rather than undertaking exhaustive testing of each value of the larger class Equivalence partitioning also know as equivalence class partitioning (ECP) ISTQB Foundation Level Equivalence Partitioning - Definition
  • 10. @ 2016 Disha Srivastava o Selects classes of inputs that will be expected to be handled in the same way. o Equivalence classes are identified based on the set of valid or invalid states for each input condition. An input condition can be : • A specific numeric value • A range of values • A set of related values • A Boolean condition o Within a group of data, a representative input can be selected for testing ISTQB Foundation Level Equivalence Partitioning – How to do it
  • 11. @ 2016 Disha Srivastava o If an input condition specifies a range, one valid and two invalid equivalence class are defined o If an input condition requires a specific value, one valid and two invalid equivalence classes are defined o If an input condition specifies a member of a set, one valid and one invalid equivalence classes are defined o If an input condition is Boolean, one valid and one invalid classes are defined [Pressman 2004] ISTQB Foundation Level Equivalence Partitioning – Guidelines
  • 12. @ 2016 Disha Srivastava “ Equivalence Partitioning - Examples
  • 13. @ 2016 Disha Srivastava Requirement : Program for computing grades based on the marks scored by students, where the input variable is Marks. The rule of computing the grade is as follows: ISTQB Foundation Level Equivalence Partitioning – Example 1 Marks Grade 100 – 90 A 89 – 80 B 79 – 70 C 69 – 60 D 59 – 0 F For the exercise only consider integer years.
  • 14. @ 2016 Disha Srivastava Equivalence Classes : •The input domain of Marks can be partitioned into 5 valid equivalence classes and 2 invalid equivalence classes • Valid classes: 0~59, 60~69, 70~79, 80~89, 90~100 • Invalid classes: smaller than 0 and greater than 100 • Any data value within a class is considered equivalence in terms of testing • Using the equivalence partitioning testing, we can reduce the test cases from 100 (assume 0 <= score <= 100) to 7 ISTQB Foundation Level Equivalence Partitioning – Example 1
  • 15. @ 2016 Disha Srivastava Requirement : “The customer is eligible for a life insurance discount if they are at least 18 and no older than 56 years of age.” ISTQB Foundation Level Equivalence Partitioning – Example 2 For the exercise only consider integer years. 18 56 Invalid Partition < 18 Invalid Partition > 56 Valid Partition Range 18 to 56
  • 16. @ 2016 Disha Srivastava Requirement : “The customer is eligible for a life insurance discount if they are over 18 and less than 56 years of age.” ISTQB Foundation Level Equivalence Partitioning – Example 3 For the exercise only consider integer years. 18 56 Invalid Partition =< 18 Invalid Partition > 56 Valid Partition Range 19 to 56 People aged exactly 18 or exactly 56 would now not get a discount.
  • 17. @ 2016 Disha Srivastava Requirement : • Customers must be at least 18. • Customers are eligible for a life insurance discount of 40% if they are at least 18 and no older than 25 years of age. • Customers are entitled to a 30% discount if they are older than 25 years of age, but under 40. • Customers are entitled to a 10% discount if they are 40 or over, but no older than 56. • Over 56 customers are not entitled to a discount.” ISTQB Foundation Level Equivalence Partitioning – Example 4 For the exercise only consider integer years. 18 25 40% discount 40 10% discount 56 10% discount 0% discountInvalid <18
  • 18. @ 2016 Disha Srivastava Requirement : “Eligible Age field on a form contains a text box which accepts numeric values in the range of 18 to 26. Identify the invalid Equivalence class” ISTQB Foundation Level Equivalence Partitioning – Example 5 For the exercise only consider integer years. 18 26 Invalid Partition < 18 Invalid Partition > 26 Valid Partition Range 18 to 26
  • 19. @ 2016 Disha Srivastava Requirement : “ Program edits credit limits within a given range ($10,000 - $15,000)” ISTQB Foundation Level Equivalence Partitioning – Example 6 For the exercise only consider integer years. $ 10,000 $ 15,000 Invalid Partition < $10,000 Invalid Partition > $ 15,000 Valid Partition Range $ 10,000 to $ 15,000
  • 20. @ 2016 Disha Srivastava Requirement : Flight reservation application Ticket values [Number of tickets a user can book in single session] 1 to 10 are considered valid & ticket is booked. While value 11 to 99 are considered invalid for reservation and error message will appear, "Only ten tickets may be ordered at one time.“ Identify valid/ invalid set ISTQB Foundation Level Equivalence Partitioning – Example 7 For the exercise only consider integer years. 10 Valid Partition No of tickets: 1 to 10 Invalid Partition No of tickets: 11 to 99 1000 Invalid Partition No of tickets > 99 Invalid Partition No of tickets < 1
  • 21. @ 2016 Disha Srivastava Requirement : • 3% rate of interest is given if account balance is in the range of $0 to $100 • 5% rate of interest is given if account balance is in the range of $100 to $1000 • 7% rate of interest is given if account balance is $1000 and above Identify valid/invalid equivalence partitions ISTQB Foundation Level Equivalence Partitioning – Example 8 For the exercise only consider integer years. 100 Valid Partition Account balance 0 to 100 Valid Partition Account balance 100 to 1000 10000 Valid Partition Account balance >= 1000 Invalid Partition Account balance < 1
  • 22. @ 2016 Disha Srivastava “ Boundary Value Analysis (BVA)
  • 23. @ 2016 Disha Srivastava o Based on testing experience, a large % of errors are found at the boundaries of an input/output domain than in the “center”. o In addition to select test data “inside” an equivalence class, data at the “edges” of the equivalence class also need to be examined o Boundary Value analysis (BVA) • A test case design technique complements to equivalence partition • Define boundary using equivalence partition • Select of test cases that exercise bounding values (“edge” of the class) ISTQB Foundation Level Boundary Value Analysis
  • 24. @ 2016 Disha Srivastava o Based on experience / heuristics • Testing boundary conditions of equivalence classes is more effective o Choose input boundary values as equivalence classes representatives o Choose inputs that invoke output boundary values o Boundary value “A data value that corresponds to a minimum or maximum input, internal, or output value specified for a system or component.” o Examples: [1, 10] ⇒ validate using 0, 1, 2, 9, 10, 11 ISTQB Foundation Level Boundary Value Analysis Boundary Limit Boundary Limit + 1Boundary Limit -1
  • 25. @ 2016 Disha Srivastava ISTQB Foundation Level Boundary Value Analysis – Example 1 Requirement : “Input condition has a range from a to b ( a = 20 to b= 60).” o BVA test cases, consider the following : • Immediately below a (19) • At a (20) • Immediately above a (21) • Immediately below b (59) • At b (60) • Immediately above b (61) 20 60 19 21 59 61 If significant digit was second decimal place, then the limits above would be +/- 0.01
  • 26. @ 2016 Disha Srivastava ISTQB Foundation Level Boundary Value Analysis – Example 2 Requirement : “The customer is eligible for a life insurance discount if they are at least 18 and no older than 56 years of age.” 18 56 Invalid Partition < 18 Invalid Partition > 56 Valid Partition Range 18 to 56 17 19 55 57 Boundary Values : 17, 18, 19 and 55, 56, 57
  • 27. @ 2016 Disha Srivastava Requirement : • Customers must be at least 18. • Customers are eligible for a life insurance discount of 40% if they are at least 18 and no older than 25 years of age. • Customers are entitled to a 30% discount if they are older than 25 years of age, but under 40. • Customers are entitled to a 10% discount if they are 40 or over, but no older than 56. • Over 56 customers are not entitled to a discount.” ISTQB Foundation Level Boundary Value Analysis – Example 3 For the exercise only consider integer years. 17, 18, 19 24, 25, 26 40% discount 38, 39, 40 10% discount 55, 56, 57 10% discount 0% discountInvalid <18
  • 28. @ 2016 Disha Srivastava Requirement : • 3% rate of interest is given if account balance is in the range of $0 to $100 • 5% rate of interest is given if account balance is in the range of $100 to $1000 • 7% rate of interest is given if account balance is $1000 and above Identify valid/invalid equivalence partitions ISTQB Foundation Level Boundary Value Analysis – Example 4 For the exercise only consider integer amount. 99, 100, 101 Valid Partition Account balance 0 to 100 Valid Partition Account balance 100 to 1000 999, 1000, 1001-1, 0, 1 Valid Partition Account balance >= 1000 Invalid Partition Account balance < 1
  • 29. @ 2016 Disha Srivastava Requirement : “Eligibility criteria for appearing for banking exams is that age of candidate should be between 18 to 25 (not less 18 and no more 25)” ISTQB Foundation Level Boundary Value Analysis – Example 5 For the exercise only consider integer years. 12 Invalid Partition < 18 Invalid Partition > 26 Valid Partition Range 18 to 26 18 25 26 Boundary values: {17;18,19} {24;25;26}
  • 30. @ 2016 Disha Srivastava Requirement : In a system designed for postal services' payment: Letters up to 100g are called as ‘light’. Postal rates for sending the light letters up to 10g are $25. The next 40g should be played by $35. Each next 25g up to 100g should be played by an extra $10. Partitions should be designed for “grams” Equivalence classes Boundary Values 0 – 9 g: 25$ {-1, 0, 1}, {8, 9, 10}, 10-49 g: 35$ {9, 10, 11}, {48,49,50} 50-74 g:10$ {49, 50, 51}, {73,74,75} 75-99g: 10$ {74,75,99}, {98,99,100} 100+1g: not a light letters {99,100,101} 10/12 ISTQB Foundation Level Boundary Value Analysis – Example 6
  • 31. @ 2016 Disha Srivastava Requirement : HR module : Hire the candidate or not, based on the age of the candidate: 0-16 (Do not Hire) 16-18 (Can hire only part time ) 18-55 (Can hire on full time) 55-99(Do not Hire) Equivalence classes Boundary Values 0-15: Do not Hire {-1, 0, 1}, {14, 15, 16}, 16-17: Can hire only part time {17, 18, 19}, 18-54: Can hire on full time {54, 55, 56}, 55-99: Do not Hire {98, 99, 100} 10/12 ISTQB Foundation Level Boundary Value Analysis – Example 7
  • 32. @ 2016 Disha Srivastava “ Error Guessing
  • 33. @ 2016 Disha Srivastava o Identify potential errors and design test cases based on intuition and experiences o Test cases can be derived by making a list of possible errors or error- prone situations • Empty or null lists • Zero instances or occurrences • Blanks or null strings • Negative numbers • Historical defects ISTQB Foundation Level Error Guessing
  • 34. @ 2016 Disha Srivastava “ “Bugs lurk in corners and congregate at boundaries” - Boris Beizer

Editor's Notes

  1. Can be applied to software “units” (e.g., classes) or to entire programs External behavior is defined in API docs, Functional specs, Requirements specs, etc.