How to handle the exceptions using recovery scenario
manager In QTP?

Answer Posted / mano

This is correct one . For Example how to use

Dim qtApp

Set qtApp = CreateObject("QuickTest.Application")

qtApp.Test.Settings.Recovery.Enabled = True

qtApp.Test.Settings.Recovery.SetActivationMode "OnError"

qtApp.Test.Settings.Recovery.Add "C:\qtp\recovery.qrs",
"Recovery", 1

qtApp.Test.Settings.Recovery.Item(1).Enabled = True
‘Above statement will enable recovery file for specific test.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com

1645


Explain the benefits of quick test pro(qtp)?

765


How to execute a winrunner script in quicktest professional (qtp)?

705


Mention what are the different types of recording modes in qtp? Which will be used when?

779


how to do the batch testing in test director using manual testing procedure?

2017


How will you compare keyword and expert view?

734


Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?

1746


Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.

1761


What is the diff between image and bitmap check point?

773


What is action?

781


Can any suggest me what is exposure testing?

1562


Hi , I am facing issue QTP 10.0 with oracle ERP 11i .When QTP opens,click sub links on ERP ,FORM is not opening getting unexpected Internet explorer error message with send or don't send report.So unable to work with forms using QTP.

3628


Name the properties you would use for identifying a browser and page when using descriptive programming?

754


how to evalute defects in QTP script?

1712


What is quicktest professional (qtp window?

796