Hello
I'm trying to automate an web application that is build with frames and a lot of javascipt,
the first page is a login page with 2 input box (username and password) and a login button
no problems to automate input of credentials and click button on this page
AutoIt
#include <ie.au3> $uname="MyUsername" $pwd="MyPassword" ; and following statements give error ; Sleep ( 10000 ) ; if I force waiting, the script give no error ; because the new page has time to load itself .... etc ....
but after clicking the button, the second page that is displayed, is loaded by some javascript function (i guess something like top.location.replace("login.do")
the problem (in line 30) is that i am not able to wait till the new page is loaded, and so the script goes on while the new page is not ready, causing errors.
i tryed to use the _IELoadWait($oIE) function but with no success, maybe it is not the right function in this context.
I would need some suggestions
thank you