10-04-2009, 10:48 AM
General Run Error's are a pain in the neck. You never know why they pop up but as they state general they dont come with a explanation. Well here is my question,
1. Which version of QTP & IE do you use ?
Secondly, if you are familiar with "On Error resume Next" you can use this to capture the error number and then lookup on google to find the reason.
For Eg :
Let me know if this helps you.
1. Which version of QTP & IE do you use ?
Secondly, if you are familiar with "On Error resume Next" you can use this to capture the error number and then lookup on google to find the reason.
For Eg :
Code:
' At the start of your code write this,
On Error Resume Next
' your code block here...
...
...
Browser("BrowserName").Back
msgbox Err.Number
If Err.Number <> 0 Then
msgbox Err.Description
End If
Let me know if this helps you.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.