Micro Focus QTP (UFT) Forums
Batch execution -error - 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: Batch execution -error (/Thread-Batch-execution-error)



Batch execution -error - arika - 04-27-2011

I am actually executing a batch of 3 test scripts. In which the second test script pops out an error if I run it separately. But during batch execution I dont see any popup and the next steps continue execution. Is this the speciality with the Batch execution?


RE: Batch execution -error - Jay - 04-27-2011

Batch execution supress the runtime errors as it has to run the all the scripts - same can be seen in QC executions.
everyone - correct if I am wrong.


RE: Batch execution -error - arika - 04-27-2011

Thanks for your reply.
And one more thing is in that second test which has some runtime error I included some recovery scenario whose trigger is "runtime error", recovery operation is some "function call" and post-recovery operation is to "restart current test run". So when I executed that Batch run the function cal is executed but the post-recovery i.e the current test doesn't get restarted and it's going to the third test script.

Same thing if the recovery scenario is included in the last test script then even the post-recovery thing is working fine.

what should i do so that rcovery scenario works fine for any test script irrespective of it's order?