Quality Testing

Quality is delighting customers

Difference Between Equivalence Partitioning and Boundary Value Analysis


Can anybody tell what is the difference between Equivalence Partitioning and Boundary Value Analysis

Views: 9618

Reply to This

Replies to This Discussion


thanks for your link, i tried in Google but i can't get clear idea, so i think testing expert will give simple and best answers, so that's why i tried here

This questions is available on QT:

URL: http://www.qualitytesting.info/forum/topics/2064344:Topic:17167

simply Equalance class partion is for ex:

Valid Invalid
a - z Special charcters
A - Z spaces and many more..
0 - 9

in my knowledge it is called as equalance class partition.

BVA is

Boundary Value Analasys
input text boxes can be test by using BVA method

for Ex:

text box can acceptt 1 - 1000 for this BVA is given below
Min = 1 this value can give in the text box(it means it is pass)
Min -1 = 0 this values cannot provide in the text box(it means it is fail)
Min + 1 = 2 this value can provide in the text box(pass)
Max = 1000 upto this vakues user can provide input in the text box(pass0
Max -1 = 999upto this values userc can provide text in the text box(pass)
Max+1 = 1001 this value cannot provide in the text box by the user (this is Fail).

correct me if i am wrong
nice explanation, thank you

i have one doubt in above scenario, Now i will write test cases for boundary value analysis and execute that test cases for above example, then i go for Equivalence Partitioning test case,
Now i have to write test case for Equivalence Partitioning (Valid,Invalid(2)) technique,
Actually my doubt is i already did that scenarios(Equivalence Partitioning (Valid,Invalid(2)) technique) in Boundary value analysis test cases itself, so why what is need to we go for Equivalence Partitioning test case
For Username & Password of web based projects we use BVA only and For Client server projects, in Functionality Testing and for input domain coverage we use BVA and EP.
All depends on Requirement

Ex: The age of the person should be between 18 and 60.

Equivalence Partition:
Check with <18,18 to 60, >60

Boundary Value Analysis:
Check with min-1,min,min+1 --> 17,18,19
Check with max-1,max,max+1 --> 59,60,61

EP is better than BVA, because the former has three testcases but the later has six test cases. And also EP covers all Positive and Negative validation in 3 case itself.

We usually use Equivalence partition test design technique to reduce test cases (and test time) and to assure best coverage.

Thanx n Regards
V Prashant
thank you prashant very much

thanks cleared

Let me explain this by example...

Equivalence Partitioning:-
This is method in which we divide valid & invalid range of input.
e.g.:- List of employee having salary range between 5000-11000.
Here we get 3 partitions as below...
1. Invalid Partition: <5000
2. Valid Partition: 5000-11000
3. Invalid Partition: >11000

Boundary Value Analysis:-
This is a method in which we takes input boundary values with +1 & -1. Which is called as Upper Boundary,On the Boundary & Lower Boundary values.
Let's take same above example...
e.g.:- Here,
Upper Boundary values are 4999,5000,5001
Lower Boundary values are 10999,11000,11001

I think this is more than sufficient to understand...

feel free to ask if you have any query...


TTWT Magazine





© 2022   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service