Answer Posted / mogal
Exception Handling is done in QTP by using
1.Recovery scenorios(Resources-->Recovery scenario Manager-->)
a.Triggered Event
b.Recovery operation
c.post recovery operation
2.synchronization methods(wait,wait property,exists like methods etc)
3. conditional statements( if,for,while etc)
4. on error resume next and on error goto 0.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
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
How you can replace string in qtp?
What Folder Structure following in Keyword Driven Frame work?
after click on compose mail how can we attached a file in qtp with vbscript code
Is any limitation to xml checkpoints?
QTP script is not working on other's machine..
How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?
How to find Operating system information using QTP script?
Tell some commonly used Excel VBA functions?
What is quicktest professional (qtp)?
What are the general steps involved in the data driven framework?
I am having major problems with some DB Table Checkpoints I add to my script. I 35 web based applications recorded and each has DB Table Checkpoints insert but only 1 script isn't recognizing the DB Table Checkpoints for some reason. I've checked the DB connections and the info in the Library Functions and still only this one script out of 35 doesn't recognize the DB Table Checkpoints. Can someone please help me figure out why only this one script out of 35 that's hitting the same database is having a problem.
Where is the Bitmap checkpoint information stored?
In order to select an automation tool for automating ur application, what r the things u need to consider? For eg i will go for automation; 1) When there is a lot of retesting and regression testing. 2) Return on investments. 3) Whether the tool supports the appln. 4)--------------, etc. Pls give me more number of points because my answer did not satisfy the interviewer. Very urgent pls
Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........