Microsoft.VisualStudio.TestTools.UITesting Namespace

The Microsoft.VisualStudio.TestTools.UITesting namespace supplies classes that provide coded UI test support. This namespace contains classes to perform keyboard and mouse interactions on user interface controls on HTML pages, Windows Form applications, and Windows Presentation Framework applications.

Classes

  Class Description
Public class ApplicationUnderTest Automates the operations of test applications.
Public class BrowserWindow Represents a Web browser window in the test framework of vstsEssTest.
Public class CodedUITestAttribute Specifies that the method to which this attribute applies can be edited and played back by the coded UI testing framework.
Public class ColorDifference Represents the per-channel difference between two colors, used to represent tolerance.
Public class ControlType Represents the types of controls for testing the user interface of an application. This class cannot be inherited.
Public class HtmlLoggerState
Public class ImageComparer
Public class Keyboard Provides static methods for performing automated keyboard actions.
Public class Mouse Provides static methods for performing mouse actions in a user interface (UI) test.
Public class Playback Class contains the settings that must be used for playback.
Public class PlaybackErrorEventArgs Represents the event arguments that are available when an action fails during a test playback.
Public class PlaybackSettings Settings to be used for playback.
Public class PropertyExpression Represents a key-value pair of search properties that has an optional property expression operator.
Public class PropertyExpressionCollection Represents a collection of PropertyExpression objects.
Public class UITechnologyElementProxy Proxy UITechnologyElement class. Extension plugins must override this and customize their technology element behavior.
Public class UITechnologyManagerProxy The proxy technology manager class. Extension plugins must override this and customize their technology manager behavior.
Protected class UITechnologyManagerProxy.ChildrenEnumeratorProxy Enumerator wrapper class for inner core children enumerator.
Public class UITestActionExecutor
Public class UITestControl This class provides the ability to locate controls on a User Interface. It provides properties and methods that are generic to controls across technologies.
Public class UITestControl.PropertyNames Represents the names of the common properties in all UITestControl objects.
Public class UITestControlCollection A collection of UITestControl objects.
Public class UITestControlFactory Factory class to create UITestControl objects.
Public class UITestPropertyDescriptor Class to contain information about a property.
Public class UITestPropertyProvider Provides an abstract base class for implementing custom support for providing properties for user interface (UI) test controls.

Structures

  Structure Description
Public structure ToleranceRectangle ToleranceRectangle structure.

Enumerations

  Enumeration Description
Public enumeration PlaybackErrorOptions Represents the options that a user can choose when a playback error occurs.
Public enumeration PropertyExpressionOperator Represents an operator for creating property expressions.
Public enumeration UITestPropertyAttributes Enumerates attributes for the property.

See Also

Reference

Other Resources

Verifying Code by Using Coded User Interface Tests