Interview Questions and Answers for QTP (Quick Test Professional)

Tuesday, November 08, 2005

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 @

Post to: IpadIt! | blinkbits | blinklist | Blogmarks | co.mments | | | digg It! | Fark| feedmelinks | Furl | LinkaGoGo | Ma.gnolia | Netscape | Newsvine | Netvouz | RawSugar | Reddit | scuttle | Shadows | Shoutwire | Simpy | Smarking | Spurl | TailRank | Wists | YahooMyWeb!


At 5:12 PM, November 11, 2005, Anonymous Anonymous said...

What about other ASCII characters like @#$ or text "not tested" ????

At 5:21 PM, November 11, 2005, Blogger Techie said...

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

At 11:02 AM, July 21, 2006, Anonymous Anonymous said...

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.

At 5:55 AM, June 12, 2007, Anonymous Anonymous said...

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.

At 6:00 PM, October 10, 2007, Anonymous Anonymous said...

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

At 10:25 AM, October 19, 2007, Blogger milkking said...

can i get these type of questions for my interview in Manual testing.

Please send me to


Post a Comment

<< Home