08-01-2012, 07:29 PM
Hey i too work on SAP and QTP.
Whenever i see object error, i do a check with err number. Something like
Plz check and let me know if this works for u.
Regards,
Ankesh
My Blog - SAP & QTP
Whenever i see object error, i do a check with err number. Something like
Code:
On Error REsume NExt
//Some operation on object which throws error
If Err.Number<>0 Then
REporter.reportevent, micFail,"Error","Error description is :"&Err.Description
//exit the test iteration
End IF
Plz check and let me know if this works for u.
Regards,
Ankesh
My Blog - SAP & QTP