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 are the difference ways of parameterising?
How to Set the Global Sync Timeouts in QTP?
Where we can use the synchronization?
Anybody wants to learn QTP with realtime implementations and complete framework desiging plz contact to this mail id ciraaj@gmail.com
How many test scripts are prapare in ur project(HeathCare Insurance).
how to merge object repositories?
How to use debug tools?
What is difference b/w AOM,DOM,COM Have u ever is used ny of the models.If so why?
In our application (Web based application)we will get a pdf file and we have check a particular text in that pdf. Can any one tell how to check text in a pdf file. In the same pdf file it generating some links and I have to click that links. QTP unable recognizing that links, even id did record and playback qtp does not generating any script. Can any one help me….?
hi radhaka plz tell me clearly to handle the earrors with out isng recovery scnerio this is sreenivas from delhi
How does QTP identifies the object in the application
How to handle "Java Runtime error" popup window in the web application ? Sometimes the application throws the error repeatedly... Is there any browser setting available to disable the error ?