Share via


UITestInterpreterCore.MoveToStepNumber Method (Int32)

 

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

public bool MoveToStepNumber(
    int stepNumber
)
public:
bool MoveToStepNumber(
    int stepNumber
)
member MoveToStepNumber : 
        stepNumber:int -> bool
Public Function MoveToStepNumber (
    stepNumber As Integer
) As Boolean

Parameters

  • stepNumber
    Type: System.Int32

    The action index to move to.

Return Value

Type: System.Boolean

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

See Also

UITestInterpreterCore Class
Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace

Return to top