Test Table Locator results
Use the procedure in this topic to test the Table Locator results.
Once you configure your table settings, test them to see whether the returned results are as expected.
Use the Test Results tab to evaluate your settings. Open a test document in the Document Viewer (table mode) if you want to highlight the results. By selecting the corresponding button from the vertical toolbar you can switch between different highlighting modes.
The Detected Alternatives area shows the line items the table locator finds for a selected test document.
At the bottom, a status bar is displayed that shows additional information. For example, if the automatic or manual mode is applied, or for a trainable table locator, information is displayed to tell you what knowledge base or training document is used.
Test Results Vertical Toolbar
|
Setting |
Name and Description |
|---|---|
|
|
All Cells If the test document is displayed within the Document Viewer (table mode) it highlights each cell individually in the viewer. |
|
|
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 If the test document is displayed within the Document Viewer (table mode) it highlights each column separately in the viewer. |
|
|
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 for tables.
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 Table Locator you are testing.
- Open the Documents window if it is not already open.
-
Add or select a document set that contains suitable test documents.
The document set and contents are displayed in the Documents window.
- Open the locator properties.
- In your Documents window, double-click a test document to open it in the Document Viewer (table mode).
- In the Table Locator properties window, select the Test Results tab.
-
Select one of the following Test execution modes:
-
Run Only <LocatorName>
-
Run All Dependent Locators and Evaluators used as Input for <LocatorName>
-
Run All Previous Locators and Evaluators
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.
-
-
Optional. Toggle between highlight views by selecting buttons on the vertical table toolbar.
The highlighting changes depending on the selected highlight view.
-
To test additional documents, select
Next Document
and repeat the previous steps.
- Optional. Close the Document Viewer (table mode).
- Optional. Select Close to close the locator properties window.
- Save the changes to your project.