how can we handle exceptional handling in qtp
Answer Posted / denis parker
Scripting related exceptions can be handled in two ways:
1. On Error Resume Next - To Suppress error and proceed the script execution
2. On Error GoTo 0 - To express (or prompt) the error and proceed or stop the script execution based on user selections in the error prompting message box.
Generic Application (outside the scripting)related exceptions can be handled in more ways (but listed here 3 ways):
1. Recovery Scenario
2. Conditional Statements
3. Using "Exist" method
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in
What are the benefits of quick test pro(qtp)?
Explain sub procedure of vbscript.
how can i pass a "cript"as a parameter in to a function
Get the count of files of similar types from a folder.
Hi Sudhananda, plz send me the QTP framework with any diagram and PPTS . I want to switch to automatio, I done QTP from professional person, but he does not give me his knowledge properly. so pls help me Thaks send me on following address mirajkar.akash@gmail.com
Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!
How does qtp identify objects in the application?
How many ways is to parameterize the value?
how to post xml data from QTP scripts to any application?
What are the types of object repository?
What is a Patch in QTP?
How to find the path of folder in which the test is saved in qtp?
What is the virtual object?
Explain different type of event trigger option.