# 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?

### 7 thoughts on “BOUNDARY VALUE ANALYSIS”

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.

Close
Close