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: Int32The 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
- 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