find text.md

Find Text

The Find text building block searches for a piece of text on the entire screen or within a defined Area. It is commonly used to validate that the system under test is in the expected state before deciding to pass, fail, or branch the flow.

See the Capture text on screen lesson for an example of how to use the Find text block.

Fully expanded, the Find text block shows the following properties:

Note: The screenshot on this page uses the Elegance Design , introduced in 2025.3. If you are using an earlier version, your layout may look different.

Quick-start

  1. Drag Find text onto the canvas.

  2. Connect the block in the flow and specify Text to find. Optionally set Language, define an Area (or leave it empty to search the whole screen), and adjust OCR (OCR Selection Guide), occurrence, scrolling, and timeout-related settings if needed.

  3. Run the flow when it's ready.

Building block parameters

Parameters

Note that this position is the middle of the found text, not the upper-leftmost pixel of the text. Use the expander to work with X and Y separately.

If the built-in OCR engine does not meet requirements, ABBYY can be used. Contact Customer Success to get started with ABBYY.

Note: All cases have a global timeout configured in the Settings panel. This is unrelated to the timeout of a single building block. However, a running case will automatically be cancelled if it runs for longer than the global timeout.

Resources

Topic Description
Flows FAQ Common questions about creating, running, and managing flows in Leapwork.
Flows Troubleshooting Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork.