Text matching
The “Text Matching” activity uses optical character recognition (OCR) technology to locate and match specific text within a target area on the screen. This activity is useful for automating tasks that involve interacting with text in images or on the screen.
| *Source image | Source image file name with path. |
| *Source image Base64 | Source image with base64 string. |
| *Text | Specifies the exact text string that the activity should search for within the target area. This text is used by the OCR engine to locate matching text on the screen. |
| Language | Specifies the language of the text to be recognized by the OCR engine. Setting the appropriate language improves the accuracy of text recognition. ENG / TR |
| X-coordinate | If it is desired to limit the text to be searched on the screen within a certain area; this field must be filled in, along with the Y-coordinate, Height, and Width fields. |
| Y-coordinate | If it is desired to limit the text to be searched on the screen within a certain area; this field must be filled in, along with the X-coordinate, Height, and Width fields. |
| Width | If it is desired to limit the image to be searched on the screen within a certain area; this field must be filled in, along with the X-coordinate, Y-coordinate and Height fields. |
| Height | If it is desired to limit the image to be searched on the screen within a certain area; this field must be filled in, along with the X-coordinate, Y-coordinate and Width fields. |
| Retry count | The number of tries until the image is found, could be any numeric value. |
| *Return x-position | If the text matches, the x-coordinate of the center point of the searched text is assigned to this variable. |
| *Return y-position | If the text matches, the y-coordinate of the center point of the searched text is assigned to this variable. |
Note: * Fields selected with are required, others are optional.
Source image example
You can use the Source image as shown in the examples.
C:Robustarobusta.png
Source image Base64 example
You can use the Source image Base64 as shown in the example.
iVBORw0KGgoAAAANSUhEUgAA…
Text example
You can use the Text as shown in the example.
Submit
X-coordinate example
You can use the X-coordinate as shown in the examples.
250
Y-coordinate example
You can use the X-coordinate as shown in the examples.
170
Width example
You can use the Width as shown in the examples.
100
Height example
You can use the Width as shown in the examples.
75
Return x-position example
You can use the Return x-position as shown in the examples.
x
Return x-position example
You can use the Return y-position as shown in the examples.
y
Caution
The values for height and width must be an integer.
