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

when i add the items to the repositry, the item is loading is "winmenu", but wn i write the script the tool is not able to recognise the item, i know that we need to define the mandatory or assitive properties here, but i am confused wt i need to difine here and on wt basis i need to select the properties and define it, can any one help me out on this.

0 Answers  


Where are the snapshots stored?

2 Answers  


What is the significance of “action 0” in qtp?

0 Answers  


How to retrieve the property of an object?

1 Answers  


Explain data driven framework?

0 Answers  






Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris

0 Answers  


what is virtual object?

2 Answers  


How to swap two numbers by using parameter passing method byref in a fucntion and return the result to outside of the function?

1 Answers   CTS, IBM, London,


whaht is the difference between CLASS & OBJECT?

3 Answers   Accenture,


Hi friends, In a particular test how many maximum call to new actions we can call?It reusable or normal actions what ever it is .

1 Answers   AppLabs,


Ex : some mail name with surname Email id's there that is string fetch the particular surname only how to get particular surname all emails

1 Answers   Infosys,


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

1 Answers  


Categories