ktoya Posted June 1, 2014 Posted June 1, 2014 I m using IE8 in a windows xp VM, sometime I got a "Operation Aborted" error msg when I visit a webpage and the bot paused until a manual click ok. How can I auto click the OK button to when the error msg popup? thanks
Palestinian Posted June 1, 2014 Posted June 1, 2014 You need to provide a bit more details, for example what triggers the error msg?
ktoya Posted June 1, 2014 Author Posted June 1, 2014 here is the explain from microsoft http://support.microsoft.com/kb/927917 and more: http://blogs.msdn.com/b/ie/archive/2008/04/23/what-happened-to-operation-aborted.aspx I have got IE8 installed, and I m still seldom getting this error from the same page. I suppose the error popup when the network speed is very slow however my question is not about this error but when the IE popup an error msg, how to click it by Autoit?
Palestinian Posted June 1, 2014 Posted June 1, 2014 (edited) Both articles mention that the problem got fixed in IE8, and this part: The operation aborted dialog in Internet Explorer 7 is triggered by an HTML parsing exception that occurs when all the following specific conditions are met: The HTML file is being parsed Script is executing The executing script attempts to add, or remove an element from an unclosed ancestor in the markup tree (not including the script block's immediate parent element) Says that you might have misread/didn't read the article, perhaps your script is doing something to the page that leads to the error message? About your question, you could get the handle of the error message, set your script to monitor and wait for that message (only when it normaly shows up) and if it does, to click the Ok button. Edited June 1, 2014 by Palestinian
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