Help > Setting up ReadSoft Capture Framework > Configuring business logic > Testing a business rule

Testing a business rule

After you configure a business rule, it is recommended that you test it. You can create new documents or change the field contents of a document before testing. This topic describes the options.

Tip: You can also check business rule performance.

  1. Using the XBOUND Management Center, open a console containing the Validation Designer. (For information about working with consoles, see XBOUND Help.)
  2. Under Process Navigation, select a process.
  3. Select Edit > Test.

  4. The Test business logic dialog is displayed.

    ClosedOpen an existing test document or Closedcreate a new document.

    1. Select Document > Open.

    2. In the Open document dialog, select the process step and select the test document to open.

    1. Select Document > New.

    2. In the New document dialog, select the process step and specify a unique name for the document.

    3. The test document is saved when you click OK.

  5. Enter or edit field values or statuses in order to configure a suitable test document:

    Task

    Procedure

    Change a field value

    Click in the Value column and specify a value.

    Simulate that the document is in focus in Verification

    Right-click a field () or table () in the list and select Focus.

    Simulate that the user forced a field to be valid

    Right-click a field or table and select Property 'ValidForced' set.

    Simulate that a field was displayed in Verification

    Right-click a field or table and select Property 'ShownInVerifier' set.

    Simulate that a field was confirmed

    Right-click a field or table and select Property 'Confirmed' set.

    Change a field's initial validation status

    Right-click a field or table and select Valid status.

  6. Click Test to apply the business rule to the test document.

  7. A line is displayed below each field that shows the values and messages produced by the validation. Check whether the result is as intended. The business rule may need to be adjusted.

Note: Changes you make to your test document are not saved unless you click Save ().

During testing, you can also do the following