WINDOWS - GET THE POSITION OF A UI ELEMENT ON THE SCREEN
Activity «Get the position of a UI element on the screen» can be found in section «Windows».
Activity gets the position of the specified element on the screen. Positions are presented as rectangles (Rectangle).
Нажмите на изображение, чтобы увеличить его.
Property; Class; Type; Options; Description
XPath; In; String; With XPath; Path to the element on the screen described as XPath.
Timeout (s); In; Int32; With XPath; Timeout for element search using selector (XPath). If the element won't be found within the specified period, it will trigger error (exception).
UI element; In; Activities.Desktop. Core.UIElement; With UI element; The elements, coordinates of which should be found.
Result; Out; Drawing.Rectangle; *; Rectangle, describing the coordinates and size of the element on the screen.
Option; Description
With XPath; Get the element by selector (XPath).
With UI element; Get the coordinates of the concrete element.