ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
2
3
4
5
Since there are four input boxes so according to the formula 2^N , the number of test cases should be 2^4 = 16 test cases.
6
7
Decision Table Chart
8
Inputs
9
Customer IDCustomer TypeQuantityPriceExpected Resut
10
Condition1xx
Error message
11
Condition2Gold validxxError message
12
Condition3Gold valid
xError message
13
Condition4Gold validx
Error message
14
Condition5Gold valid
Should display correct amount
15
Condition6Silver validxxError message
16
Condition7Silver valid
xError message
17
Condition8Silver validx
Error message
18
Condition9Silver valid
Should display correct amount
19
Condition10Platinum validxxError message
20
Condition11Platinum valid
xError message
21
Condition12Platinum validx
Error message
22
Condition13Platinum valid
Should display correct amount
23
Condition14xxxError message
24
Condition15x
xError message
25
Condition16xxxxError message
26
27
Test case Diagram
28
29
TC1Wrong customer ID with valid Should display error message
30
TC2Select Gold customer with invalid quantity and invalid priceShould display error message
31
TC3Select Gold customer with valid quantity and invalid priceShould display error message
32
TC4Select Gold customer with invalid quantity and valid priceShould display error message
33
TC5Select Gold customer with valid quantity and valid priceShould display correct amount
34
TC6Select Silver customer with invalid quantity and invalid priceShould display error message
35
TC7Select Silver customer with valid quantity and invalid priceShould display error message
36
TC8Select Silver customer with invalid quantity and valid priceShould display error message
37
TC9Select Silver customer with valid quantity and valid priceShould display correct amount
38
TC10Select Platinum customer with invalid quantity and invalid priceShould display error message
39
TC11Select Platinum customer with valid quantity and invalid priceShould display error message
40
TC12Select Platinum customer with invalid quantity and valid priceShould display error message
41
TC13Select Platinum customer with valid quantity and valid priceShould display correct amount
42
TC14Invalid customer ID and invalid price and invalid quatity with valid customer typeShould display error message
43
TC15Invalid customer ID and invalid price with all other entries correctShould display error message
44
TC16All Invalid entries Should display error message
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100