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
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 |
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 |
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
Reverse a string keeping the words in the string as it is. E.G. "Quick Test Professional" O/P "Professional Test Quick"
what is the use of VIRTUAL OBJECTS? explain ?
How you automate testscripts one by one or moduelwise or all at once
Give me Example for Generic Functions in QTP Framework....Anybody please answer me..Thanks in Advance
how to explain a claims and insurance project?
what is the criteria for choosing test cases for automation? Ex: if you have some 300 test cases, then how many you choose for automation. what is criteria of selecting?
3 Answers Aricent, Delhi University, TCS,
Which object repository we use in real time and can we merge 2 object repostiory and how?
is we can import the object repository from external source. if it so then how?
Write a script to print below pattern 5 4 3 2 1 5 4 3 2 5 4 3 5 4 5
why we are using environment variables instead of global variables?
what is the difference between image and bitmap check point