I have a script that contains a loop and some actions within it. I need to do an action, check a condition and then either continue with following actions or return to start of Loop and the next iteration. I do not want to Exit the Loop.
Winrunner contained a command called 'continue' which did this, is there an equivalent in QTP ?
Example
i = 1
Do While i < 4
i = i+1
If i = 2 Then
'continue' ie. return to start of loop and next iteration
End If
If i = 3 Then
Exit do
End If
loop
Note: If you are the author of this question and wish to assign points to any of the answers, please login first.For more information on assigning points ,click
here