Difference between Equalance class partion and boundary
value analysis?

Answer Posted / karthick407

Boundary value analysis and equivalent partitioning are
black box testing techniques.
Both are applied to validate the minimum and maximum limit.

BVA ex: if Username field accepts minimum 4 character and
maximum 12 characters, then we need to check with six
different data.

lets consider 'm' is minimum limit and 'n' is maximum limit,
then check with m-1, m, m+1 , n-1 , n , n+1.

note: m=4(minimum 4 character)
n=12(maximum 12 characters)

m-1= (4-1)=3 ( invalid data )
m=4 (valid data )
m+1= (4+1)=5 ( valid data )
n-1=(12-1)=11 (valid data)
n=12 (valid data)
n+1= 12+1=13 ( invalid data)

there fore , here we have 2 invalid data(-ve test case) and
4 valid data( +ve test case).


equivalent partitioning: this technique is used to reduce
the no. of test cases in to finite set. in this method input
data will be divided into 3 equivalent sets.

ex: if a input box accepts 1 to 1000 numbers then, it is not
necessary to write test cases for 1000 valid inputs and
other test case for invalid data.

instead validate the field with 3 different sets.

1. take one input data between 1 to 1000 as +ve test case.
if we testing for the other values between 1 to 1000 the
result is going to be same. so one test case is sufficient
for valid input data.

2. take one value less than 1 as invalid input (-ve test case)

3. take one input data above 1000 as invalid input ( -ve
test case).

There fore using this method we can reduce the no.of
testcases into finite set.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Build with fixes has been deployed on QA environment if asked by your manager to reproduce how can you reproduce the issues? (by using the previous build) Can you access the previous build? If so ,what are the tools or how can you access?

1457


What is AGP?what is setup.inf?What are the ways to install driver?

1790


Write the 10 high test cases for making video call/face time

7565


What is showstopper defect?

679


What is client server application testing?

1547






where do we work with Application, web and Database servers Means which type of applications.

1469


What is a test scenario?

706


What is quality center? How many built in tables does quality center have?

807


What icon is used in WinRunner to get an explanation of the syntax of TSL?

1567


What is Web testing & which action we take at the time of Web Testing?

1472


3. In a system designed to work out the tax to be paid: An employee has £4000 of salary tax free. The next £1500 is taxed at 10%. The next £28000 after that is taxed at 22%. Any further amount is taxed at 40%. To the nearest whole pound, which of these groups of numbers fall into three DIFFERENT equivalence classes?

1701


What are tools of performance testing?

719


How to write testcases for unread/read mails for gamil inbox? and what are the types of testing you do on them?

3945


When new application ready to test than whats your testing strategies?

1244


What are the different servers and difference between them?

1616