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 |
What is action split and the purpose of using this in qtp?
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
WHICH PROCESS U FOLLOW IN COMPANY
What is the descriptive programming?
What is the significance of “action 0” in qtp?
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
Describe the process for writing text check point for a web application?
how to know no.of mails in our g mail by using vb-script
what is Compile Module in QTP? what exactly it contains Functions or Actions?
In how many ways we can add check points to an application using QTP.
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,