Micro Focus QTP (UFT) Forums

Full Version: How to continue test after it fails a step
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Hi,
any qtp run time error is thrown
oherwise based on ur scenario or loop.u can continue ur scripts
Regards,
Arul
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"
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.
Arul and Ankesh,

Thank you for your help.
Sqadri