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

How does qtp identify the object in the application?

531


Can you write a script to check if the folder exists or not?

513


Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)

1451


Write a QTP script to enter a keyword in to Google search engine?

649


What is data driver in qtp?

571






How you are developing the script? Using record and play back or manual?

629


what is keyword driven testing in qtp?n how is it useful?

1487


How do you convert manual test cases to automated test cases?

574


Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks

1412


i need qtp tutorial. pls send it to sridhar.k151@g mail.com

1633


Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?

1226


What is the use of Debug Viewer?

1484


What is a data driven test in qtp?

576


How can we conduct U-I Testing by using QTP??????

1422


Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.

3005