![]()
What is Boundary value analysis and Equivalence partitioning?
Boundary value analysis and Equivalence partitioning, explained with simple example:
Boundary value analysis and equivalence partitioning both are test case design strategies in black box testing.
Equivalence Partitioning:
In this method the input domain data is divided into different equivalence data classes. This method is typically used to reduce the total number of test cases to a finite set of testable test cases, still covering maximum requirements.
In short it is the process of taking all
possible test cases and placing them into classes. One test value is
picked from each class while testing.
E.g.: If you are testing for an input box accepting
numbers from 1 to 1000 then there is no use in writing thousand test
cases for all 1000 valid input numbers plus other test cases for
invalid data.
Using equivalence partitioning method above test cases can be
divided into three sets of input data called as classes. Each test case
is a representative of respective class.
So in above example we can divide our test cases into three equivalence classes of some valid and invalid inputs.
Test cases for input box accepting numbers between 1 and 1000 using Equivalence Partitioning:
1) One input data class with all valid inputs. Pick a
single value from range 1 to 1000 as a valid test case. If you select
other values between 1 and 1000 then result is going to be same. So one
test case for valid input data should be sufficient.
2) Input data class with all values below lower limit. I.e. any value below 1, as a invalid input data test case.
3) Input data with any value greater than 1000 to represent third invalid input class.
So using equivalence partitioning you have categorized all possible
test cases into three classes. Test cases with other values from any
class should give you the same result.
We have selected one representative from every input class to design
our test cases. Test case values are selected in such a way that
largest number of attributes of equivalence class can be exercised.
Equivalence partitioning uses fewest test cases to cover maximum requirements.
Boundary value analysis:
It’s widely recognized that input values at the extreme ends of input domain cause more errors in system. More application errors occur at the boundaries
of input domain. ‘Boundary value analysis’ testing technique is used to
identify errors at boundaries rather than finding those exist in center
of input domain.
Boundary value analysis is a next part of Equivalence partitioning
for designing test cases where test cases are selected at the edges of
the equivalence classes.
Test cases for input box accepting numbers between 1 and 1000 using Boundary value analysis:
1) Test cases with test data exactly as the input boundaries of input domain i.e. values 1 and 1000 in our case.
2) Test data with values just below the extreme edges of input domains i.e. values 0 and 999.
3) Test data with values just above the extreme edges of input domain i.e. values 2 and 1001.
Boundary value analysis is often called as a part of stress and negative testing.
Note: There is no hard-and-fast rule to test only
one value from each equivalence class you created for input domains.
You can select multiple valid and invalid values from each equivalence
class according to your needs and previous judgments.
E.g. if you divided 1 to 1000 input values in valid
data equivalence class, then you can select test case values like: 1,
11, 100, 950 etc. Same case for other test cases having invalid data
classes.
This should be a very basic and simple example to understand the Boundary value analysis and Equivalence partitioning concept.
(Source: Internet - From Indian's blog ^_^)
| Number | Title | Author | Date | Votes | Views |
| Notice |
ISTQB_CTAL-TM_Syllabus v3.0
admin
|
2025.06.16
|
Votes 0
|
Views 35513549
|
admin | 2025.06.16 | 0 | 35513549 |
| Notice |
CTFL (Certified Tester Foundation Level) Syllabus 4.0
admin
|
2024.09.15
|
Votes 0
|
Views 47277238
|
admin | 2024.09.15 | 0 | 47277238 |
| Notice |
ISTQB Foundation - Certified Tester (2018) : Official Sample Exam Set 2 with Answer (4)
Testersbest
|
2019.06.21
|
Votes 0
|
Views 56328297
|
Testersbest | 2019.06.21 | 0 | 56328297 |
| Notice |
ISTQB Foundation - Certified Tester (2018) : Official Sample Exam Set 1 with Answer (3)
Testersbest
|
2019.06.21
|
Votes 0
|
Views 56316160
|
Testersbest | 2019.06.21 | 0 | 56316160 |
| Notice |
ISTQB Foundation Certified Tester (2018) : New Exam Rule (1)
Testersbest
|
2019.06.21
|
Votes 0
|
Views 57446160
|
Testersbest | 2019.06.21 | 0 | 57446160 |
| Notice |
ISTQB Foundation - Certified Tester Syllabus (2018)
VTB
|
2018.11.14
|
Votes 0
|
Views 57729596
|
VTB | 2018.11.14 | 0 | 57729596 |
| Notice |
ISTQB Advanced Level Syllabus (2016) Security Tester
VTB
|
2018.10.26
|
Votes 0
|
Views 56677092
|
VTB | 2018.10.26 | 0 | 56677092 |
| Notice |
ISTQB Advanced Level Syllabus (2012) Technical Test Analyst
VTB
|
2016.05.06
|
Votes 0
|
Views 55509085
|
VTB | 2016.05.06 | 0 | 55509085 |
| Notice |
ISTQB Advanced Level Syllabus (2012) Test Manager
VTB
|
2016.05.06
|
Votes 0
|
Views 56367118
|
VTB | 2016.05.06 | 0 | 56367118 |
| Notice |
ISTQB Advanced Level Syllabus (2012) Test Analyst
VTB
|
2016.05.06
|
Votes 0
|
Views 56405213
|
VTB | 2016.05.06 | 0 | 56405213 |
| Notice |
ISTQB Glossary of Testing Terms Version:2.2
VTB
|
2016.05.06
|
Votes 0
|
Views 56707514
|
VTB | 2016.05.06 | 0 | 56707514 |
| Notice |
ISTQB Expert Level (CTEL) Syllabus -Test Management (3)
VTB
|
2015.09.13
|
Votes 0
|
Views 56013699
|
VTB | 2015.09.13 | 0 | 56013699 |
| Notice |
ISTQB Expert Level (CTEL) Syllabus - Improving the Testing Process (1)
VTB
|
2015.09.13
|
Votes 0
|
Views 56931943
|
VTB | 2015.09.13 | 0 | 56931943 |
| Notice |
ISTQB Foundation Level (CTFL) Syllabus 2011 (12)
VTB
|
2014.10.11
|
Votes 0
|
Views 56248534
|
VTB | 2014.10.11 | 0 | 56248534 |
| 1258 |
ISTQB CTAL TAE Syllabus v2.0
admin
|
2025.06.16
|
Votes 1
|
Views 35054957
|
admin | 2025.06.16 | 1 | 35054957 |
| 1257 |
ISTQB Question and Answers (Advanced Level)
Steveskok
|
2021.02.07
|
Votes 0
|
Views 56862961
|
Steveskok | 2021.02.07 | 0 | 56862961 |
| 1256 |
ISTQB Certified Tester Foundation Level Syllabus Version 2018 V3.1
(TestExpert)
|
2020.02.03
|
Votes 0
|
Views 56170980
|
(TestExpert) | 2020.02.03 | 0 | 56170980 |
| 1255 |
ISTQB Advanced - Technical Test Analyst Sample Exam
ItSeTsQtB
|
2019.08.08
|
Votes 1
|
Views 56111513
|
ItSeTsQtB | 2019.08.08 | 1 | 56111513 |
| 1254 |
ISTQB Certification and Training Value
^Software^
|
2019.07.22
|
Votes 0
|
Views 57286089
|
^Software^ | 2019.07.22 | 0 | 57286089 |
| 1253 |
ISTQB Foundation - Agile Tester (Sample Exam)
IT-Tester
|
2019.07.08
|
Votes 0
|
Views 55393195
|
IT-Tester | 2019.07.08 | 0 | 55393195 |
| 1252 |
ISTQB Advanced - Technical Test Analyst (Sample Exam)
IT-Tester
|
2019.07.08
|
Votes 0
|
Views 56024141
|
IT-Tester | 2019.07.08 | 0 | 56024141 |
| 1251 |
ISTQB Advanced - Test Analyst (Sample Exam) (1)
IT-Tester
|
2019.07.08
|
Votes 0
|
Views 57019599
|
IT-Tester | 2019.07.08 | 0 | 57019599 |
| 1250 |
Premium Question Paper 4 (3)
iknev
|
2019.02.22
|
Votes 0
|
Views 57479852
|
iknev | 2019.02.22 | 0 | 57479852 |
| 1249 |
Premium Question Paper 3 (6)
iknev
|
2019.02.22
|
Votes 0
|
Views 55599793
|
iknev | 2019.02.22 | 0 | 55599793 |
| 1248 |
Premium Question Paper 1 (2)
iknev
|
2019.02.22
|
Votes 0
|
Views 56763817
|
iknev | 2019.02.22 | 0 | 56763817 |
| 1247 |
ISTQB Question Bank_ Test Manager Sample Question Set 1
iknev
|
2019.02.22
|
Votes 1
|
Views 56528882
|
iknev | 2019.02.22 | 1 | 56528882 |
| 1246 |
ISTQB Certified Tester List (FULL)
VTB
|
2018.10.31
|
Votes 0
|
Views 56902731
|
VTB | 2018.10.31 | 0 | 56902731 |
| 1245 |
ISTQB Agile Exam (Auckland, NZ)
VTB
|
2018.10.28
|
Votes 0
|
Views 57048189
|
VTB | 2018.10.28 | 0 | 57048189 |
| 1244 |
ISTQB Foundation Exam (Auckland, NZ)
VTB
|
2018.10.28
|
Votes 0
|
Views 57216577
|
VTB | 2018.10.28 | 0 | 57216577 |
| 1243 |
ISTQB Foundation Course (Auckland, NZ)
VTB
|
2018.10.28
|
Votes 0
|
Views 56295636
|
VTB | 2018.10.28 | 0 | 56295636 |
| 1242 |
ISTQB Foundation Agile Course (Auckland, NZ)
VTB
|
2018.10.28
|
Votes 0
|
Views 55850914
|
VTB | 2018.10.28 | 0 | 55850914 |
| 1241 |
ISTQB Course + Internship (Auckland, NZ)
VTB
|
2018.10.28
|
Votes 0
|
Views 56562163
|
VTB | 2018.10.28 | 0 | 56562163 |
| 1240 |
ISTQB Expert - Improving the Test Process [Sample Exam & Answer] - ISTQB Official
VTB
|
2018.10.26
|
Votes 0
|
Views 56594046
|
VTB | 2018.10.26 | 0 | 56594046 |
| 1239 |
ISTQB Expert - Test Manager [Sample Exam & Answer] - ISTQB Official (1)
VTB
|
2018.10.26
|
Votes 0
|
Views 56461572
|
VTB | 2018.10.26 | 0 | 56461572 |
| 1238 |
ISTQB Advanced - Technical Test Analyst [Sample Exam & Answer] - ISTQB Official
VTB
|
2018.10.26
|
Votes 0
|
Views 56851627
|
VTB | 2018.10.26 | 0 | 56851627 |
| 1237 |
ISTQB Advanced - Test Analyst [Sample Exam & Answer] - ISTQB Official
VTB
|
2018.10.26
|
Votes 0
|
Views 56757717
|
VTB | 2018.10.26 | 0 | 56757717 |
| 1236 |
ISTQB Advanced - Test Manager [Sample Exam & Answer] - ISTQB Official (1)
VTB
|
2018.10.26
|
Votes 0
|
Views 56847893
|
VTB | 2018.10.26 | 0 | 56847893 |
| 1235 |
ISTQB Foundation - Model Based Tester [Sample Exam & Answers] - ISTQB Official
VTB
|
2018.10.26
|
Votes 0
|
Views 57085594
|
VTB | 2018.10.26 | 0 | 57085594 |
| 1234 |
ISTQB Foundation - Agile Tester [Sample Exam & Answer] - ISTQB Official
VTB
|
2018.10.26
|
Votes 0
|
Views 55674297
|
VTB | 2018.10.26 | 0 | 55674297 |
| 1233 |
ISTQB Foundation - Certified Tester [Sample Exam & Answer] - ISTQB Official (1)
VTB
|
2018.10.26
|
Votes 0
|
Views 56470713
|
VTB | 2018.10.26 | 0 | 56470713 |
| 1232 |
ISTQB Exam Tips and Tricks
VTB
|
2018.10.16
|
Votes 0
|
Views 57033940
|
VTB | 2018.10.16 | 0 | 57033940 |
| 1231 |
ISTQB Foundation Level Quiz 20 Questions (1)
aiitistqb
|
2018.10.16
|
Votes 0
|
Views 57418034
|
aiitistqb | 2018.10.16 | 0 | 57418034 |
| 1230 |
ISTQB Free Sample Exam and Answers
aiitistqb
|
2018.10.16
|
Votes 0
|
Views 56371093
|
aiitistqb | 2018.10.16 | 0 | 56371093 |
| 1229 |
ISTQB Foundation - Agile Extension Online Courses is live!!
VTB
|
2018.10.16
|
Votes 0
|
Views 56057897
|
VTB | 2018.10.16 | 0 | 56057897 |
| 1228 |
ISTQB Foundation Online Courses are Live!!
VTB
|
2018.10.12
|
Votes 0
|
Views 57989827
|
VTB | 2018.10.12 | 0 | 57989827 |
| 1227 |
ISTQB Foundation (Practice Exam)
VTB
|
2018.10.12
|
Votes 0
|
Views 56143923
|
VTB | 2018.10.12 | 0 | 56143923 |
| 1226 |
CTAL TM Questions (23)
ulissesmafra
|
2018.10.09
|
Votes 1
|
Views 56307650
|
ulissesmafra | 2018.10.09 | 1 | 56307650 |
| 1225 |
Syllabus 2012 (2)
ulissesmafra
|
2018.10.09
|
Votes 0
|
Views 57201207
|
ulissesmafra | 2018.10.09 | 0 | 57201207 |
| 1224 |
ISEB & ISTQB EXAM TIPS (3)
Sky Driver
|
2018.09.24
|
Votes 0
|
Views 55775201
|
Sky Driver | 2018.09.24 | 0 | 55775201 |
| 1223 |
Tips for clearing ISTQB Foundation Level Exam (1)
Sky Driver
|
2018.09.24
|
Votes 0
|
Views 57037717
|
Sky Driver | 2018.09.24 | 0 | 57037717 |
| 1222 |
Tips for passing the ISTQB Foundation Level exam – Do’s and Don’t’s
Sky Driver
|
2018.09.24
|
Votes 0
|
Views 56910403
|
Sky Driver | 2018.09.24 | 0 | 56910403 |
| 1221 |
Why do people fail the ISTQB Foundation Certificate? (1)
Sky Driver
|
2018.09.24
|
Votes 0
|
Views 56486306
|
Sky Driver | 2018.09.24 | 0 | 56486306 |
| 1220 |
ISTQB Foundation Mock Exam 2 (3)
peter_hey
|
2018.09.19
|
Votes 3
|
Views 57115078
|
peter_hey | 2018.09.19 | 3 | 57115078 |
| 1219 |
ISTQB Foundation Mock Exam 1 (3)
peter_hey
|
2018.09.19
|
Votes 0
|
Views 55665381
|
peter_hey | 2018.09.19 | 0 | 55665381 |
| 1218 |
What is ISTQB? (1)
master15
|
2018.09.19
|
Votes 0
|
Views 56987794
|
master15 | 2018.09.19 | 0 | 56987794 |
| 1217 |
Syllabus (2)
richp
|
2018.09.18
|
Votes 0
|
Views 57153773
|
richp | 2018.09.18 | 0 | 57153773 |
| 1216 |
Learning Objectives for ISTQB Advanced Level Technical Test Analyst Exam (1)
master15
|
2018.09.16
|
Votes 0
|
Views 56307926
|
master15 | 2018.09.16 | 0 | 56307926 |
| 1215 |
Software Testing Tools used by ISTQB certified Experts like Test Analysts and Technical Test Analysts (2)
master15
|
2018.09.16
|
Votes 0
|
Views 57335247
|
master15 | 2018.09.16 | 0 | 57335247 |
| 1214 |
What are the Advantages of ISTQB Certifications? (1)
master15
|
2018.09.13
|
Votes 0
|
Views 56813716
|
master15 | 2018.09.13 | 0 | 56813716 |
| 1213 |
How many Levels of Certification are provided by ISTQB? (1)
master15
|
2018.09.13
|
Votes 0
|
Views 56725068
|
master15 | 2018.09.13 | 0 | 56725068 |
| 1212 |
Syllabus CTAL-TTA - [BR] (1)
tcorteletti
|
2018.09.09
|
Votes 0
|
Views 55831061
|
tcorteletti | 2018.09.09 | 0 | 55831061 |
| 1211 |
Syllabus CTFL - [BR] (1)
tcorteletti
|
2018.09.09
|
Votes 0
|
Views 56007074
|
tcorteletti | 2018.09.09 | 0 | 56007074 |
| 1210 |
ISTQB Certification – Foundation Level syllabus
Sky Driver
|
2018.09.05
|
Votes 0
|
Views 56290415
|
Sky Driver | 2018.09.05 | 0 | 56290415 |
| 1209 |
Documents to be submitted at the time of registration of ISTQB Advanced Level (2)
Sky Driver
|
2018.09.05
|
Votes 0
|
Views 56315279
|
Sky Driver | 2018.09.05 | 0 | 56315279 |
Hi,
It Looks good!!! Nice Example
Thanks,
L.Rajarajan
Thanks
very good, simple, easy to understand, accurate article on this topic. must read for new testers who want to learn about BVA or Equivalence Partitioning
thank you so much for sharing. regards