Boundary Value - Example - Boundary value analysis

Q.  A Online Bus Reservation System asks number of seats to be reserved by user where user can reserve seats till its capacity will be full. If a tester wants to test that particular field using Boundary Value, what do you think will be a correct set of input values?
- Published on 14 Aug 15

a. 1, 2, capacity -1, capacity, capacity + 1
b. 0, 1, capacity, capacity + 1
c. 0, 1, 2, capacity + 1, a very large number
d. 0, 1, 10, 100, capacity, capacity+1

ANSWER: 0, 1, capacity, capacity + 1
 

    Discussion

  • HAARISH RAJ   -Posted on 23 Aug 24
    The formula for boundary value is
    A-1
    A,B
    B+1
    here A is the minimum value and B is the maximum
    using this,
    the minimum no of seat = 1
    the maximum no of seat = capactiy
    Then the answer is 0, 1, capacity, capacity + 1

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)