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.

UITechnologyManagerProxy::GetElementFromPoint Method (Int32, Int32)

 

Gets the element at the given screen coordinates.

Namespace:   Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

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

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 IUITechnologyElement at the screen coordinates specified.

Return to top
Show: