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 |
Excepton Handling?
What is the difference between QTP 8.2 and QTP 9.2 ?
Through array we can execute the testcase how ? give me example
Hi All, I need code for how to execute qtp scripts from excell sheet
I have 3 add buttons of same properties in my page but i want trigger one of them i required in my recovery scnario manager is qtp recognizes it to recovre d scnario if so how qtp recognizes it
Analyzing the Checkpoint results ?
Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly
How to handle Java tree in QTP?
Can any body please tell me the steps of keyword driven framework of QTP.
what is the difference between data driver & data driven and driver script?
can we run the scripts of qtp 8.2 in the qtp7.0?
What is difference between the For..Next and While..Wend statements?