Share via


TestStepMarkerAction Class

 

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

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.UITestAction
    Microsoft.VisualStudio.TestTools.UITest.Common.MarkerAction
      Microsoft.VisualStudio.TestTools.UITest.Common.TestStepMarkerAction

Syntax

[SerializableAttribute]
public class TestStepMarkerAction : MarkerAction
[SerializableAttribute]
public ref class TestStepMarkerAction : MarkerAction
[<SerializableAttribute>]
type TestStepMarkerAction = 
    class
        inherit MarkerAction
    end
<SerializableAttribute>
Public Class TestStepMarkerAction
    Inherits MarkerAction

Constructors

Name Description
System_CAPS_pubmethod TestStepMarkerAction()

Initializes a new instance of the TestStepMarkerAction class.

System_CAPS_pubmethod TestStepMarkerAction(Int32, String, String)

Initializes a new instance of the TestStepMarkerAction class by using the provided ID, marker information, and outcome.

Properties

Name Description
System_CAPS_pubproperty ActionLogEntry

Gets or sets the action log entry for the action.(Inherited from UITestAction.)

System_CAPS_pubproperty ActionName

Gets the name of the action. The set procedure is not supported in this base class.(Inherited from UITestAction.)

System_CAPS_pubproperty ActualThinkTime

Gets or sets the think time after it processes other playback parameters that are provided by the UIActionInterpreter, such as the ThinkTimeMultiplier.(Inherited from UITestAction.)

System_CAPS_pubproperty AdditionalInfo

When implemented in a derived class, gets a string that contains custom information.(Inherited from UITestAction.)

System_CAPS_pubproperty Comment

Gets or sets a comment for this action.(Inherited from UITestAction.)

System_CAPS_pubproperty ContinueOnError

Gets or sets a value that indicates whether to continue even if this action fails.(Inherited from UITestAction.)

System_CAPS_pubproperty ContinueOnErrorWrapper

Gets or sets the value of the ContinueOnError property as a string for serialization.(Inherited from UITestAction.)

System_CAPS_pubproperty Direction

Gets or sets the direction of the marker.

System_CAPS_pubproperty Disabled

Gets or sets a value that indicates whether the marker is disabled.

System_CAPS_pubproperty ElapsedTime

Gets or sets the time span of the action.(Inherited from UITestAction.)

System_CAPS_pubproperty EndTimestamp

The timestamp for the end of the action.(Inherited from UITestAction.)

System_CAPS_pubproperty Id

Gets or sets a unique numeric identifier for this action.(Inherited from UITestAction.)

System_CAPS_pubproperty 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.)

System_CAPS_pubproperty IsParameterizable

Gets a value that indicates whether this action can be parameterized.(Inherited from UITestAction.)

System_CAPS_pubproperty MarkerInformation

Gets or sets information about this action.(Inherited from MarkerAction.)

System_CAPS_pubproperty MarkerRegionType

Gets or sets the marker region type.

System_CAPS_pubproperty NeedFiltering

Gets or sets a value that indicates whether this action can be processed by a UITestActionFilter.(Inherited from UITestAction.)

System_CAPS_pubproperty Outcome

Gets or sets the marker step outcome.

System_CAPS_pubproperty ParameterName

Gets or sets the name of the corresponding parameter for the action value.(Inherited from UITestAction.)

System_CAPS_pubproperty StartTimestamp

Gets or sets the starting time stamp when executing this action.(Inherited from UITestAction.)

System_CAPS_pubproperty StepId

Gets or sets the marker step identifier.

System_CAPS_pubproperty 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.)

System_CAPS_pubproperty ThinkTime

Gets or sets the number of seconds that are required to execute this action.(Inherited from UITestAction.)

System_CAPS_pubproperty Timestamp

Gets or sets the time stamp for this action.(Inherited from UITestAction.)

System_CAPS_pubproperty UIElement

Gets or sets the UI element on which this action operates.(Inherited from UITestAction.)

System_CAPS_pubproperty UIObjectName

Gets or sets the name of the UI element on which this action operates.(Inherited from UITestAction.)

System_CAPS_pubproperty UITestActionExtension

Sets or gets the an instance of UITestActionExtension which contains properties related to actions.(Inherited from UITestAction.)

System_CAPS_pubproperty 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.)

System_CAPS_pubproperty WorkItemId

Gets or sets the identifier for an associated work item.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

Returns a value that indicates whether the provided object is equal to this action object.(Overrides UITestAction.Equals(Object).)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Overrides UITestAction.GetHashCode().)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Invoke(UITestActionInvoker, UIMap)

Invokes this action.(Overrides MarkerAction.Invoke(UITestActionInvoker, UIMap).)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod NotifyPropertyChanged(String)

Raises the PropertyChanged event.(Inherited from UITestAction.)

System_CAPS_pubmethod 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().)

Events

Name Description
System_CAPS_pubevent PropertyChanged

Occurs when a property value changes.(Inherited from UITestAction.)

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

MarkerAction
Microsoft.VisualStudio.TestTools.UITest.Common Namespace

Return to top