UITestInterpreter.MoveToStepNumber Method
Sets the current action to the action at the given index in the currently selected action list.
Namespace: Microsoft.VisualStudio.TestTools.UITest.CodeGeneration
Assembly: Microsoft.VisualStudio.TestTools.UITest.CodeGeneration (in Microsoft.VisualStudio.TestTools.UITest.CodeGeneration.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: System.Int32
The index of the desired action in the current action list.
Return Value
Type: System.Boolean
true if successful; false if the index is invalid or if the action list is in an invalid state.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITest.CodeGeneration Namespace