| || |
VBScript error handling - on which line is error?
I used to have On Error Resume Next statement in all functions in my function library and which worked well so far. however since I am auto-emailing my test results, expectation is that, if error occurs , details of error including the line number in which the error occurred, name of the function library file etc should be included in email text.
I could use Err.Clear & Err.Raise to send all the details other than line number. How can I find out line number?
Also please let me know if you are using different approach to error handling.
Thanks a lot.
Re: VBScript error handling - on which line is err
You can't find the error line #. One limitation of VBScript or QTP. You need to write debugging information in your functions to some place