How the exception handling can be done using QTP

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


Please Help Members By Posting Answers For Below Questions

I want two test two agents login for the flight website. Here is the scenario: I want to go through 1-3 rows for one user login and other user login I want to go though 3-5 rows. How would you set this up in qtp. Thank You

1518


How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet

1536


i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer

3491


What is use of object spy?

608


Explain how you can delete excel file in qtp?

583






How can you close the second opened browser?

798


explain keyword driven framework with banking domain?

1557


"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...

1439


Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT

2051


Explain features of the latest version of qtp/ uft 12.1?

597


For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?

612


when will you do debug your script? and explain that process?

1449


When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti

2487


How to release all resources file from the QTP?

1049


Explain the concept of object repository?

524