Boundary Value Analysis



Boundary Value Analysis

Boundary value analysis is one of the widely used test case design technique for black box testing. It is used to test boundary values because the input values near the boundary have higher chances of error.

Whenever we do the testing by boundary value analysis, the tester focuses on, while entering boundary value whether the software is producing right output or not.

Boundary values are those that contain the upper and lower limit of a variable. Assume that, we have a text box in user interface where user can enter value for Age, and age is a variable of any function, and its minimum value is 10 and the maximum value is 20, both 10 and 20 will be considered as boundary values.

The basic assumption of boundary value analysis is, the test cases that are created using boundary values are most likely to cause an error.

There is 10 and 20 are the boundary values that’s why tester pays more attention to these values, but this doesn’t mean that the middle values like 11, 12, 15, 18 are ignored. Test cases are developed for each and every value of the range.

 

Testing of boundary values is done by making valid and invalid partitions. Invalid partitions are tested because testing of output in adverse condition is also essential.

Let’s understand via practical:

Imagine, there is a function that accepts a number between 10 to 20, where 10 is the minimum and 20 is the maximum value of valid partition, the other values of this partition are 11, 12, 13, 14, 15, 16, 17, 18 and 19. The invalid partition consists of the numbers which are less than 10 such as 9, 8, 7, 6 and 5, and more than 20 such as 21, 22, 24, 26 and 30. Tester develops test cases for both valid and invalid partitions to capture the behavior of the system on different input conditions.

4,5 ,6 ,7 ,8, 9 | 10,11,14,17,19 20 | 21, 22,24,26,28,30

     Invalid partition  |  Valid Partition | Invalid Partition

The software system will be passed in the test if it accepts a valid number and gives the desired output, if it is not, then it is unsuccessful. In another scenario, the software system should not accept invalid numbers, and if the entered number is invalid, then it should display error massage.

If the software which is under test, follows all the testing guidelines and specifications then it is sent to the releasing team otherwise to the development team to fix the defects.

 

Tags: ,
Leave a comment

Your email address will not be published. Required fields are marked *

Subscribe now

Receive weekly newsletter with educational materials, new courses, most popular posts, popular books and much more!

https://bridgejunks.com/ https://crownmakesense.com/ https://brithaniabookjudges.com/ https://hughesroyality.com/ https://rhythmholic.com/ https://bandar89.simnasfikpunhas.com/ https://www.100calshop.co.il/products/thailand/ https://myasociados.com/ https://solyser.com/ http://konfidence.cz/ https://muscadinepdx.com/ https://bandar89.parajesandinos.com.ve/ https://goremekoop.com/ https://oncoswisscenter.com/ https://www.turunclifehotel.com/bandar89/ https://www.houseofproducts.biz/ https://taimoormphotography.com/
BIJI18 BIJI18 BIJI18