Decision Table Test Design Technique
Last updated
Last updated
Decision Table is aka Cause-Effect Table. This test technique is appropriate for functionalities which has logical relationships between inputs (if-else logic). In Decision table technique, we deal with combinations of inputs. To identify the test cases with decision table, we consider conditions and actions. We take conditions as inputs and actions as outputs.
Take an example of transferring money online to an account which is already added and approved.
Here the conditions to transfer money are ACCOUNT ALREADY APPROVED, OTP (One Time Password) MATCHED, SUFFICIENT MONEY IN THE ACCOUNT.
And the actions performed are TRANSFER MONEY, SHOW A MESSAGE AS INSUFFICIENT AMOUNT, BLOCK THE TRANSACTION INCASE OF SUSPICIOUS TRANSACTION.
Here we decide under what condition the action be performed Now let’s see the tabular column below.
In the first column I took all the conditions and actions related to the requirement. All the other columns represent Test Cases.
T = True, F = False, X = Not possible
From the case 3 and case 4, we could identify that if condition 2 failed then system will execute Action 3. So we could take either of case 3 or case 4
So finally concluding with the below tabular column.
From the case 2 and case 3, we could identify that if one of the condition failed then the system will display an error message as Invalid User Credentials.
So I am eliminating one of the test case from case 2 and case 3 and concluding with the below tabular column.