Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 | |
|---|---|---|
![]() |
UITest | Overloaded. Initializes a new instance of the UITest class. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Append | Overloaded. Adds one or more UITestAction objects to the test. |
![]() |
BindWithCurrentValues | Sets parameters in each action in the test with default values from the ValueMap property. |
![]() ![]() |
CompareEnvironments | Returns a collection of SettingMismatch objects that specify the differences between two provided configurations. |
![]() |
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. |
![]() ![]() |
Create | Overloaded. Creates a new UITest. |
![]() |
CreateAndAddParameter | Overloaded. Creates a parameter and adds it to the ValueMap property. |
![]() |
Equals | Overloaded. Returns whether the provided object is equal to the current object. |
![]() |
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.) |
![]() |
GetActionList | Returns a list of actions in the specified section. |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Overrides Object.GetHashCode().) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
Save | Overloaded. Saves the current test. |
![]() |
SetAndBindParameterValues | Binds the data columns in the provided data row to parameters in the ValueMap property. |
![]() |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
AssemblyVersion | Gets or sets the version of the assembly. |
![]() |
CleanupActions | Gets or sets the actions to be executed during cleanup. |
![]() |
Configuration | Gets or sets the configuration for the test. |
![]() |
CurrentActionList | Gets or sets the list of UITestAction objects for this test. |
![]() |
ExecuteActions | Gets or sets the list of actions to be executed during the test. |
![]() |
Id | Gets or sets the unique identifier for the test. |
![]() |
InitializeActions | Gets or sets the list of actions to be executed during test initialization. |
![]() |
Maps | Gets or sets a collection of UIMap objects. |
![]() |
Name | Gets or sets the name of the test. |
![]() |
OnErrorActions | Gets or sets a list of actions for handling errors. |
![]() |
ValueMap | Gets or sets the value map associated with this test. |
![]() |
Version | Gets or sets the version of this test. |
Top
Events
| Name | Description | |
|---|---|---|
![]() ![]() |
Executing | Raised before executing any test. |
![]() ![]() |
Saving | Raised before saving any test. |
Top
See Also
Reference
Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace
.gif)
.gif)
.gif)
.gif)
.gif)