Testing rulesets

You can test the rulesets that you applied to your documents, pages, and fields and make the appropriate changes before you process batches.

About this task

You use this feature to test your rulesets by using a temporary batch.

Procedure

To test rulesets:

  1. Start FastDoc in Datacap Server mode.
  2. In the Batch Structure tree, select the batch item that you want to configure and click the Ruleset tab.
  3. Select the ruleset, configure it for the batch item, and click Save.
  4. In the Test pane, click Add File. You must add a file to test. If you do not add a file, FastDoc cannot test most of the rulesets. However, some rulesets might be tested anyway.
    1. Go to the C:\Datacap\appname\images\Input folder and select the first page that you want to test.
    2. Continue to add the pages that you want to test one page at a time. The files are put into a temporary folder for the batch. A Page ID and Page Type is assigned to each of the pages.
    3. Click the Arrow buttons to select the page that you want to test. The image of the selected page is displayed next to the Test pane.
  5. Select a task profile and click Test to test all of the rulesets in the task profile. You do not have to test all of the ruleset in the task profile. You can run the rulesets in sequence to get to the ruleset that you want to test. Click the rulesets that run after the ruleset that you want to test to remove them from the test.
    1. Look at the Status field for the test results. Fail means that the validations that were run on some of the fields failed.
    2. Click each of the fields in the Batch Structure tree to find the fields that failed validation. The validation error is displayed in the Message field.
    3. Enter the correct field information in the Value field.
    4. Select the task profile and click Test to retest the corrected rulesets until the Status field displays Pass.
  6. Click Reset to delete the files from the temporary batch folder and start over.