Home Dashboard Directory Help
Search

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


Status: 

Active


10
0
Sign in
to vote
Type: Bug
ID: 800953
Opened: 9/16/2013 7:25:47 AM
Access Restriction: Public
2
Workaround(s)
view
7
User(s) can reproduce this bug

Description

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 ( http://stackoverflow.com/questions/18764709/coded-ui-error-the-following-element-is-not-longer-availabe/18829142#18829142 ), 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 http://docs.nuget.org/.

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 http://uimaptoolbox.codeplex.com

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 ==
Details
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 Shorty on 9/17/2013 at 1:10 PM
They are working on it:
http://blogs.msdn.com/b/visualstudioalm/archive/2013/09/17/coded-ui-mtm-issues-on-internet-explorer-with-kb2870699.aspx
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 Shorty 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.

Regards,

Hannes
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: http://blogs.msdn.com/ie/
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 Shorty 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.

Regards,

Hannes
Posted by Shorty 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(http://support.microsoft.com)
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.
Sign in to post a workaround.
Posted by Theo-ELG on 10/29/2013 at 8:44 AM
Same problem with VS2010 after instllating KB2870699 (cumulative update IE, september), KB2879017 (cumulative update IE, october),
Validation: Check IE About for update level
Workarround: uninstall KB2870699 and\or KB2879017 and set these windows updates as "hidden".
Warning: uninstalling these security patches will leave the system vulnarable for malicious software!

Note: A fix for VS2012 is anounce for update 4. Waiting for a fix from MS for VS2010!

Tip:
Had an issue where KB2870699 was not in the list of updates and thus could not be uninstalled.
Resolved by uninstalling IE10 first. This left the machine with IE9. From there KB2870699 could be installed.

Posted by FridrikD on 9/16/2013 at 7:27 AM
Remove the update KB2870699 for IE, may be a security risk, I am not sure.