Professional Documents
Culture Documents
Decision Table Testing
Decision Table Testing
191-35-393
Draw a decision table that covers all those conditions to provide an output. Simplify the table if
possible. Also create a form (as shown in lecture slid) and create test cases with expected and
actual outcome.
Form
Transaction Form
Password
Amount
OTP
No
Block
Matched?
Transfer
Yes
Check Amount
No Has Yes
sufficient
Balance?
Insufficient Transfer
Amount Money
Road to Decision Table
Conditions:
1. Has an approved account (Values = Y, N)
2. OTP matched (Values = Y, N)
3. Holder has Sufficient Amount on account (Values = Y, N)
Actions:
1. Transfer Money
2. Insufficient Amount
3. Block Transaction
OTP matched N N Y Y N N Y Y
OTP matched N N Y Y N N Y Y
OTP matched - N N Y Y