UITestControlFactory.FromPoint Method

Returns a new UITestControl at the specified co-ordinates.

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

Syntax

'Declaration
Public Shared Function FromPoint ( _
    absoluteCoordinates As Point _
) As UITestControl
public static UITestControl FromPoint(
    Point absoluteCoordinates
)
public:
static UITestControl^ FromPoint(
    Point absoluteCoordinates
)
static member FromPoint : 
        absoluteCoordinates:Point -> UITestControl
public static function FromPoint(
    absoluteCoordinates : Point
) : UITestControl

Parameters

  • absoluteCoordinates
    Type: Point

    The coordinates to use to create a new UITestControl.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
A new UITestControl at the specified co-ordinates

.NET Framework Security

See Also

Reference

UITestControlFactory Class

Microsoft.VisualStudio.TestTools.UITesting Namespace