How to handle the exceptions using recovery scenario
manager In QTP?
Answers were Sorted based on User's Feedback
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 |
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 |
any one can send me the concepts of qtp
Can anybody give the script to addsheet, add column,add values under that column in the rows??
what is output parameters in qtp?explain? 2)
How can the name of a checkpoint be changed in Qtp
What are the types of Object Repository’s in QTP?
HOW CAN QTP AND TEST DIRECTOR CONNECTED TO THE DATABASE AND WHAT R THE OPTIONS?
Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.
I have a list box which contains duplicate values e.g. A,A,A,B,B,B,C,C,C.Now write a code in qtp to test the list box . Scenario #1 : I have to check whether any values are there? Scenario #2 : If duplicate values are there,then how many time it is getting duplicated? Svenario #3 : how can I test presence of items in list box ommiting duplicate values?
How to parameterize in QTP?
how to create the varibles and how these are connect to qtp? plz tell me
Hi This is tanya actually im facing problem in Qtp actully some time QTP doesnot recoznise the recorded object due to which script is going to fail.so can you tell me how we can handle this situation and i have another concerened issue is that at the time of run New errors comes every time so how we can handle this sitauation how we can add Recovery scenarios to the script.some time application runs successfully and some time it produces new error thats why i am facing lot of problem please give me the sugeestion as soon as possible.
if mandatory and Assitive propertys are shows same how will u write skript in QTP window