how can we handle exceptional handling in qtp

Answer Posted / raveendran

You can handle expeption in your script using If..Then
statement, or you can use .Exist statement, If any know
error message which you fell it occur, you can use
this .exist stmt to close that window.

You can use recovery scenario (.qrs file) record your
recover scenario and makesure that you are loaded that .qrs
filr into your QTP window whenever you run the test, if any
problem occur during run, it use that recovery scenario to
recover from failure.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

diff between qtp versions from 8.5

1748


Thanks....But can u tell me how i use the QTP for GIS with one Example...

1669


when u script reveiwing in which area u more concentrates?

1657


How to open a new test using quicktest professional?

786


How to change the priorities of the recovery scenario properties?

846


An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))

1832


Hi All, I need code for how to execute qtp scripts from excell sheet

1677


can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?

1822


Explain the concept of how quicktest professional identifies object?

757


If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?

1974


Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji

1162


How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?

3713


What are the disadvantages of recording test cases in qtp?

817


what is the difference between the modular framework and datadriven frame work

2154


How do you perform Regreession Testing?

1724