| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 ID | Customer Type | Quantity | Price | Expected Resut | |||||||||||||||||||||
10 | Condition1 | x | ✓ | x | Error message | |||||||||||||||||||||
11 | Condition2 | ✓ | Gold valid | x | x | Error message | ||||||||||||||||||||
12 | Condition3 | ✓ | Gold valid | x | Error message | |||||||||||||||||||||
13 | Condition4 | ✓ | Gold valid | x | Error message | |||||||||||||||||||||
14 | Condition5 | ✓ | Gold valid | Should display correct amount | ||||||||||||||||||||||
15 | Condition6 | ✓ | Silver valid | x | x | Error message | ||||||||||||||||||||
16 | Condition7 | ✓ | Silver valid | x | Error message | |||||||||||||||||||||
17 | Condition8 | ✓ | Silver valid | x | Error message | |||||||||||||||||||||
18 | Condition9 | ✓ | Silver valid | Should display correct amount | ||||||||||||||||||||||
19 | Condition10 | ✓ | Platinum valid | x | x | Error message | ||||||||||||||||||||
20 | Condition11 | ✓ | Platinum valid | x | Error message | |||||||||||||||||||||
21 | Condition12 | ✓ | Platinum valid | x | Error message | |||||||||||||||||||||
22 | Condition13 | ✓ | Platinum valid | Should display correct amount | ||||||||||||||||||||||
23 | Condition14 | x | ✓ | x | x | Error message | ||||||||||||||||||||
24 | Condition15 | x | ✓ | x | Error message | |||||||||||||||||||||
25 | Condition16 | x | x | x | x | Error message | ||||||||||||||||||||
26 | ||||||||||||||||||||||||||
27 | Test case Diagram | |||||||||||||||||||||||||
28 | ||||||||||||||||||||||||||
29 | TC1 | Wrong customer ID with valid | Should display error message | |||||||||||||||||||||||
30 | TC2 | Select Gold customer with invalid quantity and invalid price | Should display error message | |||||||||||||||||||||||
31 | TC3 | Select Gold customer with valid quantity and invalid price | Should display error message | |||||||||||||||||||||||
32 | TC4 | Select Gold customer with invalid quantity and valid price | Should display error message | |||||||||||||||||||||||
33 | TC5 | Select Gold customer with valid quantity and valid price | Should display correct amount | |||||||||||||||||||||||
34 | TC6 | Select Silver customer with invalid quantity and invalid price | Should display error message | |||||||||||||||||||||||
35 | TC7 | Select Silver customer with valid quantity and invalid price | Should display error message | |||||||||||||||||||||||
36 | TC8 | Select Silver customer with invalid quantity and valid price | Should display error message | |||||||||||||||||||||||
37 | TC9 | Select Silver customer with valid quantity and valid price | Should display correct amount | |||||||||||||||||||||||
38 | TC10 | Select Platinum customer with invalid quantity and invalid price | Should display error message | |||||||||||||||||||||||
39 | TC11 | Select Platinum customer with valid quantity and invalid price | Should display error message | |||||||||||||||||||||||
40 | TC12 | Select Platinum customer with invalid quantity and valid price | Should display error message | |||||||||||||||||||||||
41 | TC13 | Select Platinum customer with valid quantity and valid price | Should display correct amount | |||||||||||||||||||||||
42 | TC14 | Invalid customer ID and invalid price and invalid quatity with valid customer type | Should display error message | |||||||||||||||||||||||
43 | TC15 | Invalid customer ID and invalid price with all other entries correct | Should display error message | |||||||||||||||||||||||
44 | TC16 | All 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 | ||||||||||||||||||||||||||