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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / karthick kumar k.j

Their are Four trigger Events in the should be
activated.They are

1.A Pop up Window Appears in an Opened Application during
the Test Run.

2.A Property Of an Object Changes its State or Value

3.A step in the test does not run successfully.

4.An Open Application fails during the test run.

These Triggers are Considered as Exception. You can
instruct QTP to recover unexpected events or errors that
occur in your testing environment during the test run.It
Provides a wizard that guides you through defining recovery
scenario. Recovery Scenario has three steps they are

1.triggered Events

2.Recovery Steps

3.Post Recovery Test Run

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More QTP Interview Questions

Explain me in deatail about DATADRIVEN framework including scripts ?(realtimes plz)(Chandana)

4 Answers   Wipro,


How does u create new test sets in TD?

1 Answers   Crea,


How many ways we can parameterize data in quicktest professional?

0 Answers  


1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.

0 Answers  


In what situations QTP will not recognize the Objects?

6 Answers   Wipro,






hi testers,one script has three actions , at the of running three actions are running , how to set run only perticular action and what is the use of split the action? when it will be useful?

3 Answers   Syntel,


How do u connect database through QTP tell me both Ms Access and SQL

2 Answers   Livetek,


How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?

0 Answers  


What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?

0 Answers  


What are the Test design techniques you uses in ur project?

0 Answers   Accenture,


what do u mean by test harnesses in qtp?

1 Answers   Verizon,


how you will do cookie testing using QTP?

2 Answers  


Categories