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.
Represents a coded UI test in Visual Studio.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.TestTools.UITest.Common.UITest
Syntax
public class UITest
public ref class UITest
type UITest = class end
Public Class UITest
Constructors
Name | Description | |
---|---|---|
![]() |
UITest() | Initializes a new instance of the UITest class. |
![]() |
UITest(IEnumerable<UITestAction>) | Initializes a new instance of the UITest class by using the provided test actions. |
![]() |
UITest(IEnumerable<UITestAction>, UIMap) | Initializes a new instance of the UITest class. |
Properties
Name | Description | |
---|---|---|
![]() |
AssemblyVersion | Gets or sets the version for the assembly. |
![]() |
CleanupActions | Gets or sets the actions for the cleanup process. |
![]() |
Configuration | Gets or sets the XML environment configuration file for this coded UI test. |
![]() |
CurrentActionList | Gets or sets the list of current coded UI test actions. |
![]() |
ExecuteActions | Gets or sets the test actions to be executed as part of the coded UI test. |
![]() |
Id | Gets or sets the unique identifier for this coded UI test. |
![]() |
InitializeActions | Gets or sets a list of actions to execute as part of the coded UI test initialization process. |
![]() |
Maps | Gets a collection of UIMap objects for this coded UI test. |
![]() |
Name | Gets or sets the name of this coded UI test. |
![]() |
OnErrorActions | Gets or sets a list of test actions to execute if the test execution encounters an error. |
![]() |
ValueMap | Gets or sets the value map for this UI test object. |
![]() |
Version | Gets or sets the version for this UI test. |
Methods
Name | Description | |
---|---|---|
![]() |
Append(IEnumerable<UITestAction>) | Appends the provided list of test actions to this UI test. |
![]() |
Append(IEnumerable<UITestAction>, UIMap) | Appends the test actions and objects from the provided UI map to this UI test. |
![]() |
Append(UITest, Int64, Int64) | Appends the test actions from the provided UI test into this UI test at the provided range. |
![]() |
BindWithCurrentValues() | Binds the parameters that are used in this UI test that have currently loaded values. |
![]() ![]() |
CompareEnvironments(UITestEnvironment, UITestEnvironment) | Compares the two given UITestEnvironment objects and returns a collection of mismatches. |
![]() |
CompareStoredEnvironmentWithCurrentEnvironment() | Compares the recorder configuration, if it exists, with the system environment that was captured at startup, and returns a collection of mismatches. |
![]() ![]() |
Create(Stream) | Creates a UI test by using the provided stream. |
![]() ![]() |
Create(String) | Creates a UI test by using the specified file. |
![]() |
CreateAndAddParameter(UIObject, String, String) | Parameterizes an action and creates the parameter by using the provided UI test object, property name, and parameter name. |
![]() |
CreateAndAddParameter(UITestAction, String) | Parameterizes an action and creates the parameter by using the provided test action and parameter name. |
![]() |
Equals(Object) | (Overrides Object.Equals(Object).) |
![]() |
Equals(UITest) | Determines whether the provided UI test object is equal to this UI test object. |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetActionList(UITestActionListSection) | Gets the UI test action list that corresponds to a given UI test action section. |
![]() |
GetHashCode() | (Overrides Object.GetHashCode().) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
Save(Stream) | Saves this UI test to a stream. |
![]() |
Save(String) | Saves this UI test to a file. |
![]() |
SetAndBindParameterValues(DataRow) | Binds the parameters that are used in this UI test to the values in a data row. |
![]() |
ToString() | (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
![]() ![]() |
Executing | Occurs when the framework starts to execute this UI test. |
![]() ![]() |
Saving | Occurs when the framework starts to save this UI test. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.VisualStudio.TestTools.UITest.Common Namespace
How to: Create a Coded UI Test
Return to top