Series: Subject: Topic:
Question: 382 of 1523

What is "on error resume next" in QTP? Explain with an example.

Asked by: Interview Candidate | Asked on: Oct 9th, 2007
Showing Answers 1 - 2 of 2 Answers

Answered On : Oct 15th, 2007

This is used for handling Run time errors. If you use this statement in the script then it will close any kind of run error dialogs while running the script.

Login to rate this answer.

Answered On : May 21st, 2009

View all answers by rajeev2186

On Error Resume Next is used when you are sure about the step at which error
occurs in QTP. Based on that you can use an if statement to close that error
For Eg.
if error.exist then
Whereas recovery scenarios will only come in picture when the error are
unpredictable or uncertain.

Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions



twitter fb Linkedin GPlus RSS


Interview Question

 Ask Interview Question?


Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.