Forum Discussion
TanyaYatskovska
Alumni
13 years agoHi Kirk,
TestComplete records relative coordinates. For example, when it records clicks on a panel, coordinates are recorded relative to the panel's top left corner. The size of the panel is measured in pixels, and it doesn't change at different resolutions. For example, if the panel's height is 250 pixels, width is 750 pixels and a click on it is recorded as Click(380, 130), TestComplete will perform a click in the center of the panel at any display resolution.
If you remove coordinates from the Click() method, TestComplete will always click in the center of the control.