UITest Members

Include Protected Members
Include Inherited Members

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents a UI test with methods to load, save, and manipulate the test.

The UITest type exposes the following members.

Constructors

  Name Description
Public method UITest Overloaded. Initializes a new instance of the UITest class.

Top

Methods

  Name Description
Public method Append Overloaded. Adds one or more UITestAction objects to the test.
Public method BindWithCurrentValues Sets parameters in each action in the test with default values from the ValueMap property.
Public methodStatic member CompareEnvironments Returns a collection of SettingMismatch objects that specify the differences between two provided configurations.
Public method CompareStoredEnvironmentWithCurrentEnvironment Returns a collection of SettingMismatch objects that specify the differences between the recorded configuration and the configuration captured at the beginning of the test.
Public methodStatic member Create Overloaded. Creates a new UITest.
Public method CreateAndAddParameter Overloaded. Creates a parameter and adds it to the ValueMap property.
Public method Equals Overloaded. Returns whether the provided object is equal to the current object.
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetActionList Returns a list of actions in the specified section.
Public method GetHashCode Serves as a hash function for a particular type. (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Save Overloaded. Saves the current test.
Public method SetAndBindParameterValues Binds the data columns in the provided data row to parameters in the ValueMap property.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property AssemblyVersion Gets or sets the version of the assembly.
Public property CleanupActions Gets or sets the actions to be executed during cleanup.
Public property Configuration Gets or sets the configuration for the test.
Public property CurrentActionList Gets or sets the list of UITestAction objects for this test.
Public property ExecuteActions Gets or sets the list of actions to be executed during the test.
Public property Id Gets or sets the unique identifier for the test.
Public property InitializeActions Gets or sets the list of actions to be executed during test initialization.
Public property Maps Gets or sets a collection of UIMap objects.
Public property Name Gets or sets the name of the test.
Public property OnErrorActions Gets or sets a list of actions for handling errors.
Public property ValueMap Gets or sets the value map associated with this test.
Public property Version Gets or sets the version of this test.

Top

Events

  Name Description
Public eventStatic member Executing Raised before executing any test.
Public eventStatic member Saving Raised before saving any test.

Top

See Also

Reference

UITest Class

Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace