Skip to main content

SeeTestAutomation- Dynamic TEXT Recognition

info

Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .

To use TEXT (OCR) dynamically perform the following:

Step 1: Set the Zone to "TEXT".

Step 2: Insert the text value of the element.

Advanced

Regular expressions

You can use regular expression with Java syntax.

In the element parameter use the following: "regexp:<expression>"

Example

We will use the GetElementCount command and the regular expression * (which means any character),  to count the number of Expense : <NUM> texts visible on the screen.

The command to use:

 

The result of the command will be 3.