Forum Discussion
AlexKaras
5 years agoChampion Level 3
Hi,
Every UI control (window object) of the tested application recognized by TestComplete has .ScreenLeft and .ScreenTop properties that describe control's position relative to the desktop screen. You can use them to calculate required percentage and either use it as it is or to convert to client coordinates via the .ScreenToWindow()/.WindowToScreen() methods.