Microsoft Visual Studio UI Test Plugin for Silverlight


Using the Microsoft Visual Studio UI Test plugin for Silverlight, you can create Coded UI Tests or action recordings for Silverlight applications.

(17) Review
Visual Studio
Download (15,123)
E-mail Twitter Digg Facebook
Add to favorites
Reviews (17)
Q and A (23)
Sign in to write a review
Sort by:

by Mattias K | August 10 2015

Why Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll has public key token 374b4c93160c098c and not b03f5f7f11d50a3a as the VS2013 compatible version really annoys me. Why? Because it prohibits me from using binding redirects between the versions.

Please fix this.

by carpicornf | April 21 2015


by rayrudd | April 14 2015

Why are you making me review it before I read any reviews on it?

by NormanHeadlam | March 02 2014

We need CUIT support for Silverlight 5 and VS 2013.

by Gorab | February 06 2014

This plugin is very very useful for automating my application (SL5 as well as SL4 hosted on IE8)

But when the same test cases running successfully on IE8, when I try to run on IE9/IE10, it fails to identify the SL5 objects. Am i missing something here?

Edit: Thanks JoonaK for the link. I'm able to run SL5 object tests hosted on IE10 ONLY when Visual Studio Ultimate 2012 is also installed on the client. On other clients having Test Agent 2012 (and no VS), the same tests under the same settings failed.
/* End Edit */

Also, since this plugin is not "officially" released by Microsoft till now, is there any plan to include this in any of the future official releases?

by AnnieBy | January 17 2014

It seems not support Visual studio 2013. Is there any add-in to support Silverlight for Visual studio 2013?
Great thanks!

by VW_Patrick | January 16 2014

Great that the MS team came up with this, but why does Microsoft's flagship testing platform not support a Microsoft proprietary & flagship technology? Lack of Silverlight support natively is crazy.

by TLeeMessick | January 06 2014

Does NOT work with 2013. The installer will NOT install with Visual Studio 2013. We need this to work with 2013 or our automation is totally useless.

by JoonaK | December 31 2013

Really useful, couldn't live without this. Works great with VS2012 Update 3.

Gorab, check this for IE9/IE10 problems:

by davidp1974 | July 23 2013

Great addition to coded ui testing and working using vs2012 (with update 3 installed).

by Appu Reddy | July 03 2013

Silverlight 5 application does not work with VS 2010/2012 neither on windows 7/XP. Tried all the one's mentioned below..
Silverlight enabled for testing-Yes
Unique identity for controls-Yes

As a trial tried running silverlight 5 application as 4 and was able to capture the controls via recording, but when tried to build solution gave all the errors..Assembly Reference, Name space..

Is anyone working on Silverlight 5 and got it running, please let us know how u dealt with..will be of great help.


by Krrrishna | June 19 2013

Thanks for sharing the plugin.

by seisenreich | June 07 2013

Let me start by saying that I love CodedUI. I have worked with many tools for test automation in the past, but CodedUI is IMHO the best tool I have used.

That being said....

This plugin does not work at all. I am running Visual Studio 2012 Ultimate and I cannot record any Silverlight Controls. My position at my company is to develop test automation (CodedUI) and performance testing (MS WebTest). Being able to write test automation for Silverlight controls is not a "nice to have", it is absolutely necessary for me.

Our applications use Silverlight 4. As mentioned in other posts, I get the message that the recording will be discarded. Has there been any progress on this?


Scott E.

by SoonerGoose | April 25 2013

This plugin is having uses with Visual Studio 2012 Update 2. Is anyone else having this error?

by Kyle Berry | October 03 2012

This tool is still not working for Silverlight 4. It starts recording, but when I click on a drop-down selection I get the error: "the recorded actions have been discarded". The drop-down will only work if I type in the value of the selected text that I want and then hit enter. This work around does not work well for the standard drop-down that doesn't allow type-ahead so I would be forced to use a different control for each drop-down.

