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
In what occasion we can specify global sheet and action sheet?
How do you know the location Id of an object if you know its index id?
how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)
How many types of recording facility are available in quicktest professional?
Is the qtp course will help to create a virtual object?
What is recovery scenario in qtp?
How to attach a file to TD?
any body can you help me what is the script to automate an comand promt
What is debugging? How you debug your script?
What will be happen if i load object repository at run time, but it has already associated.
Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?
If created one virtual object? Next time I changed the window position will it work?
Is text area check point supports for web applications?
please post the interview questions for QA position in FACTSET
Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.