I have a question for you; Does the Click Image activity work even if the desktop is not visible and / or when the screen is remotely located?
Example:
I have a remote dektop and I want to click on a certain element through the Click Image activity … and program this action on a virtual remote desktop. Will this activity work even if the desktop is not visible?
I would say to you that you need to have the element that you try to click visible.
When you perform something using image recognition, the element that you are looking for must be on the screen, or the image recognition wont work right.
Try to dont lose the attach of the window that holds the element that you want to click
Click image activity will work unattended assuming the virtual image is visible.
Meaning if the virtual machine was open the image you intend to click is visible.
Also I would strongly suggest you either
Provide a selector for the window within which you would like to click
Include the Click Image activity within an Attach Window activity