Professional Documents
Culture Documents
Black Box Testing Document
Black Box Testing Document
Document
By
Group - 10
Neel Mittal
15010142
Prashansi Kamdar
15010147
Suhas Kantekar
15010177
Table of Contents
1 Introduction 3
2 Scope 3
BLACK BOX TESTING
3 Testing Results 4
3.a Module 1 4
3.b Module 2 6
3.c Module 3 7
3.d Module 4 8
3.e Module 5 8
WHITE BOX TESTING 9
4 Control flow graphs 10
5 White box testing 13
6 Conclusion 13
2
INTRODUCTION
Black Box testing is the behavioral testing of the software system. The different test cases involving
some risks and prospective errors in the system were used to make a test suite and their test run results
are compiled in the document. (The different modules being tested were run and checked separately by
making sure other modules were working correctly.)
The white box testing is also compiled in the same document with control flow graphs and testing
results. White box testing is logical testing for the software system.
SCOPE
The following document deals with the behavioral and logical testing of the software system for a
Virtual Museum Explorer. The different modules have been thoroughly tested and the results have been
compiled. The modules during the testing phase which gave unexpected results have been changed and
the tests done and compiled are subject to the latest testing of the system.
3
Black Box Testing
TESTING RESULTS
MODULE 1 COLLIDER:
The table below shows the expected output and actual output shown by module for different
test cases in the test suite for the Equivalence test class 1, namely near door set.
4
Equivalence Test Class 2: Far Door Set = (-INT_MAX, -6] U [+6, INT_MAX]
The table below shows the expected output and actual output shown by module for different
test cases in the test suite for the Equivalence test class 2, namely far door set.
The table below shows the expected output and actual output shown by module for different
test cases in the test suite for the Equivalence test class 1, namely near exhibit set.
5
Equivalence Test Class 2: Far Exhibit Set = (-INT_MAX, -6] U [+6, INT_MAX]
The table below shows the expected output and actual output shown by module for different
test cases in the test suite for the Equivalence test class 2, namely far exhibit set.
The module sends a control signal to the details module to show details when a moving object
comes close to exhibit. It also sends the collider of the exhibit that was associated with it.
6
MODULE 2 DETAILS:
The table below shows the expected output and actual output shown by module for different
test cases in the test suite for the Equivalence test class 1, namely show details set.
The table below shows the expected output and actual output shown by module for different
test cases in the test suite for the Equivalence test class 2, namely no details set.
7
MODULE 3 INTERACTIVE CONTROLLER:
The table below shows the expected output and actual output shown by module for different
test cases in the test suite for the Equivalence test class 2, namely no details set.
8
Equivalence class: rotation
The table below shows the expected output and actual output shown by module for different
test cases in the test suite for the Equivalence test class 2, namely no details set.
MODULE 3 INITIALISER
9
MODULE 4 MAIN MENU CONTROLLER
input: (a)
where a is in the set {automated tour, interactive tour, exit}
10
WHITE BOX TESTING
The software contains scripts that are fully executed by most of the test cases used in the black
box testing suite. The same test cases can be used to do the white box testing of the system.
The Black box testing report, as it exhausts all logical test cases for software, is also taken as the
white box testing report and the different control flow graphs for the test cases are added.
The control flow diagrams for the different modules for test cases to exhaust the different
paths in the script are given in the document.
11
MODULE 1 COLLIDER
The control flow diagram below shows the paths present in the units for collider module.
Entry Door
closed
Boundary Boundary
_distance _distance
<6 >= 6
Open door/show
details
Exit
Fig : The above figure shows CFG for the Module Collider
12
MODULE 2 DETAILS
Entry
Inputs
Input = 1 Input = 0
exit
13
MODULE 3INTERACTIVE CONTROLLER
Entry Inputs(direct
ion,
rotation)
For-
ward
Rotat Rotate
e left right
Moves
forrward
Moves
Moves right
left Moves
backwar
d
Rotates
left Rotates
right
Exit
14
Fig : the figure shows cfg for the Interface controller module
TESTING:
For different test cases for the white box testing and their outputs one can refer to the black
box testing results because our software’s logical test cases are exhausted by the test suite
created for black box testing. Different test cases have been run on the software and results are
compiled in the black box testing document which can be taken as it is for the results for the
white box testing of the software
CONCLUSION
Several issues came up during the initial rounds of testing which were then fixed. The tests
repeated to reach the final version of the Virtual Museum Explorer’s testing document. The
application works as intended and ready to be submitted to the client. All the related
documentation has been taken care of.
15