I am trying to automate a citrix application. Using ‘Click Image’ Activity i am capturing a image and executing it…i am re-checking it at-least 6-7 times a day. But, the next day, the activity is failing for the same image…throwing “selector not found exception”.
First, for click image you don’t need a selector, so remove the selector first.
You are using click image activity but as in your scenario its not working every time,so i will suggest you to use, in recording feature of Image, we have a click image, so use this because it takes a reference point and based on that reference it clicks the image and it gives the offset information also.
So basically when you use click image, it takes the selector because the UI path has to click the image somewhere either in desktop or in web , to decide where to click that’s why it takes the selector.
If you remove the selector the web or desktop application should be foreground then the clikc image activity works.