This documentation is archived and is not being maintained.

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.

Public classApplicationUnderTestAutomates the operations of test applications.
Public classBrowserWindowRepresents a Web browser window in the test framework of vstsEssTest.
Public classCodedUITestAttributeSpecifies that the method to which this attribute applies can be edited and played back by the coded UI testing framework.
Public classControlTypeRepresents the types of controls for testing the user interface of an application. This class cannot be inherited.
Public classKeyboardProvides static methods for performing automated keyboard actions.
Public classMouseProvides static methods for performing mouse actions in a user interface (UI) test.
Public classPlaybackClass contains the settings that must be used for playback.
Public classPlaybackErrorEventArgsRepresents the event arguments that are available when an action fails during a test playback.
Public classPlaybackSettingsSettings to be used for playback.
Public classPropertyExpressionRepresents a key-value pair of search properties that has an optional property expression operator.
Public classPropertyExpressionCollectionRepresents a collection of PropertyExpression objects.
Public classUITestControlThis class provides the ability to locate controls on a User Interface. It provides properties and methods that are generic to controls across technologies.
Public classUITestControl.PropertyNamesRepresents the names of the common properties in all UITestControl objects.
Public classUITestControlCollectionA collection of UITestControl objects.
Public classUITestControlFactoryFactory class to create UITestControl objects.
Public classUITestPropertyDescriptorClass to contain information about a property.
Public classUITestPropertyProviderProvides an abstract base class for implementing custom support for providing properties for user interface (UI) test controls.

Public enumerationPlaybackErrorOptionsRepresents the options that a user can choose when a playback error occurs.
Public enumerationPropertyExpressionOperatorRepresents an operator for creating property expressions.
Public enumerationUITestPropertyAttributesEnumerates attributes for the property.