Forum Discussion
AlexeyKolosov
15 years agoStaff
Hi Megan,
When you call the Click method without specifying the click coordinates, TestComplete clicks on the center of the object to be clicked. However, in some cases (for example, if the link is stretched to several lines), the center of the object might not be the correct place to be clicked. Try specifying the click coordinates (e.g. (1,1)) explicitly and check whether this helps. Also, you can try using the Desktop.MouseDown and Desktop.MouseUp methods to click the needed location explicitly (see the "MouseDown Method (Desktop Objects)" and "MouseUp Method (Desktop Objects)" help topics for more information).
Related Content
Recent Discussions
- 4 hours agoSvetaG