Which version of Visual Studio are you using? 2012 RC
Do you have VS 2010 Feature Pack 2 installed? I have Feature Pack 2 installed.
Which Operating System are you using? Windows 7
Are you using Coded UI Test or Microsoft Test Manager to record? Coded UI
Have you prepared the Silverlight applications to enable testing - http://msdn.mic​​s/library/gg313​838.aspx. Yes, otherwise it would not recognize any controls at all.

by AAKoken | September 10 2012

by Ray L | August 28 2012

This tool is still not working for Silverlight 5. When I login to our Silverlight 5 UI, it is recording. Great. But when I click some basic features,"the recorded actions have been discarded" appears all the time.

Mathew Aniyan MSFT August 30 2012
| Edit |


Which version of Visual Studio are you using?
Do you have VS 2010 Feature Pack 2 installed?
Which Operating System are you using?
Are you using Coded UI Test or Microsoft Test Manager to record?
Have you prepared the Silverlight applications to enable testing -


Sign in to start a discussion

  • Silverlight conrol detection gets off in the middle of exeuction
    1 Posts | Last post August 10, 2016
    • I am having few tests that are having actions on silverlight control
      some tests are passed in the execution, but suddenly some tests got failed due
      to Silver light controls are not found(silverlight control detection getting off, may be due to its heaviness of controls/dlls), I confirmed this by manually opening CUIT test builder and spy the silverlight control then it is not finding element, in order to re gain the silver light detection I had to re login or reboot the system.
      is there any solution for this above problem? Please reply me ASAP
      Thanks for inadvance.
  • Coded UI on SL5 and VS 2013
    4 Posts | Last post July 14, 2015
    • I have added the automation dll to my Silverlight project(ver 5) and as I try to record actions and generate code The coded ui designer is unable to recognize the button or checkbox controls that I have on my web page. Also as I try to add an assertion it focuses on the main xaml parent window that hosts the sample app which has these controls. When I click around the assertion attributes all I see is tagname:Object,ControlType:Custom, ClassName: HTML.Object. Type: application/x-silverlight-2
      control definition:
      width="100%" height="100%" data="data:application/x-oleobject;base64,QfXq3+HzJEysrJnDBxUISgAJAAAGxgAAvl0AAAwAAAB3AGgAaQB0AGUAAAAAAAAAAAAAAAAAAACEAAAALwBjAG8AbQBwAG8AbgBlAG4AdABzAC8AcABzAG8AYwBvAHIAZQAvAGQAbwBjAHUAbQBlAG4AdABzAC8AQwBsAGkAZQBuAHQAQgBpAG4ALwBQAFMATwBSAGUAcABvAHIAdABpAG4AZwBEAGEAcwBoAGIAbwBhAHIAZAAuAHgAYQBwAAAAPAAAAP//AAAmAAAAbwBuAFMAaQBsAHYAZQByAGwAaQBnAGgAdABFAHIAcgBvAHIAAAAAAAAAAAAAAAAAAAAaAAAAcABsAHUAZwBpAG4ATABvAGEAZABlAGQAAAAeAAAAcgB1AG4AbQBvAGQAZQA9AFYATQAyADAAMQAzAAAAAAAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAABgAAAA0AC4AMAAuADUAMAA0ADAAMQAuADAAAAAKAAAAdAByAHUAZQAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAA==" type=application/x-silverlight-2 altHtml='&#13;&#10;&#9;&#9;      &#13;&#10;&#9;&#9;      &#13;&#10;&#9;&#9;      &#13;&#10;&#9;&#9;      &#13;&#10;&#9;&#9;      &#13;&#10;&#9;&#9;      &#13;&#10;&#9;&#9;      &#13;&#10;              &#13;&#10;&#9;&#9;      <a href=";v=4.0.50401.0" style="text-decoration:none">&#13;&#10; &#9;&#9;&#9;      <img src="" &#13;&#10; &#9;&#9;&#9;      alt="To view this content, please install Microsoft Silverlight 4.0.50401.0" style="border-style:none" />&#13;&#10;&#9;&#9;      </a>&#13;&#10;&#9;        ' style="MIN-WIDTH: 1024px; MIN-HEIGHT: 768px" which are the attributes of the main xaml page.
      I am using Visual Studio Ultimate 2013 (12.0.30723.00 Update 3).
      Please provide some direction as how I can get this to work.
    • Is this a custom control? Are you able to use the plugin successfully on a simple checkbox\ button?
    • I am using Visual Studio 2012 and trying to test Silverlight 5 application with COdedUI. Can someone suggest that if this helper dll file(Microsoft.VisualStudio.TestTools.UITest.Extension.SilverlightUIAutomationHelper) works with Silverlight5 application. On the first page of the download link it says it works for Silverlight 4 and 5 but in addition link it just says it works for only silverlight4. So I am confused?
    • Yes, it is supported for Silverlight 5.
  • Test Controller and Test Agents
    2 Posts | Last post June 16, 2014
    • Consider running the Coded UI Tests through Microsoft Test Manager using Test Controller/Agents.  Can we run our Silverlight application (with the SilverlightAutomationHelper) on a web server separate from the Test Agent?  Does the test and the application have to run on the same machine?
    • Hi Curt,
      The test and the application need not be on the same machine. The only requirement is that the Silverlight application must be compiled with a reference to SilverlightAutomationHelper. The application can be hosted on a remote web server different from the Agent machine.
  • Confirmation of plug in for 2013?
    3 Posts | Last post June 09, 2014
    • Hi. Double post, I know.
      Is there any further update on whether this plugin will be updated to work with Visual Studio 2013?
    • Hello ,
      did you get updated plugin for silver light support in vsts 2013. I too facing same issue. Please help us its urgent.
    • Hi,
      For Visual Studio 2013 Coded UI Test Plugin for Silverlight, please visit- 
  • Microsoft Visual Studio 2013
    4 Posts | Last post June 09, 2014
    • Hi,
      Will it be any update of the plugin for the Visual Studio 2013?
    • Hi,
      I also need to autmate test against Silverlight using VS 2013. 
      Will it be an updated plugin for VS 2013?
    • Hello sir,
         Did you get any update on silver light plug in for vsts 2013. Actually i too facing same problem. Plugin which wokrs for vsts 2012 is not supported by vsts 2013.
       Kindly reply me or suggests any other solution if you have.
    • Hi,
      For Visual Studio 2013 Coded UI Test Plugin for Silverlight, please visit- 
  • VS2013 support?
    1 Posts | Last post April 21, 2014
    • Hi there,
      Any updates on VS2013 support?
  • In SIlverlight application for user control. Control Type is consider as it's name in CUIT
    1 Posts | Last post April 08, 2014
    • Hi Everyone,
      I have create silver light sample application (Target silverlight version 4 and using VS 2012)
      When I add Assertion on Button and  move parent in application under test in Assertion form. CUIT is giving Control Type as it's user control name i.e "SilverLightUserControlForTest" but in other technologies it is identifying with Pane. For more details see the image
      Is this expected behavior?
  • Silver light support for Mozilla Firefox
    1 Posts | Last post March 28, 2014
    • Hello,
      We are using VSTS CodedUI for automation testing of Silverlight application. In CodedUI we are able to identify Silverlight control using UITestPluginForSilverlight dll. Automation Test for silverlight application is working fine in IE browser. Now, we have to execute test on Mozilla browser also, so we have used Selenium components for Coded UI Cross Browser Testing. We observed that CodedUI is not able to identify Silverlight controls in Mozilla browser.
      Can anyone guide us regarding Silverlight support in CodedUI for Mozilla browser ?  
  • In Silver light application CUIT - 2012 hierarchy showing wrongly
    1 Posts | Last post March 17, 2014
    • Please go through this link:
      and suggest me a solution.
  • In Silver light application CUIT - 2012 hierarchy showing wrongly
    1 Posts | Last post March 17, 2014
    • Please go through this link:
      and suggest me a solution.
1 - 10 of 23 Items