kvooturiOccasional Contributor14 years agoGet the coordinates of a object in window - urgentPlease suggest a method to obtain the coordinates of a object(typeWPFdatagrid element) in a window.The idea is to get the coordinates and use them in drag method.
1 ReplyReplies sorted by Most LikedSort ByMost LikedOldestNewestYMinaevStaff14 years agoHi,Your object's Top and Left properties will give you its position. Height and Width will give you its size.
YMinaevStaff14 years agoHi,Your object's Top and Left properties will give you its position. Height and Width will give you its size.
Related ContentGet cursor coordinates over tested object?VCL Objects detected as Window objectsMicrosoft Dynamics NAV Windows Desktop object recognitionCan't click on another tab without coordinates definedObject Spy doesn't recognize edge browser object download save as
Recent DiscussionsTestComplete14.72 is not recognizing WinUI-3 objectsFloating window **bleep** overlapping window takes longer time (~10 min) to click the button on it.Test case randomly fails with "parent object was not found"Does TC have a .within() method similar to Cypress.io?SolvedSessionCreator /Timeout option not firing EventControl_OnTimeout