UITechnologyManager.GetElementFromPoint 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.
Overloads
GetElementFromPoint(Int32, Int32) |
Retrieves the element that is located at the given screen coordinates. |
GetElementFromPoint(Int32, Int32, AutomationElement) |
GetElementFromPoint(Int32, Int32)
Retrieves the element that is located at the given screen coordinates.
public:
abstract Microsoft::VisualStudio::TestTools::UITest::Extension::IUITechnologyElement ^ GetElementFromPoint(int pointX, int pointY);
public abstract Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement GetElementFromPoint (int pointX, int pointY);
abstract member GetElementFromPoint : int * int -> Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
Public MustOverride 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.
Implements
Applies to
GetElementFromPoint(Int32, Int32, AutomationElement)
public:
virtual Microsoft::VisualStudio::TestTools::UITest::Extension::IUITechnologyElement ^ GetElementFromPoint(int pointX, int pointY, System::Windows::Automation::AutomationElement ^ ceilingElement);
public virtual Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement GetElementFromPoint (int pointX, int pointY, System.Windows.Automation.AutomationElement ceilingElement);
abstract member GetElementFromPoint : int * int * System.Windows.Automation.AutomationElement -> Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
override this.GetElementFromPoint : int * int * System.Windows.Automation.AutomationElement -> Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
Public Overridable Function GetElementFromPoint (pointX As Integer, pointY As Integer, ceilingElement As AutomationElement) As IUITechnologyElement
Parameters
- pointX
- Int32
- pointY
- Int32
- ceilingElement
- AutomationElement