Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
If application crashes or hangs, how to execute next test cases in automation
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi all,

If application crashes or hangs, how to execute next test cases in automation. Anyone please help.

Thanks & Regards
Kalyani
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
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
Reply
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
If it happens so, You can use Recovery scenarios.
Please refer to QTP Help
Reply
#4
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi Ankesh,

can u elaborate ur explanation on this?

Thanks
kalyani


Thanks vIns, I'll refer recovery scenarios in QTP help
Reply
#5
Solved: 11 Years, 3 Months, 3 Weeks ago
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Execute button of putton won't be clicke automaticly in UFT (VB) MarUFT 3 2,657 11-21-2016, 04:22 PM
Last Post: Ankur
  Not able to execute script shanthalaAR 0 2,072 06-27-2015, 03:53 AM
Last Post: shanthalaAR
Wink IE11 Crashes when User tires to capture an Object or Record a Screen in UFT 12.01 Baalaaji 1 2,906 06-11-2015, 06:41 PM
Last Post: venkatesh9032
  How to Execute a testset from QC using OTA framework AutomationTester2011 12 52,497 01-21-2015, 09:22 PM
Last Post: karthik_sanakran
  Automate Test cases shekhar NT 1 2,466 07-08-2014, 01:41 PM
Last Post: QTpier

Forum Jump:


Users browsing this thread: 1 Guest(s)