What is Decision Table in Software Testing?

Last updated on Nov 25,2020 40.2K Views

What is Decision Table in Software Testing?

edureka.co

A decision table is a good way to deal with different combination inputs with their associated outputs. It is a black box test design technique to determine the test scenarios for complex business logic. In this article, know more about how the decision table in software testing helps in test design technique in the following sequence:

What is Decision Table in Software Testing?

The decision table is a software testing technique which is used for testing the system behavior for different input combinations. This is a systematic approach where the different input combinations and their corresponding system behavior are captured in a tabular form.

This table helps you deal with different combination inputs with their associated outputs. Also, it is known as the cause-effect table because of an associated logical diagramming technique called cause-effect graphing that is basically used to derive the decision table.

Why is Decision Table Important?

A decision table is an outstanding technique used for testing and requirements management. Some of the reasons why the decision table is important include:

Advantages of Decision Table in Software Testing

There are different advantages of using the decision table in software testing such as:

Way to use Decision Table: Example

A Decision Table is a tabular representation of inputs versus rules, cases or test conditions. Let’s take an example and see how to create a decision table for a login screen:

The condition states that if the user provides the 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

F

T

F

T

Password

F

F

T

T

Output

E

E

E

H

In the above example,

Now let’s understand the interpretation of the above cases:

So, this was an example of building a decision table in software testing. with this we have come to the end of this article.

Now that you have understood Decision Table in Software Testing, check out the Software Testing Fundamentals Course by Edureka. This course is designed to introduce you to the complete software testing life-cycle. You will be learning different levels of testing, test environment setup, test case design technique, test data creation, test execution, bug reporting, CI/CD pipeline in DevOps, and other essential concepts of software testing. 

Got a question for us? Please mention it in the comments section of this “Decision Table in Software Testing” blog and we will get back to you as soon as possible.

BROWSE COURSES