You are on page 1of 4

Instructions:

The basic idea behind test matrices is to lay out required and optional inputs,
figure out variables, and map out test scenarios with corresponding expected results.

The advantages to this method of laying out test cases are:


1) Strategizing is more effective and accurate
2) Redundant tests become more apparent, and can be weeded out before creating scripts
3) Coverage is less likely to have cracks for defects to slip through.
4) Clearly defined expected results.

To use the matrix:


Identify all possible inputs related to the code being tested.
Identify the variations of each input.
Ensure that required inputs are accounted for (versus optional inputs)

Once the inputs are defined, place an X in the numbered columns to identify what will be used for that test pass.
Then, identify the expected result for that combination.

The worksheet labeled 'Sample Matrix' shows a finished example.

Then you can take your finished matrix, and easily create scripts!!!
*=
REQUIRED
INPUT PER
SPECS
INPUTS TEST # ---> 1 2 3 4 5 6 7 8 9 10 11 12
Name Variable values
V V

Expected Results
13 14
* = REQUIRED
INPUT PER
SPECS
INPUTS TEST # ---> 1 2 3 4 5 6 7 8 9 10
Name Variable values
V V
* Txn Type RK x x x x x x x

* Delay (sec) 0 x
5 x x
55 x
555 x
999 x
BLANK x

* INI setting of
"Allowed=" 1 x x x x x x
0 x

* inactivity
timeout
(milliseconds) 10000 x x x x
15000 x
20000 x
60000 x

No
5 sec 555 999 predial,
immed dial 55 sec sec dial sec immed 10 sec
dial, 10 delay, dial, 20 delay, dial, 10 dial, 10 timeout
EXPECTED sec 15 sec sec 1 min sec sec after
RESULT timeout timeout timeout timeout timeout timeout txn

You might also like