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 |
How to analyzing Test Results using QTP?
i'm using QTP 8.2, How should i select(browse) object repository from desktop(or from local local drives like C:\,D:\)?. Note:- object repository to select(browse) is been sent by some other person who is using QTP 9.0
Is QTP supports Unix. If yes, then how the test automation is done?
What are the advantages of QTP over WinRunner?
How to get the particular property value?
str="QTP AUTOMATION TESTING" here how many T are there in the str finally i want to display the T
Tell me the difference between QTP9.2, QTP9.5 and QTP10.0
What is an expert view and keyword view?
What is the difference between functions and actions in QTP?
How can i open a file in Textpad and replace a string with another using QTP
What are the types of Object Repositories in QTP?
Is there is any method how to connect remote desk throw QTP if yes please answer with a example?