Bagikan melalui


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 ControlType Represents the types of controls for testing the user interface of an application. This class cannot be inherited.
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 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.

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

Testing the User Interface with Automated UI Tests