Oops! It appears that you have disabled your Javascript. In order for you to see this page as it is meant to appear, we ask that you please re-enable your Javascript!

Black Box – BVT on 3 Variables software testing

Last modified on January 7th, 2019 at 8:57 am

Black Box – BVT on 3 Variables software testing

Suppose we have three variable 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

 

       Xyz
Min02080
Min+12181
Nominal504090
Max-995999
Max10060100

Figure: Testing points detected in Simple Boundary Value Testing.

Test cases:

Total Test cases =

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

13=(3*4)+1

  • There are total 3 variables X,Y and Z
  • There are 4 possible values like min, min+, 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 80,81,90,99 and 100.

  • 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 0,1,50,99,100

  • 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 combination of  these two values with 20,21,40,59,60

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

Test Case#X,Y,ZTest Case #X,Y,ZTest Case #X,Y,Z
150,40,80250,40,81350,40,90
450,40,99550,40,10060,40,90
71,40,90899,40,909100,40,90
1050,20,901150,21,901250,59,90
1350,60,90 

Figure: Test cases generated  in Simple Boundary Value Testing using 3 variables.

Prof. Fazal Rehman Shamil
Researcher, Publisher of International Journal Of Software Technology & Science ISSN: 2616-5325
Instructor, SEO Expert, Web Programmer and poet.
Feel free to contact.