Microsoft Visual Studio 2013 Coded UI Test Plugin for Silverlight


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

(7) Review
Visual Studio
Download (4,089)
E-mail Twitter Digg Facebook
Add to favorites
Reviews (7)
Q and A (16)
Sign in to write a review
Sort by:

by rayrudd | April 22 2015


by Kibosh04 | December 01 2014

Once installed (UITestPluginForSilverlightVS2013.msi)and new ref set. The Coded UI UIMap will see the controls in Silverlight 5 (Browser IE10), but will not play them back/locate them. Back to Ranorex it is. If there is some secret to get this to work correctly please enlighten me. I have a great need to automate Silverlight applications with Coded UI. Ranorex is very limited but does work.

by Ankitkumar | September 24 2014

Please refer this link

by Shailesh Anand | August 04 2014

its not working for me ,when i tried to follow the steps provided.

by DispatchDispatch | June 04 2014

I've the same problem as kaesaros.

I followed this but I still have the mistake.

Did I miss anything ?
Is there a fix to be planned ?

// Edit
I was using the Update 2 version, I updated and it seems to work.
However I've some problems with some controls such as AutoCompleteBox or HyperLinkButton.
Why ?

by JoonaK | June 03 2014

The plugin works nicely for my team.

by kaesaros | May 28 2014

is this working?

I my case
win 7 64bit,
vs2013 ultimate en,
silverlight 5 (64)
when try to recode coded ui tool and click control on sample silverlight site with ie11
then got message "thread not work..blabla~
and alert, error... go to

is this plugin working?

