Coded UI MTM Issues on Internet Explorer with KB2870699
September 17, 2013
Update: Fix for VS 2012 is now available here
Fix for VS 2010 SP1 is now available here
There was a recent security update (KB2870699) rolled out on Internet Explorer which has made some changes on IE11IE10IE9, affecting Coded UI Tests, MTM Record and Playback and MTM Exploratory Testing on IE. The issues may manifest in one or more of the following ways:-
Recording Time
While recording, navigation to a new page, followed by some action results in the below error. No action gets recorded:-
Hello, i'm using VS 2012 and i don't have the IE update installed but the problem persists. i have disable Automatic IE updates. Do u have any other workarounds?
Yes, Our team is also facing this issue…
Waiting for the fix…
Hi
Can you folks provide details for your issues? This is a very specific issue wherein during recording, after you navigate from 1 page to another- when you record the next action, you will see the error as mentioned above.
This will only affect users of IE10IE9 with the mentioned IE update. Or IE11 users with VS Update 3.
Can you please share details regarding,
1. Which Visual Studio Version and which update are you on (Details can be fond by going to Help-> About).
2. Against which IE version are you seeing this issue?Please provide complete version number including the KB by going to Help-> About on IE.
3. If your setup is different from what is mentioned in the blog above, and this issue is being seen only for a specific case- say only for some of your test app scenarios, this might be a very specific issue related to your test app, you can post a question along with the details on our forums – social.msdn.microsoft.com/…/home
hi,
i'm using:
1- VS Premium 2012, Version 11.0.50727.1 RTMREL; Microsoft .NET Framework version 4.5.50709.
2- IE version 10.0.9 (KB2870699) but this update does not appear in 'Installed updates'
i get that kind of error every time i want to make an action, like writing in a textbox or clicking on a button or menu item.
I am running into the same problem and the action recordings from MTM are basically hosed. I've unistalled the patches from my tester's machines and still we are experiencing the problem on our Server 2008 R2 boxes. Our Windows 7 machines work fine…but then our test agent machine which is server 2008 R2 does work when we run our action recordings there. Help!?!?!
but then our test agent machine which is server 2008 R2 does NOT work when we run our action recordings there. Forgot the NOT part. We can't upgrade to pre-release software. We are running Update 3 across the board.
Hi KevinSD
You are both hitting the exact issue mentioned in this blog. This KB comes up as a Windows Security Update on Installed Updates. You may want to consider the workaround temporarily, but be aware that you would be uninstalling an important Security Update. We assure you we are working to get this fixed at the earliest, and I will update this blog as soon as the fix is released, expected in about 2 weeks.
The problem that i face is that i have no security update with KB2870699 in my 'Installed Update'
i have 2 other security update with: KB2872339 and KB2876315. does any of these cause the same problem in Coded UI playback?
KB2870699 is also causing issues where our installer certificates are throwing up ugly warnings when customers attempt to download our software. Right now it is really frustrating, as we have to field calls all day long with concerned customers thinking their is something wrong with our software. Telling them to uninstall KB2870699 may solve the problem, but it doesn't solve the problem of them calling in the first place.
@David: I assume the installer certificate issues are unrelated to Coded UI Test. If so, please report this in the IE forum to get better help.
If you are seeing any issues in Coded UI Test, feel free to write the in details here and we can help take a look.
Hi SD
The 2 updates you mentioned are part of a bundle of Microsoft updates that were rolled out altogether around the 12th of Sept. However, the specific KB affecting IE is 2870699. I am adding some links to IE forums, can you please ask them for any alternative ways that you could, if you wish to, uninstall the update. Uninstalling the others will not fix the problem.
support.microsoft.com/…/2870699
support.microsoft.com/…/en-us
I have two different test PCs at work. The Coded UIs have been failing on both. The first PC has IE9 and has KB2870699 installed. I uninstalled KB2870699 and the Coded UIs now run without any problems. The second PC has IE10 installed. KB2870699 does not show up in the list of updates, so I was unable to uninstall it. Is KB2870699 rolled into the IE10 installation? I rolled back to IE9 and KB2870699 then showed up in the list of installed updates. I uninstalled it and the Coded UIs now run without any problems.
The important question is…when is this bug going to be fixed? Our organization will be pushing IE10 out to everyone at some point and the Coded UIs must work.
eventhough i uninstalled IE10 and it downgraded to IE8, the kb2870699 is not showing.
I am unable to uninstall this KB2870699. I get the message "An Error has occurred. Not all of the updates were successfully uninstalled"
I am running Windows 8 with IE 10 and tried the following but still no luck!
1. uninstall – install IE 10
2. Upgrade to VS 2012 Update 4 (RC)
what else can i try ? (this is a BLOCKER!!)
@Ratish
upload the folder C:WindowslogsCBS as zip to your skydrive/dropbox and post a link here.
the log files are updated here – http://tinyurl.com/kzpcgk9
you have "Changelist winner missing files" issues. This means data from the registry are missing so that the servicing engine can't see which files it should install after removing the current IE update. This results in this Error: STATUS_SXS_TRANSACTION_CLOSURE_INCOMPLETE
You can only hope that this new DISM tool fixes it: blogs.technet.com/…/fixing-component-store-corruption-in-windows-8-and-windows-server-2012.aspx
if this does not fix it, refresh Windows (blogs.msdn.com/…/refresh-and-reset-your-pc.aspx) and install all desktop applications again.
I get this error as well; here are my details.
1. Visual Studio Ultimate 2012 Version 11.0.60315.01 Update 2
2. Internet Explorer 9 Version 9.0.8112.16421 / Update Version 9.0.20 (KB2870699)
3. I get these errors on recording and playback of CodedUI scripts. Same tests were successful prior to patch installation.
Hi,
I get this error as well; here are my details.
1. Visual Studio Ultimate 2012 Version version 11.0.60610.01 udpate 3
2. Internet Explorer version 9 and 10
3. I get these errors on recording and playback of CodedUI scripts.
This is blocker in my work? is there any fix or work around for this issue please?
Thanks
Suthy
I had same issue with windows 2008 R2 with Ie10
I uninstalled Ie10 which took back to IE9 version and where I can see KB2870699 installed
uninstalling KB2870699 fixed this issue where I was unable to see this security patch when IE10 was installed on my machine…surprising but it worked
I'm also facing the same issue with VS2012 and IE11 and windows 8.1 , unfortunately there is no option to uninstall ie in windows 8.1 , is there any other way around .
The easiest solution for this issue:
1. Uninstall the current IE.
2. Download IE package (I tested with IE 9.0)
3. Unplug network cable
4. Install IE –> KB2870699 patch will be not auto updated together.
And now you can enjoy watching your automation running đ
Hi,
As per the above mentioned resolution, I have uninstalled the KB2870699(By disabling the checkbox âInstall new versions automaticallyâ on IE ->Help-> About Internet Explorer Dialog) and restarted my machine. After that I am not able to see this patch(KB2870699) in Control Panel—>View Installed Updates but still I am seeing this update on IE ->Help-> About Internet Explorer Dialog. Due to this I am still facing the issue of 'The following element is no longer available……………….'. This patch is nowhere present in system. Please suggest me any other steps to overcome this issue.
Thanks,
Ram
Hi,
I installed also Visual Studio 2013 Premium Preview, but the tests fail with the same error. Is it another version of Visual Studio 2013 Preview that i should use?
Thanks,
RV
Hi,
I have the same issue and i tried to apply the workaround. Unfortunately, I also cannot find KB2870699 in my Installed Updates list, not even after I downgraded from IE10 to IE9. Though when i access Internet Explorer Tools – About Internet Explorer the following information is displayed:
Version: 9.0.8112.16421
Update version: 9.0.20(KB2870699)
I tried the solution proposed by Duy.Le Dinh, but i get an error when i try to install IE9 with the network cable unplugged (Internet Explorer 9 did not finish installing). Therefore i plugged back the network cable and installed IE9 successfully, which didn't fix my problem. I am wondering if IE9 package includes now by default the KB2870699 update, since i cannot find it separately. I even tried to manually install KB2870699 in order to uninstall it and make sure that everything works fine after that, but i got the following message: This update is not applicable to your computer.
I am sure that my problem is caused by this update since my tests are running fine on another machine, were i was able to uninstall KB2870699 from the Installed Updates list. How could i overcome this problem on my machine? I'm using Windows 7 and Visual Studio 2012 with Update 3. I would be grateful for any suggestion.
Thanks,
RV
Any timeline on this? When may we expect a fix to this (rather blocking) issue? …. Did i mention umm blocking? (the work-around is a no-go here at work)
We apologize for the inconvenience and thank you all for reporting this issue. I have updated the post above, the fix is now available for VS 2012 customers as well in the latest update. Please refer to the post above for the link.
Srishti, is there a patch coming up for VS 2010? Our shop will move to VS 2012 at some point however this has not happened yet. We need a VS 2010 fix for this issue ASAP. We cannot use the work around due to internal policies.
Regards,
Yves
Hi Srishti, this is still not working. I followed instruction from Resolution bit and I'm still getting following error:
Test Name: HomePage
Test Outcome: Failed
Result Message:
Test method Qa.CodedUiTests.Merchant.HomeCodedUITests.HomePage threw exception:
Microsoft.VisualStudio.TestTools.UITest.Extension.FailedToPerformActionOnHiddenControlException: Cannot perform 'SetProperty of Text with value "test@test.com"' on the hidden control. Additional Details:
TechnologyName: 'Web'
ControlType: 'Edit'
TagName: 'INPUT'
Id: 'Email'
Name: 'Email'
—> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0xF004F002
I am using IE9 with the security update + VS2012 with Update 4RC
Fix for VS 2012 is available here on VS Update 4 RC 4 – please ensure the right version while installing –http://www.microsoft.com/…/details.aspx
For VS 2010 – yes we are working on a patch and we are trying to get it out at the earliest. Appreciate you being patient.
For quicker turnaround on any other issues, please post queries on the forum – social.msdn.microsoft.com/…/home
A lot of customers have reported this there and some have even successfully worked around it.
I hit the same issue which causes installing Microsoft Windows Update KB2879017, must uninstall it every day. Windows Automatically Update cannot be stopped đ
I too am hitting the same issue because of Microsoft Windows Update KB2879017 and I have Visual Studio 2012 Update 4 RC installed. Help!
Daniel and all others facing the same issue.
Please ensure that you are installing the version of Update 4 shared in this blog, i.e. Update 4 RC4. Please reboot your machine once and then check.
Also, in case of Test Agent or Test Controller SKUs, please uninstall the existing SKU and install the latest one from the above, i.e. Update 4 RC4. Again, reboot your machine.
Let me know if you still face this.
Thanks, this fixed the Problem for me!
I have VS2010, IE9. I had uninstalled KB2870699 last week and it fixed the issue. In the meantime KB2870699 was installed again on my machine, along with another new batch of security updates. I again uninstalled KB2870699, but this time it did not fix the issue. I see in other comments that KB2879017 is causing problems, so I also unistalled that and even rebooted. This did not fix the issue though. Any other ideas?
I am using vs2010 and have had this issue for a while now. Removing the KB above resolved the issue. Thanks so much!
Hi All,
Hope everybody are doing good.
I am using VS2012(.net framework 4.5) and IE10 .0.9200.16721 with KB2879017
I am getting the same error message.
Microsoft.VisualStudio.TestTools.UITest.Extension.FailedToPerformActionOnHiddenControlException: Cannot perform 'Click' on the hidden control. Additional Details:
Cannot perform "Click" on the hidden control. Additional Details:
TechnologyName: 'Web'
ControlType: 'Hyperlink'.
how to resolve it.
Thanks in advance.
Hi All,
Hope everybody are doing good.
I am using VS2012(.net framework 4.5) and IE10 .0.9200.16721 with KB2879017
I am getting the same error message.
Microsoft.VisualStudio.TestTools.UITest.Extension.FailedToPerformActionOnHiddenControlException: Cannot perform 'Click' on the hidden control. Additional Details:
Cannot perform "Click" on the hidden control. Additional Details:
TechnologyName: 'Web'
ControlType: 'Hyperlink'.
how to resolve it.
Thanks in advance.
Hi everybody,
im getting the same error as Shirisha. its a security update released these days. pls can you provide something to fix it?
Thanks in advance.
Hi!
We are using Windows 7 with Service Pack 1 installed, IE9 and VS 2012 Update 2. We have tried solving the issue by uninstalling update KB2870699 on the test agent machine and then rebooting it, but the problem remains. We are considering installing the Update 4, but are unsure of how to update the TA and TC. I saw Srishti mention this, and a "Test Agent or Test Controller SKUs", but what is an SKU..?
Thanks in advance.
Is there any other way of resolving this issue, other than uninstalling this security update.
hi,
i'm using:
1- VS Ultimate 2012,
2- IE version 10.0.9. i have verified KB2870699. but this update does not appear in 'Installed updates'
i am getting this kind of error every time and i want to make an action, like writing in a text box or clicking on a links , button or menu item. please give suggestion what i need do.
The following element is no longer available: IE web control; Process Id [7048], window handle [2229002] Additional Details: TechnologyName: 'Web' ControlType: 'Hyperlink' TagName: 'A' Id: 'ctl00_m_g_602c2061_3e76_41f0_ad6a_292a4aadbbf0_ctl00_ctl01_View_ctl01_ItemDetails_NyttNotat' Name: '' Target: '' InnerText: 'Create Note'
Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotAvailableException
at Microsoft.VisualStudio.TestTools.UITesting.Playback.AddUITestControlDescriptionToException(SystemException exception, IPlaybackContext context)
at Microsoft.VisualStudio.TestTools.UITesting.Playback.MapAndThrowException(SystemException exception, IPlaybackContext context)
at Microsoft.VisualStudio.TestTools.UITesting.Playback.MapAndThrowException(SystemException exception, String actionName, UITestControl uiControl)
at Microsoft.VisualStudio.TestTools.UITesting.Playback.MapAndThrowException(SystemException exception, String actionName, Object parameterValue, UITestControl uiControl)
hi,
i'm using:
1- VS Ultimate 2012,
2- IE version 10.0.9. i have verified KB2870699. but this update does not appear in 'Installed updates'
i am getting above error every time and i want to make an action, like writing in a text box or clicking on a links , button or menu item. please give me the suggestion what i need do. please urgent
This issue has been up for a month and a half now. We are using VS2010 and still have to fight with the updates almost everyday. This is very annoying.
Would someone from Microsoft step up and provide an ETA for a patch that will resolve this permanently or an official statement that will confirm that Microsoft will not fix this?
Regards,
Hi All,
I have the same issue and it is urgent. I am using VS2012(.net framework 4.5) and IE10 .0.9200.16721 with KB2879017. Are there any workarounds for this?
I believe if you uninstall KB2879017 it will start to work.
I am very dissapointed with Microsoft responsiveness about this. Are others still waiting like we do here?
Yves
Hi all,
instalation of "VS2012.4 RC" on the client test machine (Win7 64bit) solved this problem. You are able to download it from http://www.microsoft.com/…/details.aspx.
Note: I tried to instal KB2879017 and KB2870699 before executing VS2012.4 RC.exe file and both times I got a message "The update is not applicable to your computer". So after that I executed VS2012.4 RC.exe file.
I've updgraded to VS2012.4 and installed IE11. Silverlight CodedUI tests are still not working. (My team is using this plugin visualstudiogallery.msdn.microsoft.com/28312a61-9451-451a-990c-c9929b751eb4)
Remove IE11 update, and that we are back to IE10 the Silverlight CodedUI tests are working again. Please fix issues with IE11. This is really important to my team!
Same issue on IE 10 and IE 11 with tests recorded with Visual Studio 2012.4.
Why does it take so long to get an update to fix this issue ? đ
I don't want to install VS on the client test machines …
VS 2012 11.061030.00 Update 4 / IE9 Still faces the same issue. Have been down on codedUI testing all month.
I am having similar issues on VS2012 Version 11.0.50727.1.
The above fix for VS 2012 has been removed. Can you please tell me where the fix is for this issue?
My IE 10 version is 10.0.9200.16736. Update version 10.0.11(KB28888505). I dont have this specific security update.
The VS 2010 fix is working. Thanks.
Yves
Installing VS2012 Update 4 fixed my issue.
Thanks,
rr
Hi! We have uninstalled KB2870699 on out testmachine, and installed Update 4 for our test agent and the UI-tests are still not working. Are you still working on this bug..?
Hi, We have purchased MTM 2013. Do we also need to purchase the coded UI and why?
Hi,
Thank you for this patch. It helped in fixing the "cannot update input for a hidden control" error on IE9 (9.0.8112.16421).
Now, I have the Coded UI Test running fine from IDE.
I created a Build and tring to run on VM (Physical Environment) through MTM.
I am getting the below error on VM:
The following element is no longer available. IE Web Control, Process ID [XXXXX], Window Handle [XXXXX].
Process ID and Window Handle are different each time though.
The IE Version on VM is also IE9 (9.0.8112.16421).
I see in some forums that installing IE10 on VM will fix the issue, but i need this to run on IE9 only. Because the customer is primarily using IE9 and we need to test the application on IE9.
Thanks in advance,
Deepthi.
Hi Srishti,
I have VS2010, Windows 7 and IE10, with the latest Security update KB2925418, all of my coded UI tests are failing with 'Failed to find a control' exception. Is there any workaround for this one?
Thank you,
Smita
I am running VS 2013 Ultimate (demo) version 12 .0.30110.00 update 1
with IE 11.0.5 ( support.microsoft.com/…/2929437 ) running on a windows 7 machine.
I have to test with the latest version of IE, and I am receiving the same error originally reported back in September 2013.
When is a valid fix going to be in place for this issue that everyone seems to be getting?
Test Name: CodedUITestMethod1
Test Outcome: Failed
Result Message:
Test method WebRecord_test_run.CodedUITest1.CodedUITestMethod1 threw exception:
Microsoft.VisualStudio.TestTools.UITest.Extension.FailedToPerformActionOnHiddenControlException: Cannot perform 'Click' on the hidden control. Additional Details:
TechnologyName: 'Web'
ControlType: 'Hyperlink'
TagName: 'A'
Id: ''
Name: ''
Target: ''
InnerText: 'company specific data'
—> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0xF004F002
I am facing the same problem.
When I am doing exploratory testing or action playback then IE8 is working too slow. I am not been able to work. PLEASE HELP!!! ASAP
Hi Srishti,
I am using VS2012 Ultimate & MTM2012.
When I am doing exploratory testing or action playback then IE8 is working too slow. I am not been able to work. PLEASE HELP!!! ASAP
Hello,I am new in Coded UI Test application.I have record the application using IE10 version.But its not navigation from login page.
IE details
IE10
update version : 10.0.13 (KB2909921)
Do you have any idea for fix this issue??
Hello,
We have the same problem using VS2010 SP1Rel and IE10(KB2964358). We have unistalled some updates until having KB2718695 update in IE10. We have also reinstalled VS2010 patch you mentioned. Problems still continue and we need to run the tests!
Please, provide me a solution.
Thank you.
Tests work again. The problem was not the update, it was a label inserted in app.config
<appSettings>
<add key="WebWaitForReadyLevel" value="3"/>
</appSettings>
We added it to work with AngularJs and CodedUI Tests, but it makes that lot of tests fail.
Iâm facing a strange UITest issue, here is the full story : After the migration to vs2013 I had to handle an issue with âUITestControlNotAvailableExceptionâ. After some search I found that there is an issue with IE. This issue has been solved by downgrading IE but the behaviour is still confusing :
⢠Running the test manually on the server : OK
⢠Triggering the build server to run the tests : OK
⢠The build server is triggered by the schedule : NOK
Configuration : TFS2013, VS2013 (update4), IE8
Hi,
I'm facing this problem on IE11, Visual Studio 2012.
The controls become blocked (hidden) after new page loads. Does anyone can resolve the issue?
A lot of thanks.
Hello,
I'm new in Coded UI Test and using IE11.017, Visual Studio 2012.
The (KB2870699) does not appear in 'Installed updates' for IE 11.0
The controls become blocked (hidden) after new page loads. Does anyone can resolve the issue (Exception from HRESULT:0xF004F002)?
Kind Regards
Hi, i am using VS 2010 with released patch SP1 & update version : 11 (KB3058515)
facing issue in coded UI
Cannot perform 'SendKeys with value "{Tab}"' on the control.
Additional Details:
TechnologyName: 'Web'
ControlType: 'Edit'
Id: 'LogonPage_UserName_value'
Name: 'Input'
TagName: 'INPUT'
This update resolved the issue for me.
I was facing the same issue (<Error : Failed to click on Blocked control> while the control was actually visible) and nearly spent 3 days to find various fixes/workarounds.
I am using VS 2010 SP1 and IE11.
Thanks for this crucial update. Good Job.