Boundary Value Analysis (BVA)
Boundary value analysis is a technique for test data selection. A test engineer chooses values that lie along data extremes. Boundary values include maximum, minimum, just inside boundaries, just outside boundaries, typical values, and error values. The expectation is that, if a systems works correctly for these extreme or special values, then it will work correctly for all values in between. An effective way to test code, is to exercise it at its natural boundaries.
E.g. if a text box is supposed to accept values in range 1 to 100, then try providing the following values:
1) 1, 100, values between 1 and 100 on sampling basis,
2) 0, 101,
3) Negative values,
4) Extremely large values
QTP and Winrunner Questions and Answers
Contact: qualityvista @ gmail.com
6 Comments:
What about other ASCII characters like @#$ or text "not tested" ????
Alex
www.geocities.com/xtremetesting
Hi Alex,
What you say comes under validation testing of the option. BVA would be done just to check that the option does not behave weirdly at boundary values defined for it.
Testing for ASCII characters and letters for the text box would be as good as validating it.
This is my understanding, you thoughts are welcome.
- Techie
In the point 1 above you said to test for values 1, 100 & values between 1 and 100 on sampling basis.
I agree to values 1 & 100, but what is the need to test for values between 1 & 100? I could not imagine of a scenerio where test pass for 1 & 100 but fails for any value in between them.
Hi,
I think there is a need to test for scenario for values between 1 & 100.
An example would be:
If the code is in the form of ...between =>1 and =<100 and say, the developer forgets either < or > sign, then an issue would occur as the value set is not clearly defined.
hi,
why in BVA we have to check only boundary values.
for example say between 10.....1000
all the values between the above range is valid why cant we perform BVA for a value say 500 the upperlimit n,n+1,n-1 and lower limit n,n+1,n-1
can i get these type of questions for my interview in Manual testing.
Please send me to paulraj_d@hotmail.com
Post a Comment
<< Home