Can anyone explain Boundary value Analysis and equavelance
partition with real time example

Answers were Sorted based on User's Feedback



Can anyone explain Boundary value Analysis and equavelance partition with real time example..

Answer / deepak

Take username field as example that have req for entering 5
to 15 charecters

BVA for this is

min = 5
min+1 = 6 pass
min -1= 4 fail
max = 15 pass
max+1 = 16 fail
max-1 = 14 pass


EVP for this is

Check values like
any value <5 characters
between 5 to 15 characters
any value > 15 characters

BVA and EVP covers all possible scenarios to find bug in the
code (username) field.

Let me know if Raghav/Anyone not happy with this.

Is This Answer Correct ?    15 Yes 0 No

Can anyone explain Boundary value Analysis and equavelance partition with real time example..

Answer / raghav

Hi shyam

Take username field as example that have req for entering 5
to 15 charecters

BVA for this is

min = 5
min+1 = 6 pass
min -1= 4 fail
max = 15 pass
max+1 = 16 fail
max-1 = 14 pass

and moving to ECP: Equavelance
partition

Take same username field which accepts a-z and 0-9 charecters

Valid
a-z
0-9

invalid

A-Z
Special charecters.... etc

Hope this will be correct
please correct me if i miss some thing

Is This Answer Correct ?    7 Yes 1 No

Can anyone explain Boundary value Analysis and equavelance partition with real time example..

Answer / rajendra

Hai Swapna ur misunderstood the Equivalence partition
technique.
This is used to create test cases,Test data.
Not for resting bugs reported and fixed in previous
build.
ok
rajendra
rajendra_penumalli@yahoo.com

Is This Answer Correct ?    10 Yes 6 No

Can anyone explain Boundary value Analysis and equavelance partition with real time example..

Answer / shyam

Yes Rajendra is Correct,

ECP is nothing but divide test cases into small but till
equily effective groups.

This tech. will use to reduce the no. of test cases.

If I m wrong please correct me.

Shyam

Is This Answer Correct ?    4 Yes 1 No

Can anyone explain Boundary value Analysis and equavelance partition with real time example..

Answer / mallikarjun

hi shyam what u entered is correct but u didn't explain
about the BVA....that is it is checking the valid output by
entering the extream values of the boundaries...i mean just
enter the upper and lower values of boundaries...

Is This Answer Correct ?    2 Yes 1 No

Can anyone explain Boundary value Analysis and equavelance partition with real time example..

Answer / neellohit

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.


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

Is This Answer Correct ?    1 Yes 0 No

Can anyone explain Boundary value Analysis and equavelance partition with real time example..

Answer / vinod

Equivalence Partitioning is black box testing technique to
partition the test data in valid data range and use any
single value from the each range.
e.g. if field accepts value up to 100 then test data can be
taken single value from each data range 0-10, 10-20, 20-30
..... 90-100

Boundary Value Analysis is black box testing technique in
which test data is taken with +1,-1,and value for both the
ends.
e.g. if field accepts value up to 100 then test data can be
-1, 0, 1 ... 99, 100, 101

Is This Answer Correct ?    0 Yes 1 No

Can anyone explain Boundary value Analysis and equavelance partition with real time example..

Answer / vishal

yes,
BVA Covers the boumdry for example for text box value is up
to 100 than we can test up 100 values scenario in
Equivalence Partitioning we can test for +1 ans -1 value.

Is This Answer Correct ?    0 Yes 1 No

Can anyone explain Boundary value Analysis and equavelance partition with real time example..

Answer / rajendra

Shyam
Using ECP we can split test cases into positve and negative
test cases.this not to reduce the number of testcases
but to give more clarity test cases development.
ok
rajendra
rajendra_penumalli@yahoo.com

Is This Answer Correct ?    0 Yes 2 No

Can anyone explain Boundary value Analysis and equavelance partition with real time example..

Answer / swapna

Equivalence partition:
Eg: suppose i have 200 bugs and i have test them with in
given period of time.In this situation i can only do is to
categorise the bugs as per to their severity, priority, etc
and this division is called as equivalence partition

Boundary Value Analysis:
Eg: Take a login page where the condition for Username is
to enter the values within the limit of 5-15 characters.
so, the tester can test this, as
5,5+1,5-1,6 to14,15,15+1,15-1

Is This Answer Correct ?    10 Yes 27 No

Post New Answer

More Manual Testing Interview Questions

In usability testing we check spelling, content, look and feel, color combination, link or menu navigation? please let me know more about usability testing.

0 Answers  


you have 200 testcase there is no enough time to excute all the testcase but you have to released that build.what can u do it?

1 Answers   Veritas,


Negative testcases for dropdownlist???

5 Answers  


Difference between Test Plan & Test Strategy?

6 Answers  


What is Prototype Testing?

5 Answers   Wipro,






What is Equivalence Partitioning and Boundary Value Analysis. Is Boundary Value is subset of Equivalence Partitioning??

2 Answers   Xavient,


In whic page of QC , we run our Test case, or from where we run our Test cases from QC?

2 Answers   Amdocs,


how do you ensure by testing that the transactional refuilement or an application are met

1 Answers  


our testing team is very very small(how do u initiate the team members

1 Answers   HP,


What is Bug leak or Defect leak ?

2 Answers  


When they freez(baseline) the requirement means in which phase of sdlc

5 Answers  


scenario is like the following, a software to be installed in the train the work of the software is when ever any object comes opposite to it the train has to be stopped would u plese any bone tell us the test case for this

2 Answers   AZTEC,


Categories