Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UITechnologyManager::GetElementFromPoint Method (Int32, Int32)

 

Retrieves the element that is located at the given screen coordinates.

Namespace:   Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

public:
virtual IUITechnologyElement^ GetElementFromPoint(
	int pointX,
	int pointY
) abstract

Parameters

pointX
Type: System::Int32

The x coordinate of the screen location.

pointY
Type: System::Int32

The y coordinate of the screen location.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITest.Extension::IUITechnologyElement^

The element at the provided location.

Return to top
Show: