This documentation is archived and is not being maintained.

UITestControlFactory Class

Factory class to create UITestControl objects.


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

Public NotInheritable Class UITestControlFactory

The UITestControlFactory type exposes the following members.

Public methodStatic memberFromNativeElementReturns a new UITestControl from the specified native element information.
Public methodStatic memberFromPointReturns a new UITestControl at the specified co-ordinates.
Public methodStatic memberFromWindowHandleReturns a new UITestControl from the specified window handle.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.