Background

When using the C/C++ COM APIs provided for automating Internet Explorer from out-of-process, all attempts to execute JavaScript on the loaded page produce an 'access denied' HRESULT. This issue effectively breaks the Rapise Internet Explorer HTML library implementation (as well as affecting other tools such as Selenium WebDriver in the  same way). The same code works when used in IE6-10 and in IE11 prior to the installation of the aforementioned update.

All users experiencing this issue should apply Microsoft Update KB 3021952 as soon as possible to fix this issue. This update will be part of the normal Windows Update schedule if you have Windows automatic updates enabled.

Here's the information on this KB update:

Affected Software

The issue affects all versions of Rapise when attempting to record or playback a script, it will record only in simulated mode (i.e. recording mouse clicks only) and playback will not work in IE. In the Output log you will see the following:

************** Exception in SeSAttachDoc *********************

    [name]:Error
    [number]:-2146828218
    [description]:Permission denied
    [message]:Permission denied

**********************************************************

In addition, this issue is also affecting other automated testing products:

Solution

Since this was reported, Microsoft has released an update to address - KB 3021952.

All users experiencing this issue should apply Microsoft Update KB 3021952 as soon as possible to fix this issue. This update will be part of the normal Windows Update schedule if you have Windows automatic updates enabled.

This is no longer considered an active issue, but it is available here for historical purposes.