Microsoft Visual Studio UI Test Plugin for Silverlight

Free

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

(14) Review
Visual Studio
2012
Download (10,605)
8/6/2014
1.0
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (14)
Q and A (21)
Sign in to write a review
Sort by:

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.

Edit:
Gorab, check this for IE9/IE10 problems: http://blogs.msdn.com/b/visualstudioalm/archive/2013/09/17/coded-ui-mtm-issues-on-internet-explorer-with-kb2870699.aspx

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..
Plugin-Yes
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.

Thanks
Aparna.

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?

Thanks,

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​rosoft.com/en-u​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 |
Delete

Ray,

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 - http://msdn.microsoft.com/en-us/library/gg313838.aspx

Mathew.

Sign in to start a discussion


  • 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.
      
      Regards,
      Vaibhav
  • 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.
      Thanks,
      
    • Hi,
      For Visual Studio 2013 Coded UI Test Plugin for Silverlight, please visit- 
      
      http://visualstudiogallery.msdn.microsoft.com/51b4a94a-1878-4dcc-81e0-7dc92131d2da
  • 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?
      
      Thanks,
      Mikhail
    • Hi,
      
      I also need to autmate test against Silverlight using VS 2013. 
      Will it be an updated plugin for VS 2013?
      
      BR,
      
      /Niklas
    • 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.
      thanks,
      
    • Hi,
      For Visual Studio 2013 Coded UI Test Plugin for Silverlight, please visit- 
      
      http://visualstudiogallery.msdn.microsoft.com/51b4a94a-1878-4dcc-81e0-7dc92131d2da
      
  • VS2013 support?
    1 Posts | Last post April 21, 2014
    • Hi there,
      
      Any updates on VS2013 support?
      
      Thanks,
      Binoy
  • 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:
      
      http://social.msdn.microsoft.com/Forums/vstudio/en-US/20d9c924-f1b9-422a-9735-4434aba741ef/in-silver-light-application-cuit-2012-hierarchy-showing-wrongly?forum=vstest
      and suggest me a solution.
      
      Regards,
      Rajendar.
  • In Silver light application CUIT - 2012 hierarchy showing wrongly
    1 Posts | Last post March 17, 2014
    • Please go through this link:
      
      http://social.msdn.microsoft.com/Forums/vstudio/en-US/20d9c924-f1b9-422a-9735-4434aba741ef/in-silver-light-application-cuit-2012-hierarchy-showing-wrongly?forum=vstest
      and suggest me a solution.
      
      Regards,
      Rajendar.
  • In SIlverlight application for user control. Control Type is consider as it's name in CUIT
    1 Posts | Last post March 17, 2014
    • Please go through this link:
      
      http://social.msdn.microsoft.com/Forums/vstudio/en-US/746ed875-a60b-487b-8f13-bea2e2b14e06/in-silverlight-application-for-user-control-control-type-is-consider-as-its-name-in-cuit?forum=vstest:
      
      And Suggest me a solution.
      
      Regards,
      Rajendar.
  • Coded ui controls issue for silverlight controls after adding plugin
    4 Posts | Last post February 14, 2014
    • Hi Mathew,
      I have installed the Plugin for Silverligth 5 and Still i cannot get the Silverlight 5 application to work with codedUI. Refences have been added as specified by your documentation.After adding reference to the codeduiproject and try to perform record/spy its getting discarded.  The Coded UI Test builder states that there are" no Sliverlight controls detected" .Please advise as to how I might be able to get the Coded UI test builder to identify the Silverlight 5 controls.
    • I am having the same issue. I referenced all the assemblies required but whenever I tried to click on a control on Silverlight page, it goes: anyone shed some light on this? thanks!
      
      Chu
      
      
      ---------------------------
      Error
      ---------------------------
      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 http://go.microsoft.com/fwlink/?LinkId=204562
      ---------------------------
      OK   
      ---------------------------
      
    • And I am using VS2012 RTM.
    • In order to use the Silverlight automation, in addition to adding references in VS in your Coded UI Project, there also needs to be a DLL and code references in the application.
      
      http://msdn.microsoft.com/library/gg313838.aspx
      
      The above link should help you identify what's needed. Without the SilverlightAutomationHelper(sic) dll in the application that's to be tested, you'll continue to get that error.
      
      Hope that helps!
1 - 10 of 21 Items