Forum Discussion

Oferv's avatar
Oferv
Super Contributor
13 years ago

Is it possible to click the required point?

Hi,

i have an application where i need to click at specific point.now,the object is recognized by TC properly but the point i need to click is in specific location in this object and i want to make sure that changing resolution won't effect the click.when recording a script TC is using coordinates in order to click the point i want to click on and if i'll remove this coordinates from the code it won't be able to click.is there a guaranty it will click the same point with different resolutions?or is there are different solutions for this problem?

thanks

1 Reply

  • Hi,



    Try calculating coordinates of the click by using the target object's size (its Width and Height properties). Clicks on hard-coded coordinates are not reliable, and they will always fail if the target point is not there.