Dependent locator tests

Some locator methods and evaluator methods use results from one or more input locators to process their alternatives. For those locator methods, an advanced Test button is provided that enables the selection of different kinds of test execution modes:

Run Only <LocatorName> Run Only Current Locator icon

Processes alternatives only for the current locator settings and not those from the dependent input locators.

Run All Dependent Locators and Evaluators Run All Dependent Locators and Evaluators icon

Processes the input locator results for the current locators and evaluators and their dependent locators recursively.

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

Processes the results of the current locator as well as all locators and evaluators that are defined before this locator.

When you open the locator properties or select a different test document, the test execution mode is automatically set to Run All Dependent Locators and Evaluators Run All Dependent Locators and Evaluators icon. You can change test execution mode.

Once you have executed testing for the test execution mode, Run All Dependent Locators and Evaluators or Run All Previous Locators and Evaluators. The Test button is set to Run Only <LocatorName> as default.

Each of the following locators has dependent locators as input. Therefore, these locators have a multi-function test button.

The Script Locator is a little different from the rest of these locators. If a script is designed to use the results from another locator, it is impossible for Transformation Designer to know this at the time of testing. It also cannot run any dependent locators needed by the Script Locator. As a result, the best solution is to ensure that any of these locators are run before you test the Script Locator. This ensures that the results for any input locators are available.