This section explains the procedure for validating Decision Tables.
Prerequisite:
You have created a Decision Table file and defined your conditions, results, and decisions in it.
To test a Decision Table:
Ensure that the Decision Table Editor of the Decision Table that you want to test is displayed.
Click Validate Rules.
The Test Decision Tables dialog box opens if no errors exist in the Decision Table. It opens if warnings exist or do not exist in the Decision Table.
Click Add and enter values in each of the input fields that correspond to the values that you expect from the UDAs, that are mapped through conditions.
Click Test.
The line number of the decision to use is displayed in the Rule# column.
The figure below displays the results of a test on the DiscountDecision Decision Table.
Figure 10.10 Results of Test on DiscountDecision Decision Table