How to handle Run-time errors?

Answer Posted / ramyab.mca@gmail.com

Hai....

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


K,Byeeee.....
Thanks & Regards
B.Ramyasri

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you synchronization point through DP?

603


Did the scripts need lot of maintenance? If yes, why?

3301


How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?

1283


How to run a test using quicktest professional (qtp)?

544


How to use Environment parameterization? Explain with an example.

1481






Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....

1430


Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.

2894


Discuss the QTP Environment?

631


How many ways is to parameterize the value?

619


1.explain end to end process of qc,2.how many tabs are in qc9.0,qc10.0 3.what is review, how many reviews are following in aproject 4.how will you get the requirements 5.why do we choose testing 6.how to export tc's and requirements to qc through add-ins

1437


Explain how you can delete excel file in qtp?

593


How to handle dynamic objects in quicktest professional (qtp)?

547


hi Friends ,willany body tell me what is the Scope for the automation Testing inht Future is their Or not And what is the Top Most Level in the testing section according the Pay scale

1511


write a script to verify the image path(src property) of the images which are in web pages.

1810


how can we compare descriptive programing with a regular expression

1925