Click close button on multiple files

uiautomation
studio

#1

I am trying to automate ocr reading using abbyy findreader application through uipath. I want to click the close button as shown in the picture


but when uipath opens another file in abbyy findreader.its unable to locate the close button. I doubt that its due to the selector but the selector has same values in both the cases. I have shown the selector in the image below too
How do I automate this click activity?


#2

Hi @jamnanin,

you can use click image activity to click the Close button.

Regards,
Arivu


#3

arivu i tried that too. I also tried anchor and send hotkey “enter” when it finds the image close. but then it says runtime error even though the image is on the screen


#4

Hi @jamnanin,

Try Attach window activity to select the window.
inside try Click image activity

Regards,
Arivu


#5

thanks @arivu96 it worked.


#6

@jamnanin you are welcome :slight_smile:

Regards,
Arivu