Posts: 36
Threads: 22
Joined: Dec 2011
Reputation:
0
01-18-2012, 09:03 PM
Hi,
Could someone please tell me how would I continue a test after it fails a step, I am using Reporter.ReportEvent.micFail when expected string or expected page does not exist.
Thank you,
Sqadri
Posts: 27
Threads: 2
Joined: Aug 2011
Reputation:
0
01-19-2012, 12:03 AM
Hi,
any qtp run time error is thrown
oherwise based on ur scenario or loop.u can continue ur scripts
Regards,
Arul
Posts: 275
Threads: 4
Joined: Jul 2011
Reputation:
0
01-19-2012, 09:50 AM
Reporter.ReportEvent does not stop the execution.It will continue to run next statements in the script.
If you are getting some run time error, try using "on error resume next"
Posts: 424
Threads: 10
Joined: Aug 2011
Reputation:
0
01-20-2012, 06:43 PM
Write 'On Error Resume Next at the start of ur function/script. This will bypass the error and continue with the next line of statement.
Posts: 36
Threads: 22
Joined: Dec 2011
Reputation:
0
01-20-2012, 10:02 PM
Arul and Ankesh,
Thank you for your help.
Sqadri