04-27-2011, 10:13 PM
Thx everyone for putting up with me.
My code is such:
I went to Tools-> Options -> Folders and my Libary is in the topl level folder.
I went to File -> Settings -> Resources and the Associated function libaries is set to LibaryCTE.qfl (Resources -> AssocFuncLib - shows the same)
On Run, I get:
The test run cannot continue due to a syntax error.
Syntax error
Line (3):
My Function Libary has:
My code is such:
Code:
'CTE Testing
Call Function CloseAllOpenWindows ()
Call Function LaunchCTEBrowser ()
Call Function LoginImageAccessCTE ()
Call Function ActivityReportByReportI ()
Call Function LogoutCTE ()
I went to Tools-> Options -> Folders and my Libary is in the topl level folder.
I went to File -> Settings -> Resources and the Associated function libaries is set to LibaryCTE.qfl (Resources -> AssocFuncLib - shows the same)
On Run, I get:
The test run cannot continue due to a syntax error.
Syntax error
Line (3):
Code:
"Call Function CloseAllOpenWindows ()".
My Function Libary has:
Code:
Public Function CloseAllOpenWindows ()
'CLOSE ALL OPEN WINDOWS
Set oBrowser=Description.Create()
oBrowser("micclass").Value="Browser"
Set obj=Desktop.ChildObjects(oBrowser)
For i=0 to obj.Count-1
obj(i).Close
Next
End Function