Jump to content

Recommended Posts

Posted

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

Posted (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:

  1. The HTML file is being parsed
  2. Script is executing
  3. 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 by Palestinian

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...