Get Text

Get Text

This block fetches the text written in a specific location (row and column). You can also use an area instead of a specific location so that Leapwork fetches the text from rectangular (multi-row and multi-column) area.

Building Block Header

The green input connector (top left) triggers this block to execute.

The green output connector (top right) is triggered when the text written on a specific location is successfully fetched.

You can always change the title of a block by double-clicking on it and typing in a new title.

Text found

This represents the text that was fetched from the green screen.

Not found

The green output connector is triggered if text is not found before the timeout (see below). This is typically used to a flow or to explicitly fail a case by linking it to a Fail block.

Trim spaces

Removes all of the white space before and after the text.

Default timeout

If the 'Default Timeout' property checkbox is not selected, then the timeout value will be set to 10 seconds unless changes manually. If the 'Default Timeout' property checkbox is selected, then the 'Default timeout' value selected in the flow settings (under “Max. run time) will be applied.

The Green Screen Recorder and building blocks are available with Enterprise plans.