Sign in to follow this  
Followers 0
LubeLee

UDF - IE.au3 - Catch problems with IE

5 posts in this topic

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"

Share this post


Link to post
Share on other sites



If StatusbarGetText("Internet Explorer") = "Done but with errors on page." Then
; do something
EndIf

Share this post


Link to post
Share on other sites

If StatusbarGetText("Internet Explorer") = "Done but with errors on page." Then
; do something
EndIf
What about other situations, bro?

Share this post


Link to post
Share on other sites

#4 ·  Posted (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 by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

EDIT: have you looked at these two ????

_IEErrorHandlerRegister

_IEErrorNotify

8)

Thanks, an MVP pro

I had a quick glance at them (_IEErrorHandlerRegister, _IEErrorNotify)

I will do it in more depth for now. Thanks

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0