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

QTP in mumbai

0 Answers  


How do we edit the script in QTP. Anybody can explain in detail..Thanks in advacne...

3 Answers   IBM,


whai is meant by automation testing?

6 Answers  


How many add-ins comes by default with quicktest professional?

0 Answers  


Waht is User interface and Integration Testing?

1 Answers  


What is the entry criteria and exit criteria for your test automation

2 Answers   HP, Virtusa,


How to return a value from a fn, if it has more than one value how to return

3 Answers   Verizon,


need clear explanation of actions and functions in qtp with examples?can anyone suggest me gud site for that other than qtp manual?

2 Answers  


How to connect to data base?

2 Answers  


what is defenetion of kiran can u tell me plz CVS, SVN

0 Answers  


i have 100 manual test cases, how to automate from no 1. ols detail steps

1 Answers  


WHAT IS ENVIRONMENT VARIABLES?

6 Answers   Ordain Solutions,


Categories