Posts: 15
Threads: 5
Joined: Oct 2011
Reputation:
0
11-15-2011, 12:48 PM
Hi all,
If application crashes or hangs, how to execute next test cases in automation. Anyone please help.
Thanks & Regards
Kalyani
Posts: 424
Threads: 10
Joined: Aug 2011
Reputation:
0
11-16-2011, 06:33 PM
You can use "On error resume next statement" for all of ur scripts/Functions.
This will not throw any QTP error but in HP run result you can see the errors.
Please note, all your TC's should always be launching the application and closing it at the end.
Plz let me know if you have any query.
Regards,
Ankesh
Posts: 107
Threads: 9
Joined: Apr 2011
Reputation:
0
11-17-2011, 10:29 AM
If it happens so, You can use Recovery scenarios.
Please refer to QTP Help
Posts: 15
Threads: 5
Joined: Oct 2011
Reputation:
0
11-18-2011, 09:25 AM
(This post was last modified: 11-18-2011, 09:28 AM by kalyani0820@gmail.com.)
Hi Ankesh,
can u elaborate ur explanation on this?
Thanks
kalyani
Thanks vIns, I'll refer recovery scenarios in QTP help
Posts: 323
Threads: 8
Joined: Nov 2011
Reputation:
4
11-18-2011, 11:56 AM
if application crashes in qtp recovery scenario manager which is in resources tab just open it and click on the icon under new button and click on next select the last option from the list and click on next button and from the list of process select explorer.exe and click on next and uncheck the checkbox and click on next button which is the complete process to add recovery scenario