UITestInterpreterCore.MoveToStepNumber Method

Moves the current action pointer to the given action index in the currently selected ActionList.

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

Syntax

'Declaration
Public Function MoveToStepNumber ( _
    stepNumber As Integer _
) As Boolean
public bool MoveToStepNumber(
    int stepNumber
)
public:
bool MoveToStepNumber(
    int stepNumber
)
member MoveToStepNumber : 
        stepNumber:int -> bool
public function MoveToStepNumber(
    stepNumber : int
) : boolean

Parameters

  • stepNumber
    Type: Int32

    The action index to move to.

Return Value

Type: Boolean
True if it is successful; false if the index is invalid or the ActionList is in an invalid state.

.NET Framework Security

See Also

Reference

UITestInterpreterCore Class

Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace