I have a handler that checks if a text exists using imagefound with dpi 150. Post that click action on same with imagelocation() fails. The imagelocation too uses dpi property. Any idea what could be the issue.
If you already know that the image or text is there its better to use the foundimagelocation() property to click where the imagefound command found it than to do a second search. So something like:
if imagefound(text:mytext)
click foundimagelocation()
else
logerror "unable to find " & mytext
end if