Can anyone help me with some BASIC syntax? What's wrong with this? the function should navigate to a URL and print whether the page loaded or not.
if Window("window.cims.main").WaitforExists(30000) Then
Println("Can't load page.")
Also, once I get this working, what scope is it defined for? If I define it in a script, and then run a subscript within that script, is the function still defined?
Thanks for your help!
1) A space is needed between 'end' and 'if' in 'endif'
2) The window you intend to navigate away from has the same name as the window you are waiting for? Check that this is true.
Otherwise, the code looks good!
Software Support Engineer
Seapine Software, Inc.