Share via


UITestControlFactory Class

Factory class to create UITestControls from point, native element ...etc.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControlFactory

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assemblies:   Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
  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
Public methodStatic member FromPoint(Point)
Public methodStatic member FromPoint(Point)
Public methodStatic member FromWindowHandle

Top

Remarks

No content here will be updated; please do not add material here.

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