Microsoft Visual Studio 2013 Coded UI Test Plugin for Silverlight

Free

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
2013
Download (3,095)
8/6/2014
1.0
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (7)
Q and A (14)
Sign in to write a review
Sort by:

by rayrudd | April 22 2015

Again?

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

http://social.msdn.microsoft.com/Forums/vstudio/en-US/b8aec858-98e6-41d7-8671-1e1948e13eb7/coded-ui-thread-is-dead-priority-can-not-be-assessed-while-create-a-coded-ui-test-for?forum=vstest.

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 http://msdn.microsoft.com/en-us/library/gg313838%28v=vs.100%29.aspx 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)
ie11
,
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 http://go.microsoft.com/fwlink/?linkid=299901
..

is this plugin working?

Sign in to start a discussion


  • 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,
      Raja
      
    • @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.
      
      Thanks.
      
      
      
      
    • @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
      
      Regards,
      Prakash
    • Hi Prakash,
      Coded UI is only supported in Premium and Ultimate. The offerings link helps: https://www.visualstudio.com/en-us/products/compare-visual-studio-products-vs.aspx
      
      - Abhitej.
  • Unable to Install Plugin
    2 Posts | Last post May 02, 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):
      HKLM\SOFTWARE\Microsoft\DevDiv\vs\Servicing\12.0\testprofessional\
      
      Please verify if these registries are set and get back if you are still facing the issue.
      
      Thanks.
  • 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 http://go.microsoft.com/fwlink/?LinkId=204562"
    • 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 - http://msdn.microsoft.com/en-IN/library/gg413374(v=vs.100).aspx
      and make sure you haven't missed any steps.
    • the link http://msdn.microsoft.com/en-IN/library/gg413374(v=vs.100).aspx 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).
      
      Thanks.
  • 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
      
      Thanks.
      
      
  • 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="http://go.microsoft.com/fwlink/?LinkID=149156&amp;v=4.0.50401.0" style="text-decoration:none">&#13;&#10; &#9;&#9;&#9;      <img src="http://go.microsoft.com/fwlink/?LinkId=161376" &#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 - http://msdn.microsoft.com/en-IN/library/gg413374(v=vs.100).aspx
      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?
  • Coded UI:- "Thread is dead; priority can not be assessed" while create a Coded UI test for silverlight
    3 Posts | Last post October 07, 2014
    • Getting error "Thread is dead; priority can not be assessed" always when i record a test for silverlight application.
    • http://social.msdn.microsoft.com/Forums/vstudio/en-US/b8aec858-98e6-41d7-8671-1e1948e13eb7/coded-ui-thread-is-dead-priority-can-not-be-assessed-while-create-a-coded-ui-test-for?forum=vstest#555f5275-7864-4326-8ee8-247fd9d495f8
    • I have responded on the forum as well, but just to reiterate. Please make sure you are on VS 2013 RTM or Update 3. This is not supported with VS 2013 Update 1 or 2.
  • Debug Trace
    9 Posts | Last post September 24, 2014
    • could you please deactivate the debug trace of the plugin ? 
      
      http://stackoverflow.com/questions/25076622/vs2013-coded-ui-tests-how-to-disable-logging/25085190?noredirect=1#comment39170569_25085190
      
      Debug Trace:
      I, 3680, 21, 2014/08/07, 15:08:15.854, 67685545824, QTAgent32, SLPlugin: Trying to use Port 4503
      I, 3680, 21, 2014/08/07, 15:08:15.854, 67685546496, QTAgent32, SLPlugin: Started listening on Port 4503
      I, 3680, 21, 2014/08/07, 15:08:15.854, 67685546581, QTAgent32, SLPlugin: Trying to use Port 943
      I, 3680, 21, 2014/08/07, 15:08:15.854, 67685547057, QTAgent32, SLPlugin: Started listening on Port 943
      I, 3680, 25, 2014/08/07, 15:08:15.884, 67685643545, QTAgent32, SLPlugin : Start Session Invoked
      I, 3680, 25, 2014/08/07, 15:08:15.884, 67685643743, QTAgent32, SLPlugin: Trying to use Port 4503
      I, 3680, 25, 2014/08/07, 15:08:15.884, 67685644430, QTAgent32, SLPlugin: Started listening on Port 4503
      I, 3680, 25, 2014/08/07, 15:08:15.884, 67685644521, QTAgent32, SLPlugin: Trying to use Port 943
      I, 3680, 25, 2014/08/07, 15:08:15.884, 67685644906, QTAgent32, SLPlugin: Started listening on Port 943
      V, 3680, 25, 2014/08/07, 15:08:15.884, 67685646328, QTAgent32, PERF: SLPlugin: StartSession: took 0 ms
    • Please do it asap, because its really blocking me.
    • Hi Issamo,
      Please refer to the below post:
      http://blogs.msdn.com/b/kavipriya_adhinarayanan/archive/2014/08/14/turning-off-trace-logs-for-coded-ui-test-silverlight-plugin.aspx
    • Hello Kavipriya A,
      Thank you for your answer, I did what you explain on your post, but doesn't help either :(
      
      [ClassInitialize]
      public static void MyClassInitialize(TestContext testContext)
      {
         System.Diagnostics.Trace.Listeners.Clear();
      }
      
    • Hi Issamo,
      As mentioned in the post, this would not turn off the lines that are logged during plugin load (the ones in your comment are during plugin load). Anything that gets logged after we invoke Listeners.clear would not appear in the output.
    • Thank you Kavipriya A,
      This is exactly my problem, its not a issue to have "some debug lines during the load of the plugin loading phase" but in my case, I'm getting all the debug lines (48200 line) !!!
      I, 5788, 14, 2014/08/21, 10:56:24.931, 3737922638408, QTAgent32, SLPlugin: Trying to use Port 4503
      I, 5788, 14, 2014/08/21, 10:56:24.931, 3737922639369, QTAgent32, SLPlugin: Started listening on Port 4503
      I, 5788, 14, 2014/08/21, 10:56:24.931, 3737922639476, QTAgent32, SLPlugin: Trying to use Port 943
      I, 5788, 14, 2014/08/21, 10:56:24.931, 3737922639859, QTAgent32, SLPlugin: Started listening on Port 943
      I, 5788, 23, 2014/08/21, 10:56:24.963, 3737922744119, QTAgent32, SLPlugin : Start Session Invoked
      ...
      ...
      ...
      W, 5788, 14, 2014/08/21, 11:00:02.841, 3738644497262, QTAgent32, SLPlugin : SendMessage Failed : An existing connection was forcibly closed by the remote host
      W, 5788, 14, 2014/08/21, 11:00:02.841, 3738644497344, QTAgent32, SlPlugin.SendMessage: SendMessage failed hence throwing ControlNotAvailableException
      V, 5788, 14, 2014/08/21, 11:00:02.841, 3738644497945, QTAgent32, PERF: SLPlugin: StopSession: took 0 ms
      W, 5788, 26, 2014/08/21, 11:00:02.843, 3738644503108, QTAgent32, SLPlugin : StopSession of the plugin called before StartSession
    • I means, it still not working for me :(
    • Thank you, It works now, I was mistaking. The Class initialize method is not walled from derived classes. Now it works after putting the code in base class constructor.
      Thx.
    • Still not working for me, waiting for solution
      
      http://social.msdn.microsoft.com/Forums/vstudio/en-US/b8aec858-98e6-41d7-8671-1e1948e13eb7/coded-ui-thread-is-dead-priority-can-not-be-assessed-while-create-a-coded-ui-test-for?forum=vstest
1 - 10 of 14 Items