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?
Answers were Sorted based on User's Feedback
Answer / justin brus
Use 'On error Resume Next' statement at the beginning of
the script
| Is This Answer Correct ? | 36 Yes | 1 No |
Answer / 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 |
what is action in QTP?
How to capture screenshots of Exceptions/Errors during run- time?
Can I change properties of a test object?
how to test a java project throughqtp?while testing a vb project we generally do vb scripting. but while testing java project do we use java script .plz some one can send me the manual for it my email roy_samata@yahoo.com thanks in advance
desribe a situation where u faced a stressful situation and how did u cope with it
How to check the URL using Automation tool QTP
How to test whether the navigation i.e. from one page to another is working r not using QTP for web based application. plz explain in detailed or mail the sample code to malepatin@gmail.com
Analyzing the Checkpoint results ?
How many ways we can parameterize data in QTP?
1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP
what is difference between application testing and product testing?
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.