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

How we can call the scripit from another scripit in QTP?,Not a call Action

12 Answers  


hi, i am trying to capture "web element" names in a web page, and i written the code like this,, with Browser("title:=") with .page("") .webelement("htmltag:=...").getroproperty("innertext") end with end with //////////////////////////////////////////////////////////////////////////////////// QTP RETURN ERROR like this: " object's description matches more than one of the objects currently displayed in your application. Add additional properties to the object description in order to uniquely identify the object" ok fine , i need to search another property other than "index" i use all the properties like class,text,innerhtml,innertext,visible=true,x , y,abs x ,abs y...but qtp returns error ..... in this webpage index is difficult to find? how to solve

1 Answers   IBM,


Hello, I am learning QTP. I have recorded test for Login page, i have also inserted checkpoint for Email field & when I run test it passed. But when i tried to run test by inserting 'Adding Parameter Values to a Data Table' for email & password field, it pass the first value in both the fields but after that when test run for second parameter values it displays 'Internet Explorer cannot open the Internet site, Operation aborted' & when i analyze test result it displays run time error 'Object disable'. I have also cleared all the history from IE but it is not working. Please help me. Thank you.

2 Answers  


Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT

0 Answers   Cognizant,


i have data in excel sheet.i imported the data in data table.while doing parameterization,how the code knows it is a valid or invalid data?

2 Answers   Fiserv,






Does QTP run in any environment?

0 Answers  


hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.

0 Answers  


In my QTP script I have a word in notepad that ends in a question mark, for example... "father?" As part of my script I want to delete the question mark. How do you delete a character in notepad?

4 Answers  


Write the Test Cases for ATM(Any Time Money)

3 Answers   SpaceLabs,


Hi guys, can anyone explain me whats the method for reporting the QTP test results to teamlead or non-QA member (developer/PM)? Thanks in Advance!!!!!

2 Answers  


What r steps to migrate from Manual testing to QTP?(IN BOTH WEB BASED AND WINDOWS APP)

1 Answers   Wipro,


what is synchronization point, synchronization method, wait property method? with examples.. plz explain this in brief

3 Answers  


Categories