we want to excute 100 testcases in the night time (we will distrubute in 3 systems) from QC Test Lab .But sometime our Application crashes automatically and closes so if the application closes QTP look for the application object and script hangs so we want to go to next script is there any approach is there ? if any without opening all the scripts can we write down one function/any approach plz help me.
till now we did not implement recovery scenarios in our framework
We have lot of test cases and run all of them through QC. We distribute between 5-10 machines. so if 1 fails due to app or qtp, it keeps on going with rest of them. Looks like your script is dependent on previous script or object. if that is the case you will have problem. every script should be independent and opening and closing the application. You can check if the application is open or not. but every test case should be independent. we have no issues. we always opens the app and closes on each test case.
Thanks for response Eagles.
All my scripts are independent, but if any script is running application crashes QTP will hangs waiting for the objects so how would QC will go to the next script.if you have any code/any approach plz share with me