David422 Posted June 6, 2009 Share Posted June 6, 2009 I have a script that navigates some pages on IE, and it runs perfectly until IE crashes, then obviously is sitting IELoadWaiting I presume, halted until IExplorer is restarted. If I use the _IEBodyReadText command to search for the "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." text, and send a mouse click to the "do not send" button, will this effectively close the error box and allow the program to restart? Or when IExplorer crashes like this will it prevent me from searching for the text of the error message/is the crash dialogue window even body text? Is there a timeout command that would help with this situation? Any help or advice would be greatly appreciated! Link to comment Share on other sites More sharing options...
oMBRa Posted June 6, 2009 Share Posted June 6, 2009 why dont you try before posting?, however the answer for your first question is no, you can handle it with the Window Management functions, search in the help file... Link to comment Share on other sites More sharing options...
David422 Posted June 6, 2009 Author Share Posted June 6, 2009 why dont you try before posting?, however the answer for your first question is no, you can handle it with the Window Management functions, search in the help file...I didn't try before posting because this only happens like once every couple days, and I haven't been able to toggle the window yet to get x/y coordinates of the button/name of the window to give it a go. So if I use the ControlClick() command, and stick it at the end of my script, will the script continue running once the error window has opened, or will it hit the next _IELoadWait and sit? I guess what I'm asking is whether I have to insert multiple instances of the ControlClick command, or somehow nestle it within an If loop as a safeguard. Link to comment Share on other sites More sharing options...
Inverted Posted June 6, 2009 Share Posted June 6, 2009 Real question is, why does IE crash ? Link to comment Share on other sites More sharing options...
David422 Posted June 7, 2009 Author Share Posted June 7, 2009 Real question is, why does IE crash ?Ill post the specifics next time it happens. probably tonight around 3am as usual. 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