Test Line Item Matching Locator results

Use the procedure in this topic to test the Line Item Matching Locator results.

This locator uses input from other locators and provides an advanced testing mode. The default Test button changes, and you can choose among different test execution modes. For details about the different modes and how to use them, see test execution modes.

When Test is selected at the bottom of the properties window, the Test Results tab is displayed showing the line items extracted.

If the test document is displayed within the Document Viewer (table mode), different table highlighting modes are provided. You can switch among the different modes by selecting the corresponding button.

At the bottom, a status bar is displayed that shows additional information.

Test Results Vertical Toolbar

Setting

Name and Description

All Cells icon

All Cells

If the test document is displayed within the Document Viewer (table mode) it highlights each cell individually in the viewer.

All Rows icon

All Rows

If the test document is displayed within the Document Viewer (table mode) it highlights each line item separately in the viewer. This is the default display mode.

All Columns icon

All Columns

If the test document is displayed within the Document Viewer (table mode) it highlights each column separately in the viewer.

Contrasted Highlighting icon

Contrasted highlighting

If the test document is displayed within the Document Viewer (table mode) it highlights values with or without a black border around them in the viewer.

You can test this locator similar to other locators. The difference here is that you can control how the test results are displayed.

Before you begin

Before you can test your Table Locator settings, verify the following steps are complete:

  • A document set that contains a selection of documents from all classes is added to your project.

  • Any input locators in your project are fully functional and successfully tested.

  • You have configured the Line Item Matching Locator you are testing.

Procedure
  1. Open the Documents window if it is not already open.
  2. Add or select a document set that contains suitable test documents.

    The document set and contents are displayed in the Documents window.

  3. Open the locator properties.
  4. In your Documents window, double-click a test document to open it in the Document Viewer (table mode).
  5. In the Line Item Matching Locator properties window, select the Test Results tab.
  6. Select one of the following Test execution modes:
    • Run Only <LocatorName> Run Only Current Locator icon

    • Run All Dependent Locators and Evaluators used as Input for <LocatorName> Run All Dependent Locators and Evaluators icon

    • Run All Previous Locators and Evaluators Run All Previous Locators and Evaluators icon

    The image in the Document Viewer (table mode) is highlighted to show the start of the detected table and each table row. The Test Results tab is also populated with the values extracted from the table.

  7. Optional. Toggle between highlight views by selecting buttons on the vertical table toolbar.

    The highlighting changes depending on the selected highlight view.

  8. To test additional documents, select Next Document Next Document icon and repeat the previous steps.
  9. Optional. Close the Document Viewer (table mode).
  10. Optional. Select Close to close the locator properties window.
  11. Save the changes to your project.