Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UITest Class

 

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)

System.Object
  Microsoft.VisualStudio.TestTools.UITest.Common.UITest

type UITest = class end

NameDescription
System_CAPS_pubmethodUITest()

Initializes a new instance of the UITest class.

System_CAPS_pubmethodUITest(IEnumerable<UITestAction>)

Initializes a new instance of the UITest class by using the provided test actions.

System_CAPS_pubmethodUITest(IEnumerable<UITestAction>, UIMap)

Initializes a new instance of the UITest class.

NameDescription
System_CAPS_pubpropertyAssemblyVersion

Gets or sets the version for the assembly.

System_CAPS_pubpropertyCleanupActions

Gets or sets the actions for the cleanup process.

System_CAPS_pubpropertyConfiguration

Gets or sets the XML environment configuration file for this coded UI test.

System_CAPS_pubpropertyCurrentActionList

Gets or sets the list of current coded UI test actions.

System_CAPS_pubpropertyExecuteActions

Gets or sets the test actions to be executed as part of the coded UI test.

System_CAPS_pubpropertyId

Gets or sets the unique identifier for this coded UI test.

System_CAPS_pubpropertyInitializeActions

Gets or sets a list of actions to execute as part of the coded UI test initialization process.

System_CAPS_pubpropertyMaps

Gets a collection of UIMap objects for this coded UI test.

System_CAPS_pubpropertyName

Gets or sets the name of this coded UI test.

System_CAPS_pubpropertyOnErrorActions

Gets or sets a list of test actions to execute if the test execution encounters an error.

System_CAPS_pubpropertyValueMap

Gets or sets the value map for this UI test object.

System_CAPS_pubpropertyVersion

Gets or sets the version for this UI test.

NameDescription
System_CAPS_pubmethodAppend(IEnumerable<UITestAction>)

Appends the provided list of test actions to this UI test.

System_CAPS_pubmethodAppend(IEnumerable<UITestAction>, UIMap)

Appends the test actions and objects from the provided UI map to this UI test.

System_CAPS_pubmethodAppend(UITest, Int64, Int64)

Appends the test actions from the provided UI test into this UI test at the provided range.

System_CAPS_pubmethodBindWithCurrentValues()

Binds the parameters that are used in this UI test that have currently loaded values.

System_CAPS_pubmethodSystem_CAPS_staticCompareEnvironments(UITestEnvironment, UITestEnvironment)

Compares the two given UITestEnvironment objects and returns a collection of mismatches.

System_CAPS_pubmethodCompareStoredEnvironmentWithCurrentEnvironment()

Compares the recorder configuration, if it exists, with the system environment that was captured at startup, and returns a collection of mismatches.

System_CAPS_pubmethodSystem_CAPS_staticCreate(Stream)

Creates a UI test by using the provided stream.

System_CAPS_pubmethodSystem_CAPS_staticCreate(String)

Creates a UI test by using the specified file.

System_CAPS_pubmethodCreateAndAddParameter(UIObject, String, String)

Parameterizes an action and creates the parameter by using the provided UI test object, property name, and parameter name.

System_CAPS_pubmethodCreateAndAddParameter(UITestAction, String)

Parameterizes an action and creates the parameter by using the provided test action and parameter name.

System_CAPS_pubmethodEquals(Object)
System_CAPS_pubmethodEquals(UITest)

Determines whether the provided UI test object is equal to this UI test object.

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetActionList(UITestActionListSection)

Gets the UI test action list that corresponds to a given UI test action section.

System_CAPS_pubmethodGetHashCode()
System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSave(Stream)

Saves this UI test to a stream.

System_CAPS_pubmethodSave(String)

Saves this UI test to a file.

System_CAPS_pubmethodSetAndBindParameterValues(DataRow)

Binds the parameters that are used in this UI test to the values in a data row.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventSystem_CAPS_staticExecuting

Occurs when the framework starts to execute this UI test.

System_CAPS_pubeventSystem_CAPS_staticSaving

Occurs when the framework starts to save this UI test.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: