QuickTest Professional™ - An Automation Tool by Mercury - Questions and Answers

Friday, January 02, 2009

QTP Question 33: How to handle Run-time errors?

On Error Resume Next: causes execution to continue with the statement immediately following the statement that caused the run-time error, or with the statement immediately following the most recent call out of the procedure containing the On Error Resume Next statement. This allows execution to continue despite a run-time error.

You can then build the error-handling routine inline within the procedure.
Using “Err” object msgbox “Error no: ” & ” ” & Err.Number & ” ” & Err.description & ” ” & Err.Source & Err.HelpContext.

0 Comments:

Post a Comment

<< Home


Index of QTP Questions

  • QTP Question 01: What is QTPro? What is Quick Test Pro? What is Quick Test Professional?
  • QTP Question 02: What's New in QuickTest Professional 8.2?
  • QTP Question 03: Explain QTP Testing process?
  • QTP Question 04: How Does Run time data (Parameterization) is handled in QTP?
  • QTP Question 05: What is keyword view and Expert view in QTP?
  • QTP Question 06: Explain about the Test Fusion Report of QTP?
  • QTP Question 07: To which environments does QTP supports?
  • QTP Question 08: What is QTP or Quick Test Pro?
  • QTP Question 09: Explain the QTP Tool interface
  • QTP Question 10: How QTP recognizes Objects in AUT?
  • QTP Question 11: What are the types of Object Repositorys in QTP?
  • QTP Question 12: Explain the check points in QTP?
  • QTP Question 13: In how many ways we can add check points to an application using QTP?
  • QTP Question 14: How does QTP identifies the object in the application?
  • QTP Question 15: If an application name is changes frequently i.e while recording it has name, in this case how does QTP handles?
  •