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

What is DOM

2 Answers  


How to call script1 into script2?

3 Answers  


Differentiate the type of test cases which can be automated and which cannot be automated?

0 Answers  


hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me

0 Answers  


can i automate java web application using qtp web addin only not using java addin

1 Answers   Infosys,


In order to select an automation tool for automating ur application, what r the things u need to consider? For eg i will go for automation; 1) When there is a lot of retesting and regression testing. 2) Return on investments. 3) Whether the tool supports the appln. 4)--------------, etc. Pls give me more number of points because my answer did not satisfy the interviewer. Very urgent pls

0 Answers  


What is API

1 Answers  


How do know the number of browsers opened?

0 Answers  


difference between waitProperty & Checkproperty

4 Answers   AON,


Which Databases supports for QTP?

3 Answers   CTS,


Give me Example for Generic Functions in QTP Framework....Anybody please answer me..Thanks in Advance

3 Answers   BirlaSoft,


How to test results for qtp ?

0 Answers  


Categories