Forum Discussion
tristaanogre
15 years agoEsteemed Contributor
Unless your application is not recognized as an "open" application, the best practice is to avoid using X,Y co-ordinate designations when calling "Click" commands. If the Click method is called without co-ordinates, TestComplete will automatically click in the center of the indicated object.
So, instead of calling
simply call
So, instead of calling
Aliases.MyApp.MyForm.MyButton.Click(10,20)
simply call
Aliases.MyApp.MyForm.MyButton.Click()