webMethods Business Rules 10.5 | webMethods Business Rules Web Help | webMethods Rules Development Help | Local Rule Testing Overview | Testing a Decision Tree Locally
 
Testing a Decision Tree Locally
You can test a decision tree locally.
* To test a decision tree locally:
1. Right-click the decision tree in the Rules Explorer view.
2. Select Run As > Run decision treee icon Run Decision Tree from the context menu.
Note: If the decision tree contains unsaved changes, you are prompted to save them.
3. In the Enter Input dialog box, specify the required test input values for the decision tree as explained in the following table:
For this field or button
You can do this
Include empty values for String Types
Select the check box if you want to use an empty string (a string with a zero-length).
Name
This value cannot be modified.
Value
Type the input value where admissible. Restrictions are described in About Entering Input Values.
Note: The input value must match the data type of the parameter element.
Load...
To load a stored input value file:
a. Click Load....
b. In the Open dialog box, locate the stored file.
c. Click Open.
Note: There are restrictions as described in About Loading Input Values.
Save...
To save provided input values:
a. Click Save....
b. In the Save As dialog box, select the target directory.
c. Type a file name in the File Name field.
d. Click Save.
Note: There are restrictions as described in About Saving Input Values.
Clear
Click this button to delete the provided input values.
4. Click OK.
The decision tree is now run locally on your computer. The result of this operation appears in the Results view.

Copyright © 2010-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.