12-14-2009, 05:37 PM
12-15-2009, 12:21 AM
There is no Continue statement in VBScript, and so QTP does not support continue statement as well.
The only way to really simulate continue is to just nest all of your code in a bunch of nested If-Then blocks. Very ugly, but logically the same.
The only way to really simulate continue is to just nest all of your code in a bunch of nested If-Then blocks. Very ugly, but logically the same.
12-15-2009, 02:45 AM
Unless you are talking about Error trapping. In that case
This will cause your code to continue on the next line when an error is encountered.
To reset your error trapping
Code:
On Error resume next
This will cause your code to continue on the next line when an error is encountered.
To reset your error trapping
Code:
On error goto 0
12-16-2009, 03:06 PM
Hi Caze,
Continues running the timer from the time it stopped (without resetting it).
Syntax:
Regards,
Venkat.Batchu
Continues running the timer from the time it stopped (without resetting it).
Syntax:
Code:
MercuryTimers.Timer(TimerName).Continue
Regards,
Venkat.Batchu