How to unit test a Parse XML rule |
You can test a Parse XML rule directly, separate from the activity or other context in your application in which it will ultimately operate. C-2434
For a simple test, obtain an XML document containing test data. You can choose to type or paste the data into a form, store it in a local Windows file, or upload it into a text file rule.
For basics of unit testing, see Unit testing a rule with the Run toolbar button.
CTRL
+ R
. A
test window opens.To trace Parse XML rules, select the Parse Rules checkbox in the Rule Types to Trace area of the Trace Options panel. See Tracer — Setting Options.