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



I have a 10 lines of qtp script, while executing i got an error at line 7 but i dont want to stop t..

Answer / justin brus

Use 'On error Resume Next' statement at the beginning of
the script

Is This Answer Correct ?    36 Yes 1 No

I have a 10 lines of qtp script, while executing i got an error at line 7 but i dont want to stop t..

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

I have a 10 lines of qtp script, while executing i got an error at line 7 but i dont want to stop t..

Answer / krish

Thanx Justin

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

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...

1 Answers   FSS,


what is TOM in qtp?

5 Answers   Accenture,


Can we call a parameter from an action to other action?

4 Answers  


How to add a standard checkpoint in your test ?

1 Answers  


explain structured testing? plz guys with exp. do answer

0 Answers  






Anybody explain me, the concept of checkpoint declaration in the QTP mainly for the Objects, Pages, Text and Tables ?

1 Answers  


On what basis we select test cases to automate?

0 Answers  


What is the difference between client server application and web based application?

3 Answers   IBM,


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.

4 Answers  


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

3 Answers   IIT,


How do you open adobe acrobat file in QTP and do some testing on that file ?

0 Answers  


Categories