Hi asha
first i am telling you steps how to use recovery with function
1. first make a blank .vbs file in notepad
2. then make application in that situation where u want to handle recovery
3. then go to recovery scenario manager
4. lets say it is pop up,then choose pop up trigger
5. choose that pop up with hand in recovery
6. then choose recovery operation as function call
7. choose that function library which u have created as .vbs in 1 point
8. u see there will be a function syntax will be displayed
9. thats is no need to add more recovery operation to it, and this recovery with ur test.
10. then go to ur test , open function library u will see,only syntax as function name ,,,,,,,,,,,,,,, end function
11. now record that operation which you want to be handled by function
12. put that script in function,save all
13. run ur test.
hope this will help u
try out, any prob,let me know plz