Black Box – Robust Testing in software testing

Black Box – Robust Testing in software testing

In robustness testing, software is tested by giving invalid values as inputs. Robustness testing is usually done to test exception handling.

In robust boundary value testing,  we make combinations in such a way that some of the invalid values are also tested as input.

Robust Boundary value testing on 3 variables:

Suppose we have  3 variables X, Y and Z to test

The range of X: 0 to 100

The range of Y: 20 to 60

The range of Z: 80 to 100

 Click Here to Try our Automatic tool of Robust Testing 

       Xyz
Min-     -11979
Min02080
Min+12181
Nominal504090
Max-995999
Max10060100
Max+10161101

Figure: Testing points detected in Simple Robust Boundary Value Testing

Test Cases:

Total Test cases =

(Number of variables * Number of testing points without nominal )+ (1 for  Nominal)

These testing points are min-, min, min+, max- and max and max+

19=(3*6)+1

We can generate 19  test cases from both variables X, Y, and Z.

  • There are total 3 variables X, Y and Z
  • There are 6 possible values like min-, min, min+, max-, max and max+
  • 1 is for nominal

Logic:

When we make test cases, we will fix the nominal value of two variables and change the values of the third variable.

For example

  • We will fix nominal values of X and Y and make a combination of these values with each value of Z variable.

Fix nominal values of X and Y are 50,40, and we will compare these two values with 79, 80,81,90,99,100 and 101.

  • We will fix nominal values of X and Z and will make a combination of these values with each value of Y variable.

Fix nominal values of X and Z are 50, 90, and we will make a combination of these two values with 19, 20,21,40,59,60 and 61.

  • We will fix nominal values of Y and Z and will make a combination of these values with each value of X variable.

Fix nominal values of Y and Z are 40, 90, and we will make a combination of these two values with -1, 0,1,50,99,100 and 101.

Test Case#XYZComment
1504079Fix Nominal of X and Y
2504080Fix Nominal of X and Y
3504081Fix Nominal of X and Y
4504090Fix Nominal of X and Y
5504099Fix Nominal of X and Y
65040100Fix Nominal of X and Y
75040101Fix Nominal of X and Y
8501990Fix Nominal of X and Z
9502090Fix Nominal of X and Z
10502190Fix Nominal of X and Z
11505990Fix Nominal of X and Z
12506090Fix Nominal of X and Z
13506190Fix Nominal of X and Z
14-14090Fix Nominal of Y and Z
1504090Fix Nominal of Y and Z
1614090Fix Nominal of Y and Z
17994090Fix Nominal of Y and Z
181004090Fix Nominal of Y and Z
191014090Fix Nominal of Y and Z

Figure: Test cases generated in Robust simple Boundary Value Testing