Clicking on controls based on text position
You can use the Click by OCR (ocrClick
) to click on controls based on the position where text appears on the user interface (UI). The following procedure show how you can click
on UI controls from a specific application using OCR.
Clicking on UI controls
- Log in to IBM RPA Studio.
- Create a new script, or open an existing script.
- Open, and attach the application which you want to obtain the text from.
- Add the Click by OCR (
ocrClick
) command on your script. - In the OCR provider parameter, select the desired OCR provider.
- In the Comparison parameter, select the comparison mode that should be used between the text of the desired region and the text obtained from the specified interface control.
- In the Language parameter, select the language of the text to be clicked.
- In the Segmentation parameter, select the type of text to search for.
- In the Text parameter, enter the text of the user interface control.
- In the Selector parameter, select the type of control selector.
- Depending the type of control selected, set the proper value.