Please any on explain usage of "on error resume next","On
error goto 0" with sample code....Thankyou.........
when a tester is asked to execute 100 scripts in a short
time..(the server will be down in another 10 min)..how he
has to run those scripts?

Answers were Sorted based on User's Feedback



Please any on explain usage of "on error resume next","On error goto 0" with sa..

Answer / ganesh kumar

"on error resume next" is to resume the QTP to the next
line,next action when an error occurs while executing the
Test Script

Is This Answer Correct ?    4 Yes 2 No

Please any on explain usage of "on error resume next","On error goto 0" with sa..

Answer / aiswaryan

On error resume next - If any error occured in the function
then qtp will skip that error and start from the line next
to that and report the error in the result.
On error go to 100 - goto 100th line.
If the scripts are independent to each other, then you can
execute the scripts even if it stops in 10th script, in
later you can continue testing with that.

Is This Answer Correct ?    3 Yes 4 No

Post New Answer

More QTP Interview Questions

hai, i am doing QTP by own. So, i am confident in checkpts,synchronization, data driven test, recovery scenarioe manager etc. but actually i don't know how all these we wil implement while we r writting code manually. when we r doing practice, while recording code is automatically generated but in real time i heard that we have to write the script.But i don't know how it is? How to write descriptive prog.? plz. tel me what r the basic things we have to know? explain how to write descriptive prog.? explain me with an example pls.......

2 Answers   Vertex,


What is the default object synchronization timeout in qtp?

0 Answers  


Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations

0 Answers   TCS,


I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me

0 Answers  


what skills needed to be good test automation?

3 Answers  






What is diff between SDLC AND STLC?

1 Answers   Nokia,


What is TOM in QTP?

0 Answers  


Tell me the QTP Advantages and Disadvatages ?

1 Answers  


suppose im having a string wipro123xyz i need to get the value 123 only from the string today 123 will be in the middle from tommorow it will be changing to front or back how to get the no if it changes continously?

2 Answers   Wipro,


How can we disable smart identification at the time of recording? Ideally, smart identification should be enabled only at the run-time.

3 Answers  


Hi im new in Testing..can any one plz re-write this code SystemUtil.Run "C:\Program Files\Mozilla Firefox\firefox.exe","","C:\Program Files\Mozilla Firefox","open" ----using for loop(for i=0;i<=10;i++ )

2 Answers  


Define object spy ?

0 Answers  


Categories