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 |
CTFL (Certified Tester Foundation Level) Syllabus 4.0
admin
|
2024.09.15
|
Votes 0
|
Views 11468163
|
admin | 2024.09.15 | 0 | 11468163 |
Notice |
ISTQB Foundation - Certified Tester (2018) : Official Sample Exam Set 2 with Answer (4)
Testersbest
|
2019.06.21
|
Votes 0
|
Views 20376929
|
Testersbest | 2019.06.21 | 0 | 20376929 |
Notice |
ISTQB Foundation - Certified Tester (2018) : Official Sample Exam Set 1 with Answer (3)
Testersbest
|
2019.06.21
|
Votes 0
|
Views 20995185
|
Testersbest | 2019.06.21 | 0 | 20995185 |
Notice |
ISTQB Foundation Certified Tester (2018) : New Exam Rule (1)
Testersbest
|
2019.06.21
|
Votes 0
|
Views 21238379
|
Testersbest | 2019.06.21 | 0 | 21238379 |
Notice |
ISTQB Foundation - Certified Tester Syllabus (2018)
VTB
|
2018.11.14
|
Votes 0
|
Views 21026331
|
VTB | 2018.11.14 | 0 | 21026331 |
Notice |
ISTQB Advanced Level Syllabus (2016) Security Tester
VTB
|
2018.10.26
|
Votes 0
|
Views 21149929
|
VTB | 2018.10.26 | 0 | 21149929 |
Notice |
ISTQB Advanced Level Syllabus (2012) Technical Test Analyst
VTB
|
2016.05.06
|
Votes 0
|
Views 20856475
|
VTB | 2016.05.06 | 0 | 20856475 |
Notice |
ISTQB Advanced Level Syllabus (2012) Test Manager
VTB
|
2016.05.06
|
Votes 0
|
Views 20719702
|
VTB | 2016.05.06 | 0 | 20719702 |
Notice |
ISTQB Advanced Level Syllabus (2012) Test Analyst
VTB
|
2016.05.06
|
Votes 0
|
Views 20799524
|
VTB | 2016.05.06 | 0 | 20799524 |
Notice |
ISTQB Glossary of Testing Terms Version:2.2
VTB
|
2016.05.06
|
Votes 0
|
Views 20710521
|
VTB | 2016.05.06 | 0 | 20710521 |
Notice |
ISTQB Expert Level (CTEL) Syllabus -Test Management (3)
VTB
|
2015.09.13
|
Votes 0
|
Views 20464747
|
VTB | 2015.09.13 | 0 | 20464747 |
Notice |
ISTQB Expert Level (CTEL) Syllabus - Improving the Testing Process (1)
VTB
|
2015.09.13
|
Votes 0
|
Views 21296129
|
VTB | 2015.09.13 | 0 | 21296129 |
Notice |
ISTQB Foundation Level (CTFL) Syllabus 2011 (12)
VTB
|
2014.10.11
|
Votes 0
|
Views 20602352
|
VTB | 2014.10.11 | 0 | 20602352 |
1257 |
ISTQB Question and Answers (Advanced Level)
Steveskok
|
2021.02.07
|
Votes 0
|
Views 20761003
|
Steveskok | 2021.02.07 | 0 | 20761003 |
1256 |
ISTQB Certified Tester Foundation Level Syllabus Version 2018 V3.1
(TestExpert)
|
2020.02.03
|
Votes 0
|
Views 20520256
|
(TestExpert) | 2020.02.03 | 0 | 20520256 |
1255 |
ISTQB Advanced - Technical Test Analyst Sample Exam
ItSeTsQtB
|
2019.08.08
|
Votes 0
|
Views 21221584
|
ItSeTsQtB | 2019.08.08 | 0 | 21221584 |
1254 |
ISTQB Certification and Training Value
^Software^
|
2019.07.22
|
Votes 0
|
Views 21248738
|
^Software^ | 2019.07.22 | 0 | 21248738 |
1253 |
ISTQB Foundation - Agile Tester (Sample Exam)
IT-Tester
|
2019.07.08
|
Votes 0
|
Views 20593872
|
IT-Tester | 2019.07.08 | 0 | 20593872 |
1252 |
ISTQB Advanced - Technical Test Analyst (Sample Exam)
IT-Tester
|
2019.07.08
|
Votes 0
|
Views 21290864
|
IT-Tester | 2019.07.08 | 0 | 21290864 |
1251 |
ISTQB Advanced - Test Analyst (Sample Exam) (1)
IT-Tester
|
2019.07.08
|
Votes 0
|
Views 20478012
|
IT-Tester | 2019.07.08 | 0 | 20478012 |
1250 |
Premium Question Paper 4 (3)
iknev
|
2019.02.22
|
Votes 0
|
Views 21097140
|
iknev | 2019.02.22 | 0 | 21097140 |
1249 |
Premium Question Paper 3 (6)
iknev
|
2019.02.22
|
Votes 0
|
Views 20999837
|
iknev | 2019.02.22 | 0 | 20999837 |
1248 |
Premium Question Paper 1 (2)
iknev
|
2019.02.22
|
Votes 0
|
Views 20772743
|
iknev | 2019.02.22 | 0 | 20772743 |
1247 |
ISTQB Question Bank_ Test Manager Sample Question Set 1
iknev
|
2019.02.22
|
Votes 0
|
Views 20801766
|
iknev | 2019.02.22 | 0 | 20801766 |
1246 |
ISTQB Certified Tester List (FULL)
VTB
|
2018.10.31
|
Votes 0
|
Views 21413439
|
VTB | 2018.10.31 | 0 | 21413439 |
1245 |
ISTQB Agile Exam (Auckland, NZ)
VTB
|
2018.10.28
|
Votes 0
|
Views 21623756
|
VTB | 2018.10.28 | 0 | 21623756 |
1244 |
ISTQB Foundation Exam (Auckland, NZ)
VTB
|
2018.10.28
|
Votes 0
|
Views 20950232
|
VTB | 2018.10.28 | 0 | 20950232 |
1243 |
ISTQB Foundation Course (Auckland, NZ)
VTB
|
2018.10.28
|
Votes 0
|
Views 21097043
|
VTB | 2018.10.28 | 0 | 21097043 |
1242 |
ISTQB Foundation Agile Course (Auckland, NZ)
VTB
|
2018.10.28
|
Votes 0
|
Views 20634621
|
VTB | 2018.10.28 | 0 | 20634621 |
1241 |
ISTQB Course + Internship (Auckland, NZ)
VTB
|
2018.10.28
|
Votes 0
|
Views 21035901
|
VTB | 2018.10.28 | 0 | 21035901 |
1240 |
ISTQB Expert - Improving the Test Process [Sample Exam & Answer] - ISTQB Official
VTB
|
2018.10.26
|
Votes 0
|
Views 20575456
|
VTB | 2018.10.26 | 0 | 20575456 |
1239 |
ISTQB Expert - Test Manager [Sample Exam & Answer] - ISTQB Official (1)
VTB
|
2018.10.26
|
Votes 0
|
Views 20956878
|
VTB | 2018.10.26 | 0 | 20956878 |
1238 |
ISTQB Advanced - Technical Test Analyst [Sample Exam & Answer] - ISTQB Official
VTB
|
2018.10.26
|
Votes 0
|
Views 21112098
|
VTB | 2018.10.26 | 0 | 21112098 |
1237 |
ISTQB Advanced - Test Analyst [Sample Exam & Answer] - ISTQB Official
VTB
|
2018.10.26
|
Votes 0
|
Views 21470722
|
VTB | 2018.10.26 | 0 | 21470722 |
1236 |
ISTQB Advanced - Test Manager [Sample Exam & Answer] - ISTQB Official (1)
VTB
|
2018.10.26
|
Votes 0
|
Views 20746680
|
VTB | 2018.10.26 | 0 | 20746680 |
1235 |
ISTQB Foundation - Model Based Tester [Sample Exam & Answers] - ISTQB Official
VTB
|
2018.10.26
|
Votes 0
|
Views 21916017
|
VTB | 2018.10.26 | 0 | 21916017 |
1234 |
ISTQB Foundation - Agile Tester [Sample Exam & Answer] - ISTQB Official
VTB
|
2018.10.26
|
Votes 0
|
Views 20783939
|
VTB | 2018.10.26 | 0 | 20783939 |
1233 |
ISTQB Foundation - Certified Tester [Sample Exam & Answer] - ISTQB Official (1)
VTB
|
2018.10.26
|
Votes 0
|
Views 20806325
|
VTB | 2018.10.26 | 0 | 20806325 |
1232 |
ISTQB Exam Tips and Tricks
VTB
|
2018.10.16
|
Votes 0
|
Views 21039114
|
VTB | 2018.10.16 | 0 | 21039114 |
1231 |
ISTQB Foundation Level Quiz 20 Questions (1)
aiitistqb
|
2018.10.16
|
Votes 0
|
Views 21983343
|
aiitistqb | 2018.10.16 | 0 | 21983343 |
1230 |
ISTQB Free Sample Exam and Answers
aiitistqb
|
2018.10.16
|
Votes 0
|
Views 21429332
|
aiitistqb | 2018.10.16 | 0 | 21429332 |
1229 |
ISTQB Foundation - Agile Extension Online Courses is live!!
VTB
|
2018.10.16
|
Votes 0
|
Views 20679423
|
VTB | 2018.10.16 | 0 | 20679423 |
1228 |
ISTQB Foundation Online Courses are Live!!
VTB
|
2018.10.12
|
Votes 0
|
Views 21475417
|
VTB | 2018.10.12 | 0 | 21475417 |
1227 |
ISTQB Foundation (Practice Exam)
VTB
|
2018.10.12
|
Votes 0
|
Views 20686074
|
VTB | 2018.10.12 | 0 | 20686074 |
1226 |
CTAL TM Questions (23)
ulissesmafra
|
2018.10.09
|
Votes 1
|
Views 21137794
|
ulissesmafra | 2018.10.09 | 1 | 21137794 |
1225 |
Syllabus 2012 (2)
ulissesmafra
|
2018.10.09
|
Votes 0
|
Views 20835484
|
ulissesmafra | 2018.10.09 | 0 | 20835484 |
1224 |
ISEB & ISTQB EXAM TIPS (3)
Sky Driver
|
2018.09.24
|
Votes 0
|
Views 20640260
|
Sky Driver | 2018.09.24 | 0 | 20640260 |
1223 |
Tips for clearing ISTQB Foundation Level Exam (1)
Sky Driver
|
2018.09.24
|
Votes 0
|
Views 21552299
|
Sky Driver | 2018.09.24 | 0 | 21552299 |
1222 |
Tips for passing the ISTQB Foundation Level exam – Do’s and Don’t’s
Sky Driver
|
2018.09.24
|
Votes 0
|
Views 21645662
|
Sky Driver | 2018.09.24 | 0 | 21645662 |
1221 |
Why do people fail the ISTQB Foundation Certificate? (1)
Sky Driver
|
2018.09.24
|
Votes 0
|
Views 20980011
|
Sky Driver | 2018.09.24 | 0 | 20980011 |
1220 |
ISTQB Foundation Mock Exam 2 (3)
peter_hey
|
2018.09.19
|
Votes 3
|
Views 21621985
|
peter_hey | 2018.09.19 | 3 | 21621985 |
1219 |
ISTQB Foundation Mock Exam 1 (3)
peter_hey
|
2018.09.19
|
Votes 0
|
Views 20365363
|
peter_hey | 2018.09.19 | 0 | 20365363 |
1218 |
What is ISTQB? (1)
master15
|
2018.09.19
|
Votes 0
|
Views 21012490
|
master15 | 2018.09.19 | 0 | 21012490 |
1217 |
Syllabus (2)
richp
|
2018.09.18
|
Votes 0
|
Views 21430954
|
richp | 2018.09.18 | 0 | 21430954 |
1216 |
Learning Objectives for ISTQB Advanced Level Technical Test Analyst Exam (1)
master15
|
2018.09.16
|
Votes 0
|
Views 20594575
|
master15 | 2018.09.16 | 0 | 20594575 |
1215 |
Software Testing Tools used by ISTQB certified Experts like Test Analysts and Technical Test Analysts (2)
master15
|
2018.09.16
|
Votes 0
|
Views 21922015
|
master15 | 2018.09.16 | 0 | 21922015 |
1214 |
What are the Advantages of ISTQB Certifications? (1)
master15
|
2018.09.13
|
Votes 0
|
Views 21303694
|
master15 | 2018.09.13 | 0 | 21303694 |
1213 |
How many Levels of Certification are provided by ISTQB? (1)
master15
|
2018.09.13
|
Votes 0
|
Views 21420954
|
master15 | 2018.09.13 | 0 | 21420954 |
1212 |
Syllabus CTAL-TTA - [BR] (1)
tcorteletti
|
2018.09.09
|
Votes 0
|
Views 20290598
|
tcorteletti | 2018.09.09 | 0 | 20290598 |
1211 |
Syllabus CTFL - [BR] (1)
tcorteletti
|
2018.09.09
|
Votes 0
|
Views 20911259
|
tcorteletti | 2018.09.09 | 0 | 20911259 |
1210 |
ISTQB Certification – Foundation Level syllabus
Sky Driver
|
2018.09.05
|
Votes 0
|
Views 21002034
|
Sky Driver | 2018.09.05 | 0 | 21002034 |
1209 |
Documents to be submitted at the time of registration of ISTQB Advanced Level (2)
Sky Driver
|
2018.09.05
|
Votes 0
|
Views 20971141
|
Sky Driver | 2018.09.05 | 0 | 20971141 |
1208 |
The prerequisites for applying for the ISTQB Advanced Level (1)
Sky Driver
|
2018.09.05
|
Votes 0
|
Views 21091662
|
Sky Driver | 2018.09.05 | 0 | 21091662 |
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