UITestControlFactory Class

Factory class to create UITestControl objects.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControlFactory

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

Syntax

'Declaration
Public NotInheritable Class UITestControlFactory
public static class UITestControlFactory
public ref class UITestControlFactory abstract sealed
[<AbstractClass>]
[<Sealed>]
type UITestControlFactory =  class end
public final class UITestControlFactory

The UITestControlFactory type exposes the following members.

Methods

  Name Description
Public methodStatic member FromNativeElement Returns a new UITestControl from the specified native element information.
Public methodStatic member FromPoint Returns a new UITestControl at the specified co-ordinates.
Public methodStatic member FromWindowHandle Returns a new UITestControl from the specified window handle.

Top

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.TestTools.UITesting Namespace