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 ApplicationBase
Public class ApplicationUnderTest Automates the operations of test applications.
Public class BrowserWindow Class representing a Browser Window
Public class 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
Public class ColorDifference Represents the per-channel difference between two colors, used to represent tolerance.
Public class ControlType ControlType class encapsulates the different types of UI Controls
Public class Gesture Contains static methods for performing Touch gestures.
Public class HtmlLoggerState
Public class ImageComparer
Public class Keyboard Contains static methods for performing keyboard actions.
Public class Mouse Contains static methods for performing mouse actions.
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 PropertyExpressionObservableCollection Contains searchable properties of UITestControl.
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 The abstract class for implementing custom action support for UI controls.
Public class UITestControl UITestControl provides the ability to locate controls on a User Interface. It provides properties and methods which are generic to controls across technologies.
Public class UITestControl.PropertyNames Represents the names of the common properties in all UITestControl objects.
Public class UITestControlCollection Contains searchable properties of UITestControl.
Public class UITestControlFactory Factory class to create UITestControls from point, native element ...etc.
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.
Public class WebViewActionExecutor

Structures

  Structure Description
Public structure ToleranceRectangle ToleranceRectangle structure.

Enumerations

  Enumeration Description
Public enumeration CodedUITestType Represents the CodedUITest type for a test class.
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 UITestGestureDirection Gesture direction. Up/Down/Left/Right.
Public enumeration UITestPropertyAttributes Enumerates attributes for the property.

See Also

Reference

Other Resources

Verifying Code by Using UI Automation