Select different occurrences of a word with OCR click text

text
ocr
citrix
studio
click

#1

Hi,

I have a list in a Citrix application with this format:

Item1
Item2
word
Item3
word
word
item4
item5
word

I want to click on the first time on the first “word”, after that on the second… But on Citrix the list have not selectors and I must do it with ocr Click text.

How to do it? And how to define the robot has clicked on the last “word” of the list?

Thanks for your responses.


#2

In the Click OCR activity there is an Occurrence parameter.
image

Does this help?

Thanks.

C

EDIT: You can use an integer variable for Occurrence and increment it until there is an error, then you have hit the last word. I think that would work.