QA Tutorials

# BOUNDARY VALUE ANALYSIS

## BLACK BOX TEST DESIGN TECHNIQUE

Boundary value analysis is software test design technique. Due to lack of time and cost considerations it is not possible to perform the testing for each set of test data. We look for an adequate and special way of testing techniques which choose the test cases intelligently. One of the techniques we use is Boundary Value testing.

Boundary value analysis is a process of testing between the extreme ends or boundaries of input values. The basic idea of selecting the boundary testing is selecting the input values at their Minimum, just above the Minimum, a nominal value, just below the maximum, a maximum. Boundary Value analysis is a process of testing the boundary input values near the minimum and maximum boundaries. A boundary is an input or output value on the equivalence partition which includes minimum and maximum of inside and outside boundaries. For example suppose we have a very important tool at office which accepts valid user name and password field to work on that tool and accepts minimum 9 characters and maximum 13 characters. Valid range 9 -13, invalid range 8 or less than 8 and invalid range 14 or more than 14.

Boundary value analysis tests the behaviour of the program at boundaries. When we the check a range of data values after selecting the set of data that lie in the valid partitions. The next step is to check how the program behaves in the invalid partitions. Here the common is checking the range of values. For each range, there are two boundaries lower boundary and upper boundary. They are beginning and end of every valid partition. We should design the program in such a way that each test cases should exercise the program functionality at the boundaries and the values with outside and inside the boundaries. Boundary value analysis is another black box type of technique and it is used to find errors in the boundaries in the input domain and the centre of the input. Finding defects using boundary value analysis is very effective technique and it can be used at all levels of testing.

The equivalence class partition and boundary value analysis test design techniques are always used together to determine test data for testing. :

## Questions:

1. What is boundary value analysis explain with an example?

2. What is the difference between boundary value testing and equivalence partition testing?

### Related Articles

1. Nadeem Arshad says:

1. Boundary value analysis is a process of testing between the extreme ends or boundaries of input values. It is process of testing the boundary input values near the minimum and maximum boundaries. For example, if there was a username requirement for length between 4 and 8 characters, we would test the boundaries at 3, 4, and 5 as well as 7, 8, and 9 characters.

2. Boundary Value Analysis focuses solely on the input values at the boundaries, whereas Equivalence Class Partitioning divides the data into invalid and valid partitions, or classes. BVA is associated with the range of values, while ECP is primarily associated with the type of values.

2. girijavani says:

Boundary value analysis. Boundary value analysis is a process of testing between the extreme ends or boundaries of input values. A boundary is an input or output value on the equivalence partition which includes minimum and maximum of inside and outside boundaries.
Eg: Gmail User name accepts valid user name and password to login and it accepts minimum 8 characters and maximum 10 characters. Valid range 8 -10, invalid range greater than 10 and less than 8.

What is the difference between boundary value testing and equivalence partition testing?
The equivalence class partition and boundary value analysis test design techniques are always used together to determine test data for testing used in Black box testing.
Boundary Analysis is used to find errors at extreme points rather than finding those which exists in center. By using Boundary
value there is maximum possibility of finding bugs in minimum time.
Equivalence Partitioning technique we divide test data into different equivalence data classes i.e. ‘Valid’ and ‘Invalid’.

3. aswani says:

1. What is boundary value analysis explain with an example?
Boundary Value analysis is a process of testing the boundary input values near the minimum and maximum boundaries. A boundary is an input or output value on the equivalence partition which includes minimum and maximum of inside and outside boundaries. For example suppose we have a mail.yahoo.com which accepts valid user name and password field to work and accepts minimum 9 characters and maximum 13 characters. Valid range 9 -13, invalid range 8 or less than 8 and invalid range 14 or more than 14.The basic idea of selecting the boundary testing is selecting the input values at their Minimum, just above the Minimum, a nominal value, just below the maximum, a maximum.

2. What is the difference between boundary value testing and equivalence partition testing?
Boundary Value Analysis BVA is different from equivalence partitioning in that it focuses on “corner cases” or values or in-other words it is used to identify errors at boundaries rather than finding those exist in centre of input domain.Where as, in equivalence partitioning, first, you divide a set of test condition into a partition that can be considered.