Sign in to start a discussion

  • TEst plugin for VS 2015
    2 Posts | Last post Fri 3:18 PM
    • Hi when will the test plugin for VS 2015 will be relaesed ?
    • You can find the plugin for VS 2015 at
  • Want to use it with VS 2015 Enterprise
    2 Posts | Last post November 17, 2015
    • Is there any way I can use it with Visual Studio 2015 Enterprise. When I try to install it, it is giving error that I should have VS 2013 in order to install it
    • AS of now you can only use it with VS 2013. Microsoft will have to release a new plugin for VS 2015
  • Unable to Install Plugin
    3 Posts | Last post August 27, 2015
    • When attempting to install the plugin on a machine with one of the supported VS SKUs (Visual Studio Test Professional 2013 w/ Update 4), we get the following message:
      "To install Microsoft Visual Studio UI Test Plugin for Silverlight, you must have one of the following Visual Studio 2013 SKUs installed on your computer: Ultimate, Premium, Test Professional, Test Agent, Test Controller, Team Foundation Server."
      Any suggestions?
    • Installation checks for below registry entry 
      (64 bit machine): HKLM\SOFTWARE\Wow6432Node\Microsoft\DevDiv\vs\Servicing\12.0\testprofessional\
      (32 bit machine):
      Please verify if these registries are set and get back if you are still facing the issue.
    • Hi I 've 2013 ultimate installed on my system and there is no registry entry in
      (64 bit machine): HKLM\SOFTWARE\Wow6432Node\Microsoft\DevDiv\vs\Servicing\12.0\testprofessional\
      I am getting same error 
      Any suggestions?
  • Where to install UITestPluginForSilverlightVS2013.msi in a hosted environment?
    5 Posts | Last post July 10, 2015
    • Hi,
      Is it required to install  UITestPluginForSilverlightVS2013.msi on silverlight application hosted  www servers because it need to have Visual studio 2013 premium installed on hosted servers too. 
      So, are you sure Microsoft Visual Studio 2013 Coded UI Test Plugin need
      to be installed on hosted server especially because the dll refered is packed in xap?
      Please clarify where to install the UITestPluginForSilverlightVS2013.msi in an environment where Silverlight application is hosted on server(s) and build using build servers?
    • Hi Guys,
      I am using Visual Studio 2013 Ultimate Coded UI on Silverlight 5 App and trying to automate our application.
      I have generated different methods, like Launch Browser, Enter Credentials and Click on 
      Login Button. Till this point everything is working fine but, from here page gets navigated
      to Silverlight 5 page, where I am able to record but unable to play back.
      Another thing is I am unable to see my Silverlight controls using the CUI Cross-Hair/Spy. 
      It just shows UIItemCustom for complete page, even when I click on different tabs on SL Page.
      Interesting thing is my playback is working on SL page when 
      I manually (without using automated code) navigate to the SL Page and just running the methods for
      SL Page. But, unable to playback all Aspnet and SL pages. 
      I have added the references that are provided here in all my projects.
      Test Name:	CodedUITestMethod1
      Test Outcome:	Failed
      Result Message:	
      Test method CodedUITestProject1.CodedUITest1.CodedUITestMethod1 threw exception: 
      Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException: Unable to find Windows Internet Explorer window with 'ABCD Dashboard - Internet Explorer' in the title. ---> Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException: The playback failed to find the control with the given search properties. Additional Details: 
      TechnologyName:  'MSAA'
      ControlType:  'Window'
      Name:  'ABCD Dashboard - Internet Explorer'
      ClassName:  'IEFrame'
       ---> System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.
      Result StandardOutput:	
      Debug Trace:
    • I, 16812, 22, 2015/07/01, 19:37:10.192, 1487056386576, QTAgent32, SLPlugin: Trying to use Port 4503
      I, 16812, 22, 2015/07/01, 19:37:10.192, 1487056387907, QTAgent32, SLPlugin: Started listening on Port 4503
      I, 16812, 22, 2015/07/01, 19:37:10.192, 1487056388189, QTAgent32, SLPlugin: Trying to use Port 943
      I, 16812, 22, 2015/07/01, 19:37:10.192, 1487056388955, QTAgent32, SLPlugin: Started listening on Port 943
      I, 16812, 22, 2015/07/01, 19:37:10.305, 1487056686677, QTAgent32, SLPlugin : Start Session Invoked
      I, 16812, 22, 2015/07/01, 19:37:10.306, 1487056687259, QTAgent32, SLPlugin: Trying to use Port 4503
      I, 16812, 22, 2015/07/01, 19:37:10.306, 1487056688341, QTAgent32, SLPlugin: Started listening on Port 4503
      I, 16812, 22, 2015/07/01, 19:37:10.306, 1487056688676, QTAgent32, SLPlugin: Trying to use Port 943
      I, 16812, 22, 2015/07/01, 19:37:10.306, 1487056689462, QTAgent32, SLPlugin: Started listening on Port 943
      V, 16812, 22, 2015/07/01, 19:37:10.308, 1487056693629, QTAgent32, PERF: SLPlugin: StartSession: took 2 ms
      I, 16812, 15, 2015/07/01, 19:39:56.056, 1487493714319, QTAgent32, SLPlugin : Stop Session Invoked
      W, 16812, 9, 2015/07/01, 19:39:56.058, 1487493721083, QTAgent32, SLPlugin : Server Socket Closed
      V, 16812, 15, 2015/07/01, 19:39:56.059, 1487493722227, QTAgent32, PERF: SLPlugin: StopSession: took 2 ms
      W, 16812, 6, 2015/07/01, 19:39:56.086, 1487493793776, QTAgent32, SLPlugin : StopSession of the plugin called before StartSession
      Could you guys please let me know, what I am missing here. 
      Thank you,
    • @IamHereForYou, you do not need to install the plugin on the hosting servers. You need to add a reference to "Microsoft.VisualStudio.TestTools.UITest.Extension.SilverlightUIAutomationHelper" in your Silverlight application. Now since this dll is part of the application you do not need to install the plugin on the hosting server.
      The plugin needs to be installed on the machine where you are trying to test the application, because Coded UI Test needs the plugin to be able to Identify/automate Silverlight controls.
      I hope that clarifies your doubt.
    • @SKRR
      The symptoms that you have mentioned indicate that "Microsoft.VisualStudio.TestTools.UITest.Extension.SilverlightUIAutomationHelper" has not been added to your Silverlight application.
      Please make sure your application has the reference to this helper dll. This dll is vital for Coded UI Test builder to be able to recognize the Silverlight controls. Also make sure that Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight dll is present at %Program Files%\Common Files\Microsoft Shared\VSTT\12.0\UITestExtensionPackages.
      Hope that helps. Thanks.
  • Is this supported for VS2013 Professional?
    2 Posts | Last post June 03, 2015
    • Hi,
      Our development team using Visual Studio 2013 Professional version. Can we reference this Dll "Microsoft.VisualStudio.TestTools.UITest.Extension.SilverlightUIAutomationHelper" in VS 2013 professional version and make it work?
      The CodedUI team obviously using VS2013 Ultimate to consume if it works.
      Please clarify ASAP
    • Hi Prakash,
      Coded UI is only supported in Premium and Ultimate. The offerings link helps:
      - Abhitej.
  • unable to identify Silverlight controls
    4 Posts | Last post May 02, 2015
    • Hi,
        I am using Visual Studio 2013 for my CodedUI project.
      I have to code autoamtion for an out-of-browser Silverlight 5 applciation.
      The SilverlightUIHelper.dll has been added by the developer in the actual Silverlight applciation and code has been built using the reference to the dll.
      After installing the updated code and trying to use the object spy from Visual Studio 2013 with the plugin installed, I am still unabel to get the object properties. I see the following error:
      What are we missing here? Please help....
      "No Silverlight controls were detected. Verify that the application under test is built using Silverlight assemblies with a version of 4.0 or greater and that a reference to the Microsoft.VisualStudio.TestTools.UITest.Extension.SilverlightUIAutomationHelper.dll assembly has been added to the project. For more information, see"
    • Apologies for a delayed response. 
      I hope by SilverlightUIHelper.dll you meant Microsoft.VisualStudio.TestTools.UITest.Extension.SilverlightUIAutomationHelper.dll 
      Please ensure you are on VS 2013 RTM on Update 3 (the plugin is not supported with Update 1 or 2).
      If things are still not working for you, please go through this post -
      and make sure you haven't missed any steps.
    • the link is to VB 2010, no 2013 update 4
    • The steps remain the same. 
      Just make sure you have VS2013 RTM or Update 3+ (not supported for Update 1 and 2).
  • SilverlightUIAutomationHelper isn't in the plugin
    2 Posts | Last post May 02, 2015
    • This dll isn't in the plugin, I need this to test silverlight 5
    • Can you please specify which dll is being referred to here? 
      if you are pointing to Microsoft.VisualStudio.TestTools.UITest.Extension.SilverlightUIAutomationHelper.dll, for a clean plugin install, it can be found at %ProgramFiles%\Common Files\Microsoft Shared\VSTT\12.0\UITestExtensionPackages\SilverlightUIAutomationHelper\v5.0
  • Coded UI For SL5 and Visual Studio Ultimate 2013/IE10
    1 Posts | Last post January 05, 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 xaml page. Also as I try to add an assertion it focuses on the main parent window(aspx page) that hosts the Silverlight app. The SL app is hosted inside an Object tag. 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+HzJEysrJnDBxUISgAJAAAGxgAAvl0AAAwAAAA==" 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 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.
  • Source code?
    1 Posts | Last post November 19, 2014
    • Thank you so much for creating the plug-in for Silverlight support.
      I know that it has been done as an off-hands project by the Visual Studio team, but is there a chance of getting the source code for this plug-in so that we have it handy when we face any issues.
      -Thanks much!
  • Coded Ui test builder (VSTS2013) is unable to spy the Silverlight 5 controls
    4 Posts | Last post October 14, 2014
    • Coded Ui test builder (VSTS2013) is unable to spy the  Silverlight 5 controls,after using this plugin also.
    • Hi Shailesh
      Please ensure you are on VS 2013 RTM on Update 3 (the plugin is not supported with Update 1 or 2).
      If things are still not working for you, please go through this post -
      and make sure you haven't missed any steps.
    • Hi Srishti
      I am using VS2013 Ultimate with Update 3, but still Coded Ui test builder is unable to spy the  Silver light 5 controls in our existing application. I had already tried the above mentioned MSDN link and raised MSDN ticket also but they suggested that this plugin is not officially  released by Microsoft. So Please suggest some solution for this issue.    
    • The plugin for VS 2013 supports only Silverlight 5.0. Can you confirm your app is compliant. Can you also confirm that you have successfully compiled your application under test with the spy helper dll that you would have got with the plugin?
1 - 10 of 16 Items