![]() |
If application crashes or hangs, how to execute next test cases in automation - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: If application crashes or hangs, how to execute next test cases in automation (/Thread-If-application-crashes-or-hangs-how-to-execute-next-test-cases-in-automation) |
If application crashes or hangs, how to execute next test cases in automation - kalyani0820@gmail.com - 11-15-2011 Hi all, If application crashes or hangs, how to execute next test cases in automation. Anyone please help. Thanks & Regards Kalyani RE: If application crashes or hangs, how to execute next test cases in automation - Ankesh - 11-16-2011 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 RE: If application crashes or hangs, how to execute next test cases in automation - vIns - 11-17-2011 If it happens so, You can use Recovery scenarios. Please refer to QTP Help RE: If application crashes or hangs, how to execute next test cases in automation - kalyani0820@gmail.com - 11-18-2011 Hi Ankesh, can u elaborate ur explanation on this? Thanks kalyani Thanks vIns, I'll refer recovery scenarios in QTP help RE: If application crashes or hangs, how to execute next test cases in automation - vinod123 - 11-18-2011 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 |