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 1429948
|
admin | 2024.09.15 | 0 | 1429948 |
Notice |
ISTQB Foundation - Certified Tester (2018) : Official Sample Exam Set 2 with Answer (4)
Testersbest
|
2019.06.21
|
Votes 0
|
Views 11018798
|
Testersbest | 2019.06.21 | 0 | 11018798 |
Notice |
ISTQB Foundation - Certified Tester (2018) : Official Sample Exam Set 1 with Answer (3)
Testersbest
|
2019.06.21
|
Votes 0
|
Views 10842292
|
Testersbest | 2019.06.21 | 0 | 10842292 |
Notice |
ISTQB Foundation Certified Tester (2018) : New Exam Rule (1)
Testersbest
|
2019.06.21
|
Votes 0
|
Views 11355342
|
Testersbest | 2019.06.21 | 0 | 11355342 |
Notice |
ISTQB Foundation - Certified Tester Syllabus (2018)
VTB
|
2018.11.14
|
Votes 0
|
Views 11290481
|
VTB | 2018.11.14 | 0 | 11290481 |
Notice |
ISTQB Advanced Level Syllabus (2016) Security Tester
VTB
|
2018.10.26
|
Votes 0
|
Views 11612730
|
VTB | 2018.10.26 | 0 | 11612730 |
Notice |
ISTQB Advanced Level Syllabus (2012) Technical Test Analyst
VTB
|
2016.05.06
|
Votes 0
|
Views 11010875
|
VTB | 2016.05.06 | 0 | 11010875 |
Notice |
ISTQB Advanced Level Syllabus (2012) Test Manager
VTB
|
2016.05.06
|
Votes 0
|
Views 11392251
|
VTB | 2016.05.06 | 0 | 11392251 |
Notice |
ISTQB Advanced Level Syllabus (2012) Test Analyst
VTB
|
2016.05.06
|
Votes 0
|
Views 10918499
|
VTB | 2016.05.06 | 0 | 10918499 |
Notice |
ISTQB Glossary of Testing Terms Version:2.2
VTB
|
2016.05.06
|
Votes 0
|
Views 11135938
|
VTB | 2016.05.06 | 0 | 11135938 |
Notice |
ISTQB Expert Level (CTEL) Syllabus -Test Management (3)
VTB
|
2015.09.13
|
Votes 0
|
Views 10967554
|
VTB | 2015.09.13 | 0 | 10967554 |
Notice |
ISTQB Expert Level (CTEL) Syllabus - Improving the Testing Process (1)
VTB
|
2015.09.13
|
Votes 0
|
Views 11387345
|
VTB | 2015.09.13 | 0 | 11387345 |
Notice |
ISTQB Foundation Level (CTFL) Syllabus 2011 (12)
VTB
|
2014.10.11
|
Votes 0
|
Views 11165166
|
VTB | 2014.10.11 | 0 | 11165166 |
1257 |
ISTQB Question and Answers (Advanced Level)
Steveskok
|
2021.02.07
|
Votes 0
|
Views 11005985
|
Steveskok | 2021.02.07 | 0 | 11005985 |
1256 |
ISTQB Certified Tester Foundation Level Syllabus Version 2018 V3.1
(TestExpert)
|
2020.02.03
|
Votes 0
|
Views 11077856
|
(TestExpert) | 2020.02.03 | 0 | 11077856 |
1255 |
ISTQB Advanced - Technical Test Analyst Sample Exam
ItSeTsQtB
|
2019.08.08
|
Votes 0
|
Views 11294058
|
ItSeTsQtB | 2019.08.08 | 0 | 11294058 |
1254 |
ISTQB Certification and Training Value
^Software^
|
2019.07.22
|
Votes 0
|
Views 11430664
|
^Software^ | 2019.07.22 | 0 | 11430664 |
1253 |
ISTQB Foundation - Agile Tester (Sample Exam)
IT-Tester
|
2019.07.08
|
Votes 0
|
Views 11154165
|
IT-Tester | 2019.07.08 | 0 | 11154165 |
1252 |
ISTQB Advanced - Technical Test Analyst (Sample Exam)
IT-Tester
|
2019.07.08
|
Votes 0
|
Views 11355424
|
IT-Tester | 2019.07.08 | 0 | 11355424 |
1251 |
ISTQB Advanced - Test Analyst (Sample Exam) (1)
IT-Tester
|
2019.07.08
|
Votes 0
|
Views 10672738
|
IT-Tester | 2019.07.08 | 0 | 10672738 |
1250 |
Premium Question Paper 4 (3)
iknev
|
2019.02.22
|
Votes 0
|
Views 11331180
|
iknev | 2019.02.22 | 0 | 11331180 |
1249 |
Premium Question Paper 3 (6)
iknev
|
2019.02.22
|
Votes 0
|
Views 11332577
|
iknev | 2019.02.22 | 0 | 11332577 |
1248 |
Premium Question Paper 1 (2)
iknev
|
2019.02.22
|
Votes 0
|
Views 11282708
|
iknev | 2019.02.22 | 0 | 11282708 |
1247 |
ISTQB Question Bank_ Test Manager Sample Question Set 1
iknev
|
2019.02.22
|
Votes 0
|
Views 10921765
|
iknev | 2019.02.22 | 0 | 10921765 |
1246 |
ISTQB Certified Tester List (FULL)
VTB
|
2018.10.31
|
Votes 0
|
Views 11551884
|
VTB | 2018.10.31 | 0 | 11551884 |
1245 |
ISTQB Agile Exam (Auckland, NZ)
VTB
|
2018.10.28
|
Votes 0
|
Views 11666917
|
VTB | 2018.10.28 | 0 | 11666917 |
1244 |
ISTQB Foundation Exam (Auckland, NZ)
VTB
|
2018.10.28
|
Votes 0
|
Views 11012085
|
VTB | 2018.10.28 | 0 | 11012085 |
1243 |
ISTQB Foundation Course (Auckland, NZ)
VTB
|
2018.10.28
|
Votes 0
|
Views 11329004
|
VTB | 2018.10.28 | 0 | 11329004 |
1242 |
ISTQB Foundation Agile Course (Auckland, NZ)
VTB
|
2018.10.28
|
Votes 0
|
Views 11490526
|
VTB | 2018.10.28 | 0 | 11490526 |
1241 |
ISTQB Course + Internship (Auckland, NZ)
VTB
|
2018.10.28
|
Votes 0
|
Views 11097077
|
VTB | 2018.10.28 | 0 | 11097077 |
1240 |
ISTQB Expert - Improving the Test Process [Sample Exam & Answer] - ISTQB Official
VTB
|
2018.10.26
|
Votes 0
|
Views 11291016
|
VTB | 2018.10.26 | 0 | 11291016 |
1239 |
ISTQB Expert - Test Manager [Sample Exam & Answer] - ISTQB Official (1)
VTB
|
2018.10.26
|
Votes 0
|
Views 11368272
|
VTB | 2018.10.26 | 0 | 11368272 |
1238 |
ISTQB Advanced - Technical Test Analyst [Sample Exam & Answer] - ISTQB Official
VTB
|
2018.10.26
|
Votes 0
|
Views 11584847
|
VTB | 2018.10.26 | 0 | 11584847 |
1237 |
ISTQB Advanced - Test Analyst [Sample Exam & Answer] - ISTQB Official
VTB
|
2018.10.26
|
Votes 0
|
Views 11583383
|
VTB | 2018.10.26 | 0 | 11583383 |
1236 |
ISTQB Advanced - Test Manager [Sample Exam & Answer] - ISTQB Official (1)
VTB
|
2018.10.26
|
Votes 0
|
Views 11015547
|
VTB | 2018.10.26 | 0 | 11015547 |
1235 |
ISTQB Foundation - Model Based Tester [Sample Exam & Answers] - ISTQB Official
VTB
|
2018.10.26
|
Votes 0
|
Views 11822446
|
VTB | 2018.10.26 | 0 | 11822446 |
1234 |
ISTQB Foundation - Agile Tester [Sample Exam & Answer] - ISTQB Official
VTB
|
2018.10.26
|
Votes 0
|
Views 11162356
|
VTB | 2018.10.26 | 0 | 11162356 |
1233 |
ISTQB Foundation - Certified Tester [Sample Exam & Answer] - ISTQB Official (1)
VTB
|
2018.10.26
|
Votes 0
|
Views 10873692
|
VTB | 2018.10.26 | 0 | 10873692 |
1232 |
ISTQB Exam Tips and Tricks
VTB
|
2018.10.16
|
Votes 0
|
Views 11143673
|
VTB | 2018.10.16 | 0 | 11143673 |
1231 |
ISTQB Foundation Level Quiz 20 Questions (1)
aiitistqb
|
2018.10.16
|
Votes 0
|
Views 11982011
|
aiitistqb | 2018.10.16 | 0 | 11982011 |
1230 |
ISTQB Free Sample Exam and Answers
aiitistqb
|
2018.10.16
|
Votes 0
|
Views 11807006
|
aiitistqb | 2018.10.16 | 0 | 11807006 |
1229 |
ISTQB Foundation - Agile Extension Online Courses is live!!
VTB
|
2018.10.16
|
Votes 0
|
Views 11532177
|
VTB | 2018.10.16 | 0 | 11532177 |
1228 |
ISTQB Foundation Online Courses are Live!!
VTB
|
2018.10.12
|
Votes 0
|
Views 11508382
|
VTB | 2018.10.12 | 0 | 11508382 |
1227 |
ISTQB Foundation (Practice Exam)
VTB
|
2018.10.12
|
Votes 0
|
Views 10924576
|
VTB | 2018.10.12 | 0 | 10924576 |
1226 |
CTAL TM Questions (23)
ulissesmafra
|
2018.10.09
|
Votes 1
|
Views 11550709
|
ulissesmafra | 2018.10.09 | 1 | 11550709 |
1225 |
Syllabus 2012 (2)
ulissesmafra
|
2018.10.09
|
Votes 0
|
Views 11068684
|
ulissesmafra | 2018.10.09 | 0 | 11068684 |
1224 |
ISEB & ISTQB EXAM TIPS (3)
Sky Driver
|
2018.09.24
|
Votes 0
|
Views 11058409
|
Sky Driver | 2018.09.24 | 0 | 11058409 |
1223 |
Tips for clearing ISTQB Foundation Level Exam (1)
Sky Driver
|
2018.09.24
|
Votes 0
|
Views 11442068
|
Sky Driver | 2018.09.24 | 0 | 11442068 |
1222 |
Tips for passing the ISTQB Foundation Level exam – Do’s and Don’t’s
Sky Driver
|
2018.09.24
|
Votes 0
|
Views 11601803
|
Sky Driver | 2018.09.24 | 0 | 11601803 |
1221 |
Why do people fail the ISTQB Foundation Certificate? (1)
Sky Driver
|
2018.09.24
|
Votes 0
|
Views 11253248
|
Sky Driver | 2018.09.24 | 0 | 11253248 |
1220 |
ISTQB Foundation Mock Exam 2 (3)
peter_hey
|
2018.09.19
|
Votes 3
|
Views 11634000
|
peter_hey | 2018.09.19 | 3 | 11634000 |
1219 |
ISTQB Foundation Mock Exam 1 (3)
peter_hey
|
2018.09.19
|
Votes 0
|
Views 11216748
|
peter_hey | 2018.09.19 | 0 | 11216748 |
1218 |
What is ISTQB? (1)
master15
|
2018.09.19
|
Votes 0
|
Views 11281827
|
master15 | 2018.09.19 | 0 | 11281827 |
1217 |
Syllabus (2)
richp
|
2018.09.18
|
Votes 0
|
Views 11549859
|
richp | 2018.09.18 | 0 | 11549859 |
1216 |
Learning Objectives for ISTQB Advanced Level Technical Test Analyst Exam (1)
master15
|
2018.09.16
|
Votes 0
|
Views 10752795
|
master15 | 2018.09.16 | 0 | 10752795 |
1215 |
Software Testing Tools used by ISTQB certified Experts like Test Analysts and Technical Test Analysts (2)
master15
|
2018.09.16
|
Votes 0
|
Views 11719074
|
master15 | 2018.09.16 | 0 | 11719074 |
1214 |
What are the Advantages of ISTQB Certifications? (1)
master15
|
2018.09.13
|
Votes 0
|
Views 11560606
|
master15 | 2018.09.13 | 0 | 11560606 |
1213 |
How many Levels of Certification are provided by ISTQB? (1)
master15
|
2018.09.13
|
Votes 0
|
Views 11589939
|
master15 | 2018.09.13 | 0 | 11589939 |
1212 |
Syllabus CTAL-TTA - [BR] (1)
tcorteletti
|
2018.09.09
|
Votes 0
|
Views 10706008
|
tcorteletti | 2018.09.09 | 0 | 10706008 |
1211 |
Syllabus CTFL - [BR] (1)
tcorteletti
|
2018.09.09
|
Votes 0
|
Views 11492743
|
tcorteletti | 2018.09.09 | 0 | 11492743 |
1210 |
ISTQB Certification – Foundation Level syllabus
Sky Driver
|
2018.09.05
|
Votes 0
|
Views 11051796
|
Sky Driver | 2018.09.05 | 0 | 11051796 |
1209 |
Documents to be submitted at the time of registration of ISTQB Advanced Level (2)
Sky Driver
|
2018.09.05
|
Votes 0
|
Views 11099431
|
Sky Driver | 2018.09.05 | 0 | 11099431 |
1208 |
The prerequisites for applying for the ISTQB Advanced Level (1)
Sky Driver
|
2018.09.05
|
Votes 0
|
Views 11068205
|
Sky Driver | 2018.09.05 | 0 | 11068205 |
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