IUITechnologyManager.GetElementFromPoint(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the element that is located at the given screen coordinates.
public:
Microsoft::VisualStudio::TestTools::UITest::Extension::IUITechnologyElement ^ GetElementFromPoint(int pointX, int pointY);
[System.Runtime.InteropServices.DispId(7)]
public Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement GetElementFromPoint (int pointX, int pointY);
[<System.Runtime.InteropServices.DispId(7)>]
abstract member GetElementFromPoint : int * int -> Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
Public Function GetElementFromPoint (pointX As Integer, pointY As Integer) As IUITechnologyElement
Parameters
- pointX
- Int32
The x coordinate of the screen location.
- pointY
- Int32
The y coordinate of the screen location.
Returns
The element at the provided location.
- Attributes