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 |
can anyone answer this question ........in the DICTIONARY OBJECT....i created the dictionary object in reserved object ok....here i have some sets of values ...now i want to retrieve the item i done too ok.......here my question is now i saved the test and close the qtp tool ,again i opened now i retrieve the same item in the dictionary is it possible ????. friends when i try to do this i am getting empty message box i mean no value will be retrieved ......ans me any one plz...
what is TOM in qtp?
Can we call a parameter from an action to other action?
How to add a standard checkpoint in your test ?
explain structured testing? plz guys with exp. do answer
Anybody explain me, the concept of checkpoint declaration in the QTP mainly for the Objects, Pages, Text and Tables ?
On what basis we select test cases to automate?
What is the difference between client server application and web based application?
How to create frame work for qtp?
1 Answers Bank Of America, Polaris,
In how many ways we can add check points to an application using QTP.
What will be the output of the statements below? On error Resume Next Sum 100/0 if Sum= 0 Then msgbox "Pass" else msgbox "Fail" End If
How do you open adobe acrobat file in QTP and do some testing on that file ?