Export (0) Print
Expand All

UITest Class

Represents a coded UI test in Visual Studio.

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

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

'Declaration
Public Class UITest

The UITest type exposes the following members.

  NameDescription
Public methodUITestInitializes a new instance of the UITest class.
Public methodUITest(IEnumerable(Of UITestAction))Initializes a new instance of the UITest class by using the provided test actions.
Public methodUITest(IEnumerable(Of UITestAction), UIMap)Initializes a new instance of the UITest class.
Top

  NameDescription
Public propertyAssemblyVersionGets or sets the version for the assembly.
Public propertyCleanupActionsGets or sets the actions for the cleanup process.
Public propertyConfigurationGets or sets the XML environment configuration file for this coded UI test.
Public propertyCurrentActionListGets or sets the list of current coded UI test actions.
Public propertyExecuteActionsGets or sets the test actions to be executed as part of the coded UI test.
Public propertyIdGets or sets the unique identifier for this coded UI test.
Public propertyInitializeActionsGets or sets a list of actions to execute as part of the coded UI test initialization process.
Public propertyMapsGets a collection of UIMap objects for this coded UI test.
Public propertyNameGets or sets the name of this coded UI test.
Public propertyOnErrorActionsGets or sets a list of test actions to execute if the test execution encounters an error.
Public propertyValueMapGets or sets the value map for this UI test object.
Public propertyVersionGets or sets the version for this UI test.
Top

  NameDescription
Public methodAppend(IEnumerable(Of UITestAction))Appends the provided list of test actions to this UI test.
Public methodAppend(IEnumerable(Of UITestAction), UIMap)Appends the test actions and objects from the provided UI map to this UI test.
Public methodAppend(UITest, Int64, Int64)Appends the test actions from the provided UI test into this UI test at the provided range.
Public methodBindWithCurrentValuesBinds the parameters that are used in this UI test that have currently loaded values.
Public methodStatic memberCompareEnvironmentsCompares the two given UITestEnvironment objects and returns a collection of mismatches.
Public methodCompareStoredEnvironmentWithCurrentEnvironmentCompares the recorder configuration, if it exists, with the system environment that was captured at startup, and returns a collection of mismatches.
Public methodStatic memberCreate(Stream)Creates a UI test by using the provided stream.
Public methodStatic memberCreate(String)Creates a UI test by using the specified file.
Public methodCreateAndAddParameter(UITestAction, String)Parameterizes an action and creates the parameter by using the provided test action and parameter name.
Public methodCreateAndAddParameter(UIObject, String, String)Parameterizes an action and creates the parameter by using the provided UI test object, property name, and parameter name.
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Overrides Object.Equals(Object).)
Public methodEquals(UITest)Determines whether the provided UI test object is equal to this UI test object.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetActionListGets the UI test action list that corresponds to a given UI test action section.
Public methodGetHashCodeServes as a hash function for a particular type. (Overrides Object.GetHashCode.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSave(Stream)Saves this UI test to a stream.
Public methodSave(String)Saves this UI test to a file.
Public methodSetAndBindParameterValuesBinds the parameters that are used in this UI test to the values in a data row.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public eventStatic memberExecutingOccurs when the framework starts to execute this UI test.
Public eventStatic memberSavingOccurs when the framework starts to save this UI test.
Top

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

Community Additions

ADD
Show:
© 2014 Microsoft