4. Soni says:

1. What is boundary value analysis explain with an example?
A boundary is an input or output value on the equivalence partition which includes minimum and maximum of inside and outside boundaries.
eg:we have a very important tool at office which accepts valid user name and password field to work on that tool and accepts minimum 9 characters and maximum 13 characters. Valid range 9 -13, invalid range 8 or less than 8 and invalid range 14 or more than 14.

2. What is the difference between boundary value testing and equivalence partition testing?
Boundary value analysis tests the behaviour of the program at boundaries. When we the check a range of data values after selecting the set of data that lie in the valid partitions, equivalent partition testing is black box technique whichacnbe applied to all levels testing like unit, integration, system.

5. Suneetha V says:

Boundary Value analysis is a process of testing the boundary input values near the minimum and maximum boundaries. A boundary is an input or output value on the equivalence partition which includes minimum and maximum of inside and outside boundaries.
Ex: we have a very important tool at office which accepts valid user name and password field to work on that tool and accepts minimum 9 characters and maximum 13 characters. Valid range 9 -13, invalid range 8 or less than 8 and invalid range 14 or more than 14.

6. SD says:

Boundary value analysis is software test design technique. Boundary value analysis is a process of testing between the extreme ends or boundaries of input values. Boundary Value analysis is a process of testing the boundary input values near the minimum and maximum boundaries. Boundary value analysis tests the behavior of the program at boundaries.Finding defects using boundary value analysis is very effective technique and it can be used at all levels of testing.
EX:- in banking project LOAN AMOUNT is between 1000-9000 so it will check amount test data with boundaries as inputs
1-min1000 to max9000
2-999-9001-will not accepted
3.1001- 8999-accepted
the main difference Boundary Value testing technique is used to identify errors at boundaries (min-max).
Equivalence class partition divides the input data into different equivalence data class. We can use this type of technique, where there is different data accepted in the input field. There are number of test conditions we use equivalence partition test, divide all the test cases and from that we choose any one value from each partition in testing.

7. Padmaja says:

Boundary value analysis is process of testing between valid and invalid partitions.
For example, an application accepts input as number 1 to 100, then the boundary value analysis is testing with
1. test data with boundaries as inputs 1 and 100
2. test data with values just below the extreme ends 0 and 99
3. test data with values just above the extreme ends 2 and 101
Difference between boundary value analysis and equivalence class partition
Boundary value analysis focuses on data around the boundaries
Equivalence partition focuses on partition of different equivalent data.

8. Kazi+Saima+Ahsan says:

Boundary Value analysis is a process of testing the boundary input values near the minimum and maximum boundaries. A boundary is an input or output value on the equivalence partition which includes minimum and maximum of inside and outside boundaries. For example suppose we have a very important tool at office which accepts valid user name and password field to work on that tool and accepts minimum 9 characters and maximum 13 characters. Valid range 9 -13, invalid range 8 or less than 8 and invalid range 14 or more than 14.
boundary value analysis tests the behavior of the program at boundaries. When we the check a range of data values after selecting the set of data that lie in the valid partitions. The next step is to check how the program behaves in the invalid partitions. Here the common is checking the range of values. For each range, there are two boundaries lower boundary and upper boundary. They are beginning and end of every valid partition. We should design the program in such a way that each test cases should exercise the program functionality at the boundaries and the values with outside and inside the boundaries.

Finding defects using boundary value analysis is very effective technique and it can be used at all levels of testing.Equivalence partition focuses on partition of different equivalent data.

9. anu says:

BOUNDARY VALUE ANALYSIS
BLACK BOX TEST DESIGN TECHNIQUE

Boundary value analysis is software test design technique Due to lack of time and cost considerations it is not possible to perform the testing for each set of test data.
Boundary value analysis is a process of testing between the extreme ends or boundaries of input values. The basic idea of selecting the boundary testing is selecting the input values at their Minimum, just above the Minimum, a nominal value, just below the maximum, a maximum. Boundary Value analysis is a process of testing the boundary input values near the minimum and maximum boundaries.

