-->
What is Decision Table Testing: Learn with Example

What is Decision Table Testing: Learn with Example

Decision Table

Decision Table is a tabular representation of inputs versus rules/cases/test conditions. It is a very effective tool used for both complex software testing and requirements management. Decision table helps to check all possible combinations of conditions for testing and testers can also identify missed conditions easily. The conditions are indicated as True(T) and False(F) values.

What is Decision Table Testing?

Decision table testing is a software testing technique used to test system behavior for different input combinations. This is a systematic approach where the different input combinations and their corresponding system behavior (Output) are captured in a tabular form. That is why it is also called as a Cause-Effect table where Cause and effects are captured for better test coverage.

Let’s learn with an example.

Example 1: How to make Decision Base Table for Login Screen

Let’s create a decision table for a login screen.

The condition is simple if the user provides correct username and password the user will be redirected to the homepage. If any of the input is wrong, an error message will be displayed.

ConditionsRule 1Rule 2Rule 3Rule 4
Username (T/F)FTFT
Password (T/F)FFTT
Output (E/H)EEEH


 

0 Response to "What is Decision Table Testing: Learn with Example"

Post a Comment

Ads on article

Advertise in articles 1

advertising articles 2

Advertise under the article