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 | |
---|---|---|
ApplicationBase | ||
ApplicationUnderTest | Automates the operations of test applications. | |
BrowserWindow | Class representing a Browser Window | |
CodedUITestAttribute | Used to activate the extension so that we recognize a class as Unit Test extension class. Use [CodedUITest] attribute in test class to indicate that it is a Coded UI Test | |
ColorDifference | Represents the per-channel difference between two colors, used to represent tolerance. | |
ControlType | ControlType class encapsulates the different types of UI Controls | |
Gesture | Contains static methods for performing Touch gestures. | |
HtmlLoggerState | ||
ImageComparer | ||
Keyboard | Contains static methods for performing keyboard actions. | |
Mouse | Contains static methods for performing mouse actions. | |
Playback | Class contains the settings that must be used for playback. | |
PlaybackErrorEventArgs | Represents the event arguments that are available when an action fails during a test playback. | |
PlaybackSettings | Settings to be used for Playback. | |
PropertyExpression | Represents a key-value pair of search properties that has an optional property expression operator. | |
PropertyExpressionCollection | Represents a collection of PropertyExpression objects. | |
PropertyExpressionObservableCollection | Contains searchable properties of UITestControl. | |
UITechnologyElementProxy | Proxy UITechnologyElement class. Extension plugins must override this and customize their technology element behavior. | |
UITechnologyManagerProxy | The proxy technology manager class. Extension plugins must override this and customize their technology manager behavior. | |
UITechnologyManagerProxy.ChildrenEnumeratorProxy | Enumerator wrapper class for inner core children enumerator. | |
UITestActionExecutor | The abstract class for implementing custom action support for UI controls. | |
UITestControl | UITestControl provides the ability to locate controls on a User Interface. It provides properties and methods which are generic to controls across technologies. | |
UITestControl.PropertyNames | Represents the names of the common properties in all UITestControl objects. | |
UITestControlCollection | Contains searchable properties of UITestControl. | |
UITestControlFactory | Factory class to create UITestControls from point, native element ...etc. | |
UITestPropertyDescriptor | Class to contain information about a property. | |
UITestPropertyProvider | Provides an abstract base class for implementing custom support for providing properties for user interface (UI) test controls. | |
WebViewActionExecutor |
Structures
Structure | Description | |
---|---|---|
ToleranceRectangle | ToleranceRectangle structure. |
Enumerations
Enumeration | Description | |
---|---|---|
CodedUITestType | Represents the CodedUITest type for a test class. | |
PlaybackErrorOptions | Represents the options that a user can choose when a playback error occurs. | |
PropertyExpressionOperator | Represents an operator for creating property expressions. | |
UITestGestureDirection | Gesture direction. Up/Down/Left/Right. | |
UITestPropertyAttributes | Enumerates attributes for the property. |