Arunkumar Khannur's Software Testing Knowledge Center
   
 

9.2 Decision Tables

Decision tables are useful to model complicated logic. They are precise and compact representations and are very useful in modelling statements like if-then-else and switch-case statements. They associate conditions with actions to perform. But, unlike the control structures found in traditional programming languages, decision tables can associate many independent conditions with several actions in an elegant way.

A decision table is a table composed of rows and columns, separated into four separate quadrants as shown in Table 9.1 Structure of a Decision Table.
Conditions Stub Condition Entries or Alternatives
Actions Stub Action Entries
Table 9.1 Structure of a Decision Table

The upper left quadrant contains the conditions. The upper right quadrant contains the condition entries or alternatives. The lower left quadrant contains the actions to be taken and the lower right quadrant contains the action entries.
 
 
Khannur's Book
Arunkumar Khannur, Software Testing - Techniques and Applications, Published by Pearson Publications, 2011 (ISBN:978-81-317-5836-6; Pages:341 + xxii)
Follow Khannur
         
Khannur's Company
ISQT Process & Consulting Services Pvt. Ltd., Bangalore, INDIA
Khannur's Software Testing Forum
STEP-AUTO Forum
 Contact Khannur
ISQT Process & Consulting Services Pvt. Ltd.
#732, 1st Floor, 12th Main,
3rd Block, Rajajinagar,
Bangalore - 560010, INDIA
Phone: +91 80 23012511
URL: www.isqtinternational.com
Email: khannur@isqtinternational.com
Skype: arun.isqt