I have added a recovery scenerio to my script. But the recovery takes place only when the
error window pops up.
But i run my script and go away from my computer.
now my question is :
Is there a way to find out wheater the recovery scenerio was triggered during the execution of the script?
1. LR 9.5
4. - Concurrent groups,
6. New recording
7. Permanent http/html 5000
9. Windows-XP, SP2
10. Not filed
You could insert a Reporter.Report event in your recovery scenario.
In the Test Results you will find a red inverted Traingle having a ! mark, that shows that Recovery Scenario was used.
i have one recovery scenario. i want to trigger it in certain conditions but not in all cases.anybody can suggest the program for it.
You can activate and deactiavte any recovery scenario at run time. See help on recovery object in QTP
Buy the NEW QTP Descriptive Programming Unplugged Book
** Download QTP Unplugged 2nd Edition eBook for FREE **
how can i insert "Reporter.Report" event in recover scenerio? put that in a function n calling the funciton in recovery?
pls clarify me lpv.
You could specify "Function Call" as Recovery Operation while defining Recovery Scenario using Recovery Scenario Manager.
And within the function (stored as .vbs file), add Reporter.ReportEvent.
Also as Wasim Haque already mentioned, you will find a red inverted Traingle having a ! mark in the test results too.