cancel
Showing results for 
Search instead for 
Did you mean: 

Add ability to record click events without coordinates

0 Kudos

Add ability to record click events without coordinates

I would like the ability to record click events without coordinates.  Coordinates can be fragile when controls change in size or when an application utilizes a zoom functionality.  Currently as a workaround we can use regex with Find & Replace but it is more difficult to make changes for keyword tests.

2 Comments
Community Hero

This is why "record" is best when used as only a discovery too rather than to generate final "production" automation code. Even if this configuration option were implemented, a best practice is still to go back and adjust the recorded code to add in appropriate "Wait" methodology, update NameMapping, etc. 

Contributor

Go back and remove the coordinates from the recorded Click event, that forces TestComplete to do the math and click in the middle of the control.

 

Cheers

Lino