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

What is action split and the purpose of using this in qtp?

1 Answers  


write the regular expression for date format of mm/dd/yy?

10 Answers   CTS, HCL,


write script for how to add function library in QTP

2 Answers   Aspire,


WHICH PROCESS U FOLLOW IN COMPANY

1 Answers   IGT,


What is the descriptive programming?

1 Answers  


What is the significance of “action 0” in qtp?

1 Answers  


Hi, I am trying to automate the web application for generating Reports.I am facing issue with IE while running the script. After 4 report IE crashes.I am using QTP 9.5 with IE version 7. Can anubody give me solution for this issue. Thanks in advance-Jyotsna

0 Answers  


Describe the process for writing text check point for a web application?

2 Answers   ssinformatics,


how to know no.of mails in our g mail by using vb-script

1 Answers   HP, Thinking Hats,


what is Compile Module in QTP? what exactly it contains Functions or Actions?

1 Answers  


In how many ways we can add check points to an application using QTP.

4 Answers  


When we use 'ERR' object to handle the exceptions in the script, do we need to include any statement in the beginning of the script..??

2 Answers   DST Global Solutions,


Categories