TestStepMarkerAction Class

Represents a marker in a test action sequence that is logged, but is not used by the playback framework.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.UITest.Common.UITestAction
    Microsoft.VisualStudio.TestTools.UITest.Common.MarkerAction
      Microsoft.VisualStudio.TestTools.UITest.Common.TestStepMarkerAction

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

Syntax

'Declaration
Public Class TestStepMarkerAction _
    Inherits MarkerAction
public class TestStepMarkerAction : MarkerAction
public ref class TestStepMarkerAction : public MarkerAction
type TestStepMarkerAction =  
    class
        inherit MarkerAction
    end
public class TestStepMarkerAction extends MarkerAction

The TestStepMarkerAction type exposes the following members.

Constructors

  Name Description
Public method TestStepMarkerAction() Initializes a new instance of the TestStepMarkerAction class.
Public method TestStepMarkerAction(Int32, String, String) Initializes a new instance of the TestStepMarkerAction class by using the provided ID, marker information, and outcome.

Top

Properties

  Name Description
Public property ActionName Gets the name of the action. The set procedure is not supported in this base class. (Inherited from UITestAction.)
Public property ActualThinkTime Gets or sets the think time after processing other playback parameters that are provided by the UIActionInterpreter, such as the ThinkTimeMultiplier. (Inherited from UITestAction.)
Public property AdditionalInfo When implemented in a derived class, gets a string that contains custom information. (Inherited from UITestAction.)
Public property Comment Gets or sets a comment for this action. (Inherited from UITestAction.)
Public property ContinueOnError Gets or sets a value that indicates whether to continue even if this action fails. (Inherited from UITestAction.)
Public property ContinueOnErrorWrapper Gets or sets the value of the ContinueOnError property as a string for serialization. (Inherited from UITestAction.)
Public property Direction Gets or sets the direction of the marker.
Public property Disabled Gets or sets a value that indicates whether the marker is disabled.
Public property ElapsedTime Gets or sets the time span of the action. (Inherited from UITestAction.)
Public property EndTimestamp The timestamp for the end of the action. (Inherited from UITestAction.)
Public property Id Gets or sets a unique numerical identifier for this action. (Inherited from UITestAction.)
Public property IsParameterBound If this action can be parameterized, gets or sets a value that indicates whether the action is bound to a test parameter. (Inherited from UITestAction.)
Public property IsParameterizable Gets a value that indicates whether this action can be parameterized. (Inherited from UITestAction.)
Public property MarkerInformation Gets or sets information about this action. (Inherited from MarkerAction.)
Public property MarkerRegionType Gets or sets the marker region type.
Public property NeedFiltering Gets or sets a value that indicates whether this action can be processed by a UITestActionFilter. (Inherited from UITestAction.)
Public property Outcome Gets or sets the marker step outcome.
Public property ParameterName Gets or sets the name of the corresponding parameter for the action value. (Inherited from UITestAction.)
Public property StartTimestamp Gets or sets the starting time stamp when executing this action. (Inherited from UITestAction.)
Public property StepId Gets or sets the marker step identifier.
Public property Tags Gets a dictionary of additional information about this action that is needed during recording, aggregation, or post-processing. The set procedure is private. (Inherited from UITestAction.)
Public property ThinkTime Gets or sets the number of seconds that are required to execute this action. (Inherited from UITestAction.)
Public property ThinkTimeString Gets or sets the think time for this action by using a string value. (Inherited from UITestAction.)
Public property Timestamp Gets or sets the time stamp for this action. (Inherited from UITestAction.)
Public property UIElement Gets or sets the UI element on which this action operates. (Inherited from UITestAction.)
Public property UIObjectName Gets or sets the name of the UI element on which this action operates. (Inherited from UITestAction.)
Public property ValueAsString Gets or sets the value of this action as a string. The set procedure is not supported in this base class. (Inherited from UITestAction.)
Public property WorkItemId Gets or sets the identifier for an associated work item.

Top

Methods

  Name Description
Public method Equals Returns a value that indicates whether the provided object is equal to this action object. (Overrides UITestAction.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode (Overrides UITestAction.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Invoke Invokes this action. (Overrides MarkerAction.Invoke(UITestActionInvoker, UIMap).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method NotifyPropertyChanged Raises the PropertyChanged event. (Inherited from UITestAction.)
Public method ToString Returns the StepId, Direction, and a value that indicates whether this step is Disabled as a string for debugging and tracing. (Overrides UITestAction.ToString().)

Top

Events

  Name Description
Public event PropertyChanged Occurs when a property value changes. (Inherited from UITestAction.)

Top

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

Reference

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

MarkerAction