Hi,

How can I get error description of all the errors that occurred in the 
script?  The code written below has two errors, however only the 
description of the last error is available at the end.


Thanks


On Error Resume Next

   Some Code   (this fails)
   Some Code
   Some Code    (this fails)



if Err.Number <> 0 Then
 
       msgbox Err.Description
      msgbox Err.Number
  
      Err.Clear
      On Error GoTo 0

End If


-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to