LubeLee Posted January 21, 2009 Share Posted January 21, 2009 I am doing automation with IE by IE.au3 I do many HTTP requests by _IENavigate OR _IEClick Sometimes page load is not fully complete OR interrupted OR loaded with message in IE status bar like "Done but with errors on page." Please guide me to detect these situations Thanks, "bros" Link to comment Share on other sites More sharing options...
Pain Posted January 21, 2009 Share Posted January 21, 2009 If StatusbarGetText("Internet Explorer") = "Done but with errors on page." Then ; do something EndIf Link to comment Share on other sites More sharing options...
LubeLee Posted January 21, 2009 Author Share Posted January 21, 2009 If StatusbarGetText("Internet Explorer") = "Done but with errors on page." Then ; do something EndIf What about other situations, bro? Link to comment Share on other sites More sharing options...
Valuater Posted January 21, 2009 Share Posted January 21, 2009 (edited) What about other situations, bro? Maybe... Just add them in $Info = StatusbarGetText("Internet Explorer") If StringInStr($Info, "error") Or StringInStr($Info, "cannot") Or StringInStr($Info, "error") Then ; do something EndIf EDIT: have you looked at these two ???? _IEErrorHandlerRegister _IEErrorNotify 8) Edited January 21, 2009 by Valuater Link to comment Share on other sites More sharing options...
LubeLee Posted January 22, 2009 Author Share Posted January 22, 2009 EDIT: have you looked at these two ????_IEErrorHandlerRegister_IEErrorNotify8)Thanks, an MVP proI had a quick glance at them (_IEErrorHandlerRegister, _IEErrorNotify)I will do it in more depth for now. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now