If you are testing WPF with Coded UI Test or MTM…

In Windows 7, Microsoft significantly enhanced the accessibility support with many features along with the addition of Windows Automation API 3.0.  This new API enhancement include performance improvements and bug fixes too.  To ensure users of earlier version of Windows get this benefit too, Microsoft released these improvements as down-level optional Platform Update for Windows XP and onwards.

The Coded UI Test and Action Recording of MTM are heavily dependent on accessibility.  So if you are using these features, it is advisable that you install this Platform Update.  And this update is absolutely must if you are testing WPF application using Coded UI Test or MTM otherwise you may experience hangs in some scenarios.

More information on this Platform Update can be found here.

Comments (4)

  1. kash_82 says:

    Hello Gautam Goenka,

    I am following your blogs/articals since months and they are very helpful.  We recently moved to the VSTS 2010 and coded UI tests. Since yesterday my CodedUITestBuilder is crashing when ever i try to genrate code after recording in my test project.  Although it is working fine if i genrate code in some other project. Any thoughts about this problem will be very helpful.

     Here is the problem signature and screenshot.

    Problem signature:

     Problem Event Name: CLR20r3

     Problem Signature 01: codeduitestbuilder.exe

     Problem Signature 02:

     Problem Signature 03: 4ba21143

     Problem Signature 04: mscorlib

     Problem Signature 05:

     Problem Signature 06: 4ba1da6f

     Problem Signature 07: 214

     Problem Signature 08: 10

     Problem Signature 09: System.ArgumentException

     OS Version: 6.1.7600.

     Locale ID: 2057

     Additional Information 1: 0a9e

     Additional Information 2: 0a9e372d3b4ad19135b953a78882e789

     Additional Information 3: 0a9e

     Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

    Read our privacy statement online:


    If the online privacy statement is not available, please read our privacy statement offline:


  2. Difficult to say from this.  Using the steps mentioned at blogs.msdn.com/…/how-to-enable-tracing-for-ui-test-components.aspx, enable tracing.  After that make a post at the forums (social.msdn.microsoft.com/…/threads) with the logs and some from the team will pick it up to help you.

  3. sony.kumari1982@gmail.com says:

    Hi Gautam,

    I am following your blogs/articals since long time and find them very helpful.

    Gatuam, Currently . my team is working with the Automation of Silverlight Project using CodedUi. we are unable to playback the script which has been generated after selecting the date from Silverlight Calender control.

    It throws exception during execution of below code:-

    // Select '11-Aug-2011' in '8/11/2011 12:00:00 AM' combo box

               uIItem8112011120000AMComboBox.SelectedItem = this.RecordedMethod1Params.UIItem8112011120000AMComboBoxSelectedItem;

    This issue is becoming showstopper for us. We have already referred

    blogs.msdn.com/…/adding-new-control-support-in-a-coded-ui-test-plugin.aspx and don't find useful as a tester.

    please suggest , how to overcome this issue.

Skip to main content