Security Update KB2870699 for IE breaks existing Coded UI Tests - by FridrikD

Status : 


Sign in
to vote
ID 800953 Comments
Status Active Workarounds
Type Bug Repros 8
Opened 9/16/2013 7:25:47 AM
Access Restriction Public


I had a lot of Coded UI Tests that simulate a user using a search engine, all of the tests worked before the security update KB2870699, after the update I got exceptions about the control being hidden (div containing a text box and a button), the test included the steps (1) enter text in to the search engine, (2) click the search button.  I tried to re-record the steps, but I got the same error.  Then I tried removing some of the latest updates and it seems that this update KB2870699 was the one causing the problem.  I have no idea how you could reproduce this, since I can not share any of the code at the moment.  I think some other people are having the same ( ), at least the date fits.

Removing the update completely solves the problem, but the VS must be updated to be compatible with this update I guess.

 == Visual Studio ==
Microsoft Visual Studio Ultimate 2012
Version 11.0.60610.01 Update 3
Microsoft .NET Framework
Version 4.5.50709

Installed Version: Ultimate

Architecture and Modeling Tools   04940-004-0038003-02424
Microsoft Architecture and Modeling Tools
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

Team Explorer for Visual Studio 2012   04940-004-0038003-02424
Microsoft Team Explorer for Visual Studio 2012

Visual Basic 2012   04940-004-0038003-02424
Microsoft Visual Basic 2012

Visual C# 2012   04940-004-0038003-02424
Microsoft Visual C# 2012

Visual C++ 2012   04940-004-0038003-02424
Microsoft Visual C++ 2012

Visual F# 2012   04940-004-0038003-02424
Microsoft Visual F# 2012

Visual Studio 2012 Code Analysis Spell Checker   04940-004-0038003-02424
Microsoft® Visual Studio® 2012 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

BusinessObjectEditor   1.0
Information about my package

CreateLayoutWizardPkg   1.0
Create layout wizard.

DevExpress.ExpressApp.DesignPackage   1.0
DevExpress VSIX Package

DevExtreme.Design   13.1.5
DevExtreme Visual Studio integration package

NuGet Package Manager   2.6.40627.9000
NuGet Package Manager in Visual Studio. For more information about NuGet, visit

PreEmptive Analytics Visualizer   1.0
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   11.1.20905.0
Microsoft SQL Server Data Tools

UIMapToolbox.VSPackage   1.0
UIMapToolbox. See more at

Web Developer Tools   1.3.40412.0
Microsoft Web Developer Tools contains the following components:
Page Inspector: Tool that offers an efficient way to decompose Web Applications and diagnose front-end issues.
Web Publishing: Extensions required for Web Publishing for both hosted servers as well as on premises.
Web Form Templates: Includes the default templates for Web Form Applications.
Editor Extensions: Includes HTML, CSS, and JS editor extensions that greatly enhance the development experience.

Windows Azure Tools   2.0
Windows Azure Tools for Microsoft Visual Studio 2012 - v2.0.60409.1601

XtraReports package   1.0
XtraReports package

== Internet Explorer 10 ==
Sign in to post a comment.
Posted by Theo-ELG on 10/29/2013 at 8:34 AM
Same problem with VS2010 for KB2870699 (cumulative update IE, september), KB2879017 (cumulative update IE, october)
Posted by Alain Bohon on 9/18/2013 at 10:49 AM
I have removed the update KB2870699 and my coded ui tests are finally working normally. This issue made me go crazy for two days. Since not all controls were behaving the same way I was actually thinking there was something wrong with the app under test. Microsoft should be more careful with this kind of updates.
Posted by 17433BEE-871B-4EB4-AE50-A6EE5191F791 on 9/17/2013 at 1:10 PM
They are working on it:
Posted by José Brazeta on 9/17/2013 at 8:53 AM
The problem is more serious than that! In my case I can't even record new Coded UI Tests. After I click in any HyperLink of any web page of my application the coded ui test builder cannot record thart click "The following element is no longer available...."
Posted by 17433BEE-871B-4EB4-AE50-A6EE5191F791 on 9/17/2013 at 2:44 AM
Are you serious MS?

Not a single one of the coded ui tests works anymore after installing the update. And that is on none of the machines with any of the configurations (IE7,8,9, x86, x64, Windows 7, Windows 2008...). So this is a serious issue, blocking for a lot of the testers using Visual Studio.

And your answer is that it is not related to Visual Studio? And then you gonna start sending us around the bushes. Wouldn't it be simpeler if you contacted the IE team and saved us some time. The time we already lost researching the issue?

We gave you a direct pointer to what caused the issue.


Posted by Microsoft on 9/16/2013 at 8:39 PM
Thank you for submitting this Connect issue. This issue appears to be related to Internet Explorer. Unfortunately, we only accept feedback on Visual Studio & .Net Framework and related technologies through this site. For issues related to Internet Explorer, we advise contacting the IE team through the IE BLog:
Posted by FridrikD on 9/16/2013 at 9:36 AM
Yes, that fits. I deleted only KB2870699 from another virtual machine and it worked.
Posted by 17433BEE-871B-4EB4-AE50-A6EE5191F791 on 9/16/2013 at 8:40 AM
I have the same issue:

1. Visual Studio 2012 Ultimate Update 3

2. KB2870699 for IE 10 on Win 7 X64 (Desktop with VS2012) and IE 9 Win 7 X64 (desktop that runs the automated tests via Test Agent - TFS 2010)

3. It happens on all my web applications (MVC 4).

4. It only happens when the automated test performs an action that loads another page (like pressing a "New client" button that loads the "New Client" web page - mvc 4). All the actions (like pressing button, filling out textboxes, clicking links) on the new page don't work. It seems that for some reason the kb prevents clicks e.a. when the second page is loaded trough test automation.


Posted by 17433BEE-871B-4EB4-AE50-A6EE5191F791 on 9/16/2013 at 8:38 AM
Its' KB2870699
Posted by Microsoft on 9/16/2013 at 7:51 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(
Posted by FridrikD on 9/16/2013 at 7:43 AM
Hmm. My bad, on this particular machine I deleted all of the updates from 12. september, so it is one of the: KB2870699, KB2872339, KB2876315, KB2836943, KB2853952, KB2868116.