03-30-2009, 09:39 PM
I have defined a function "DoesServerReportedErrors" that accepts a "frame" parameter.
I am passing a frame as below:
While running the test, I am getting an error at this Set statement; Error says:
General run error.
Line (2): "Set frame= Browser("Browser").Page("Page").Frame("Frame")".
Does anyone see what is happening?
Thanks
I am passing a frame as below:
Code:
Set frame= Browser("Browser").Page("Page").Frame("Frame")
isErrorReported=DoesServerReportedErrors(frame)
If isErrorReported="Y" Then
Reporter.ReportEvent micFail, TestActionName(), "Could not perform..."
ExitActionIteration("N")
Else
ExitActionIteration("Y")
End If
While running the test, I am getting an error at this Set statement; Error says:
General run error.
Line (2): "Set frame= Browser("Browser").Page("Page").Frame("Frame")".
Does anyone see what is happening?
Thanks