How to handle the exceptions using recovery scenario
manager In QTP?
Answer Posted / 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 |
Post New Answer View All Answers
How can I change object description or check point values in qtp?
How to execute a winrunner script in quicktest professional (qtp)?
When and why to use descriptive programming?
Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("» County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma
What is the use of sendkeys and what are send keys
What is Curd testing?
Explain the concept of object repository and how qtp recognises objects?
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
what is the diff between manual test plan document and automation test plan doc.can u explain indetail.
Can we write winrunner language i.e TSL in QTP tool?
How to use debug tools?
What are the features of quick test pro(qtp)?
What are the various types of Actions in UFT?
Explain different types of action in qtp?
Explain sub procedure of vbscript.