On error resume next

Browser("XYZ").Page("ABC").WebEdit("Location").Set "12"
Browser("XYZ").Page("ABC").WebEdit("Name").Set "MNP"

If (err.number >0) Then
        msgbox ("There is an error")
        else
        msgbox ("There is no error")
End If
-----------

The above code always displays  msgbox ("There is no error"), despite
there is an error on the page.

Need assistance regarding that.
Regards
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to