I have a 10 lines of qtp script, while executing i got an
error at line 7 but i dont want to stop the execution i want
to continue the execution up to last line and display the
test result window, wts the syntax we use?
Answer Posted / chinmayee
There are 3 ways to handle unhandled exception
1)File -settings run-run settings tab
2)recovery scenarios which can be done with ettings or programtically using recovery object
Resources
recovery scenario manager
scenario
add recovery scenario from function library or else add function defination to library
for trigger events 1)object state error
2)pop up window
3)application creash
4)tset run error
3) Vb script error handlers like on error resume next
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What environment does qtp run in?
What are the trigger events in qtp?
How many types of run modes are there in qtp?
How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?
What is difference between design time and run time data table?
What is output value? How many types of output values are there in qtp?
What is method name to compare two XML files.
What are the types of object repository in qtp?
How to creating an output value using quicktest professional (qtp)?
Should have experience in framework means?
How would you directly trigger javascript in a test?
What is the difference in the global and action sheet in qtp?
What are advantages of test automation?
How to find the difference between 2 dates in qtp?
Explain the types of object repository?