what is boundary value analysis?
Answers were Sorted based on User's Feedback
Answer / rajendra
Boundary Value Analysis(BVA):
Normally this will be used to validate the numeric text
boxes(fields).
For example if we take a text box it will accept
Min(say m) 5 chars -Lower boundary
Max(say n) 9 chars -Upper boundary
here the boundaries are 5 and 9.
(min-1)4--- 5(min)6 -----7-----8------9(Max)---10(max+1)
invalid---><---------Valid range---------><=-invalid--
| |
Bpundary-1 Boundary-2
Then now we will check the text box by giving different
inputs at boundaries
like
Below 5 it must not accept.
Above 9 it must not accept .
for other conditions we will check like
m+1 is acceptable(because 5+1=6)
m-1 is not acceptable(because5-1=4)
n-1 is acceptable(because 8-1=7)
n+1 is not acceptable(because 9+1=10)
and also we can check the middle values between 5 to 9
The middle values must accept.
The real word example is Password field of yahoo mail
it will accept only some number of min characters
and will accept only some number of mix characters
Ok friends
i think u r clear with this answer
Byeeeee Friends
Rajendra
rajendra_penumalli@yahoo.com
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / pr
This notation is used to write Size and Range of an object
i.e min
min-1
min+1
max
max+1
max-1
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / naveen kumar k.l
Boundary Value Analysys(BVA)
For example if we take a text box it will accept
Min(say m) 5 chars -Lower boundary
Max(say n) 9 chars -Upper boundary
In this is case we have design the test cases for
(5-1)(5)(5+1)(9-1)(9)(9+1)
(m-1)(m)(m+1)(n-1)(n)(n+1)
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / prashanth
Boundary Value Analysis(BVA)is nothing but testing the Minimum and Maximum values of a text box field. Lets take an example
Let's say In Requirements document for "User Name" field it is give like this
- User name field should accept minimum 3 and Maximum 9 alphanumeric characters should accept
In Use Case document it will be written like below
User name Field:BVA
- min-1 is Invalid (2)
- min= is valid (3)
- min+1 is valid (4)
- max-1 is valid (8)
- max= is valid (9)
- max+1 is Invalid (10)
In Test Case document we write like this
Test Case_001:
Enter 2 values in User name field and click on Submit button
Expected: Error message should display "Enter Valid User Name"
Test Case_002:
Enter 3 values in User name field and click on Submit button
Expected: Should navigate to particular page
Test Case_003:
Enter 4 values in User name field and click on Submit button
Expected: Should navigate to particular page
Test Case_004:
Enter 8 values in User name field and click on Submit button
Expected: Should navigate to particular page
Test Case_005:
Enter 9 values in User name field and click on Submit button
Expected: Should navigate to particular page
Test Case_006:
Enter 10 values in User name field and click on Submit button
Expected: Error message should display "Enter Valid User Name"
The above format is only example.
Is This Answer Correct ? | 0 Yes | 0 No |
diff b/w test case and test script?
what ia the necessity of sdlc, stlc and testcases
What is transient bugs ? How to reproduce those bugs? Can we log the those kind of bugs in tracking tool, if we found?
Differentiate verification and validation?
Different types of design diagrams that supports to write test cases ?
Easiest way to write test cases? How i can learn writing the test cases?
Defect Migration "Defect Migration" means that error is early project documents lead to errors in later documents. For example, an incorrect requirement leads to an incorrect set of speacifications, which leads to design errors, which leads to coding errors, which lead to failures when we test against user expectations. a. How will you prevent Defect Migration? b. Why do you think preventing Defect Migration is important?
What is White Box testing and who is responsible for white box testing?
What is the difference between smoke and sanity testing? and when we perform smoke testing and when we perform sanity testing?
9.Are you exposed to any automation tools?If yes your role?
what is the diff between ad hoc and exploratory testing ?
What r test closure documents?