Boundary value analysis tests the behavior of the program at boundaries. When we the check a range of data values after selecting the set of data that lie in the valid partitions. The next step is to check how the program behaves in the invalid partitions.

Difference between boundary and equivalence
-Boundary value analysis focuses on data around the boundaries.
-Equivalence partition focused on partition of different equivalent data.
we divide valid & invalid range of input whereas In BVA we take input boundary value with +1 & -1.

10. Vrinda says:

Boundary value testing is a process of testing the boundary input values neat the minimum and maximum boundaries.
A boundary is an input or output value on the equivalence partition. Eg: If an input field accepts only uppercase and lowercase between 6 and 50 characters, The equivalence partition would be A-Z, a-z and the boundary will be a range between 6 and 50. At the time of testing, it would be cost and time efficient to test a combination of A-Z and a-z with 6 characters and 51 characters.

11. Mehari Haile says:

Boundary value analysis is a software testing technique in which tests are designed to include representatives of boundary values in a range. The idea comes from the boundary. Given that we have a set of test vectors to test the system, a topology can be defined on that set. Those inputs which belonging to the same equivalence class as defined by the equivalence partitioning theory would constitute the basis. Given that the basis sets are neighbors, there would exist a boundary between them. The test vectors on either side of the boundary are called boundary values.
Example ; assume, we have to test a field which accepts age 18_56
minimum boundary value is 18
max 56, valid inputs ; 18,19,55,56
invalid inputs; 17 and 57
a- (min-1) 18_ 1 = 17 invalid
b-(min +1) 18+ 1= 19 valid
c- (max-1) 56- 1= 55 valid
d-(max ) 56 = valid
e-(max+1) 56+ 1= 57 invalid

12. Sruthy Mohan says:

1.What is boundary value analysis explain with an example?
Boundary Value analysis is a process of testing the boundary input values near the minimum and maximum boundaries. A boundary is an input or output value on the equivalence partition which includes minimum and maximum of inside and outside boundaries.
. For example suppose we have a very important tool at office which accepts valid user name and password field to work on that tool and accepts minimum 9 characters and maximum 13 characters. Valid range 9 -13, invalid range 8 or less than 8 and invalid range 14 or more than 14.

2. What is the difference between boundary value testing and equivalence partition testing?
Boundary value analysis is another black box type of technique and it is used to find errors in the boundaries in the input domain and the centre of the input Whereas equivalence class partition is a type of software testing design technique which divides the input test data of the application into partitions with similar elements. The assumption is testing one data value from each partition is equivalent to testing the entire partition.

13. Bhumika says:

1) Boundary value analysis is software test design technique in which testing is done at the extreme ends or boundaries of input values. It is a process of testing the boundary input values near the minimum and maximum boundaries.
Eg: Well Fargo bank account Username Functionality.
Valid Username has 4—8 characters. So using Boundary Value Analysis we check the behaviour of the software at the valid boundaries that is 4,5 ,78 and at invalid boundaries that is 3 and 9.

2) The difference between boundary value analysis testing and equivalence class partition testing is that the former tests data at the boundary whereas the latter divides the entire data into partitions with similar elements and then test a part of each partition..

14. William says:

Boundary value analysis is a testing technique in which the boundaries of input values are tested – In this case the values near the minimum and the maximum are tested to see their behavior. For example, if a banking loan application accepts a minimum of 50,000 and a maximum of 100,000, the test for valid partition will be 50,000 to 100,000. Where the invalid partitions will be less than 50,000 and greater than 100,000.
2. In the difference, boundary values testing focuses on data around the boundary, whereas equivalence partition focuses on partitioning overall data into different attributes and samples drawn from each partition.

15. avani amin says:

1. analysis is a process of testing between the extreme ends or boundaries of input values.
eg:in the company employees accounts which accepts valid user name and password field to work on that tool and accepts minimum 5 characters and maximum 8 characters. Valid range 5 -8
, invalid range 4 or less than 4 and invalid range 9 or more than 9

2. .Difference between boundary value analysis and equivalence class partition
Boundary value analysis focuses on data around the boundaries(numeric value)
Equivalence partition focuses on partition of different equivalent data.(all the characters)

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Check Also
Close

Close
Close