> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Test elements

> Test any FlexiLayout element to view every hypothesis generated for it on the current image, ranked by quality in the Hypotheses window.

During FlexiLayout matching, only those hypotheses whose quality meets the specified parameters are analyzed for each element.

Testing allows you to view all the hypotheses generated for the selected element on the current test image. You can test any element, including Group elements. The search area of the tested element is the entire page unless you have specified additional search constraints in the **Absolute search area constraints** or **Advanced pre-search relations** fields. **Advanced pre-search relations** are also taken into consideration when testing the element.

As a result, the **Hypotheses** window displays all generated hypotheses rated by their quality (from best to worst), and in the **Image** window the areas of all detected hypotheses are highlighted.

<Note>
  The FlexiLayout to be tested must not contain errors, and the image must be opened in the **Image** window.
</Note>

## Test an element

<Steps>
  <Step title="Select the element in the FlexiLayout tree" />

  <Step title="Run the Test Element command">
    In the shortcut menu of the element or in the **FlexiLayout** menu, click **Test Element**.
  </Step>
</Steps>

## Switch between hypotheses

In the **Hypotheses** window, use the **Right Arrow** and **Left Arrow** keys to move from one hypothesis to another.

## Exit test mode

To leave test mode and switch to another mode (**Matched layout**, **Reference layout**, or **Difference layout**), click the corresponding button on the toolbar.
