Export (0) Print
Expand All

UITestAction Class

Provides a base class for test actions that are used with user interface (UI) tests.

System::Object
  Microsoft.VisualStudio.TestTools.UITest.Common::UITestAction
    More...

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

[SerializableAttribute]
public ref class UITestAction abstract : INotifyPropertyChanged

The UITestAction type exposes the following members.

  NameDescription
Protected methodUITestAction()Initializes a new instance of the UITestAction class.
Protected methodUITestAction(UITechnologyElement)Initializes a new instance of the UITestAction class by using the provided UI element.
Top

  NameDescription
Public propertyActionLogEntryGets or sets the action log entry for the action.
Public propertyActionNameGets the name of the action. The set procedure is not supported in this base class.
Public propertyActualThinkTimeGets or sets the think time after it processes other playback parameters that are provided by the UIActionInterpreter, such as the ThinkTimeMultiplier.
Public propertyAdditionalInfoWhen implemented in a derived class, gets a string that contains custom information.
Public propertyCommentGets or sets a comment for this action.
Public propertyContinueOnErrorGets or sets a value that indicates whether to continue even if this action fails.
Public propertyContinueOnErrorWrapperGets or sets the value of the ContinueOnError property as a string for serialization.
Public propertyElapsedTimeGets or sets the time span of the action.
Public propertyEndTimestampThe timestamp for the end of the action.
Public propertyIdGets or sets a unique numeric identifier for this action.
Public propertyIsParameterBoundIf this action can be parameterized, gets or sets a value that indicates whether the action is bound to a test parameter.
Public propertyIsParameterizableGets a value that indicates whether this action can be parameterized.
Public propertyNeedFilteringGets or sets a value that indicates whether this action can be processed by a UITestActionFilter.
Public propertyParameterNameGets or sets the name of the corresponding parameter for the action value.
Public propertyStartTimestampGets or sets the starting time stamp when executing this action.
Public propertyTagsGets a dictionary of additional information about this action that is needed during recording, aggregation, or post-processing. The set procedure is private.
Public propertyThinkTimeGets or sets the number of seconds that are required to execute this action.
Public propertyThinkTimeStringGets or sets the think time for this action by using a string value.
Public propertyTimestampGets or sets the time stamp for this action.
Public propertyUIElementGets or sets the UI element on which this action operates.
Public propertyUIObjectNameGets or sets the name of the UI element on which this action operates.
Public propertyUITestActionExtensionSets or gets the an instance of UITestActionExtension which contains properties related to actions.
Public propertyValueAsStringGets or sets the value of this action as a string. The set procedure is not supported in this base class.
Top

  NameDescription
Public methodEqualsReturns a value that indicates whether the given object is equal to this UI test action. (Overrides Object::Equals(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 methodGetHashCodeOverrides object.GetHashCode (Overrides Object::GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInvokeInvokes this action.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodNotifyPropertyChangedRaises the PropertyChanged event.
Public methodToStringReturns the description of this action. (Overrides Object::ToString().)
Top

  NameDescription
Public eventPropertyChangedOccurs when a property value changes.
Top

  NameDescription
Public operatorStatic memberEqualityOverrides the "==" operator for comparing two UI test action objects.
Public operatorStatic memberInequalityOverrides the "!=" operator for comparing two UI test action objects.
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.

Show:
© 2014 Microsoft