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.

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

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


  • Coded UI:- "Thread is dead; priority can not be assessed" while create a Coded UI test for silverlight
    2 Posts | Last post 7:38 AM
    • 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
  • Debug Trace
    7 Posts | Last post Fri 8:42 AM
    • 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 :(
  • Not working
    5 Posts | Last post August 21, 2014
    • Hi, 
      I am using latest version of plugin. I already updated VS2013 to update 3. I added the dll to projects. And I tried to use different browsers. (IE,Chrome,FF)
      
      Our Silverlight app when I am trying to map controls Coded Ui Test Builder is marking entire app in giant blue box. Like there is only one big control:
      ******ManagementInternWindow.******ManagementDocument.**SilverlightControlHoPane.**ItemCustom 
      
      Controls have unique IDs. For simply project (one button) it works but for our production app with dll or without it notice only one big control.  
    • Hi
      It looks like your project controls are all custom controls. We support custom controls limited to the ones derived from the Silverlight toolbox itself. How is the App authored?
      
      Also, Silverlight plugin is only supported in IE. Not with firefox\chrome.
    • Maybe there are customs control but at first is logging box created by Silverlight controls. 
      
      The Silverlight app is embedded iside of page. (xap inside silverlight control) I think that is making the test impossible. 
    • Problem was caused by
      <param name="windowless" value="true" />
      in Default.aspx 
      
      Thanks for help. 
    • @Nemeczekes, thanks for that!  I found that our application is using that on individual .aspx pages and removing that worked.
  • Installation Query
    2 Posts | Last post August 14, 2014
    • Thank you for creating the Microsoft Visual Studio 2013 Coded UI Test Plugin for Silverlight.
      
      I do have one question regarding installation. When we are trying to install the plugin on one of our servers, we are receiving the following error:
      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, ........
      
      even though there is one of the required skus installed on the PC, here are the versions of VS and OS:
      
      Visual Studio Premium 2013   (Version: 12.0.21005.1 REL)
      OS: Windows Server 2008 R2
      
      Please could you tell me in detail what the installation is checking for, as the installation of VS seems to be ok and fit the requirements for the plugin and therefore I am unsure of how I can locate the source of the problem.
      
      Any help you could give to me would be greatly appreciated. Thank you.
    • Hi Mike,
      
      Installation checks for below registry entry 
      (64 bit machine): HKLM\SOFTWARE\Wow6432Node\Microsoft\DevDiv\vs\Servicing\12.0\Premium\
      (32 bit machine):
      HKLM\SOFTWARE\Microsoft\DevDiv\vs\Servicing\12.0\Premium\
      
      Please verify and get back if you are still facing this issue.
      
      Thanks,
      Sarabjot
  • Support for targeting .net 4 framework?
    2 Posts | Last post August 06, 2014
    • Hi.
      
      Thank you for Microsoft Visual Studio 2013 Coded UI Test Plugin for Silverlight v1.0.
      
      It seems referencing "C:\Program Files (x86)\Common Files\microsoft shared\VSTT\12.0\UITestExtensionPackages\Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll" only works with projects targeting the .net 4.5 framework.
      
      Otherwise, I get the following error during compilation:
      C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1696,5): warning MSB3274: The primary reference "Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0".
      
      Are there any plans to support projects which target the .net 4 framework?
      
      Thank you.
    • Hi,
      
      We currently do not have any plans for supporting projects with .net 4. But based on customer ask, we will add support in near future.
      
      Thanks. 
  • Issues with the Plugin
    6 Posts | Last post July 01, 2014
    • Hi Kirb_Dispatcher, kaeberos
      I can assure you that the plugin is very much working. Here are some points to help you  troubleshoot your issue:-
      
      1.	Could you please check VS-> Help -> About section and let me know the exact VS build that is installed on your machine? In case it isnt RTM or Update3 CTP1, that could potentially cause it. As mentioned in the description above - this plugin is not supported for Update1 or Update2.
      
      2.	Do you have only VS2013 on this machine or VS 2012 as well? If yes, do you have the VS2012 plugin installed as well? This would again not be a supported scenario.
      
      3.	Also, what is the approach you are taking for recording, have you compiled your App with the Silverlight helper dll? Is this helper dll of the newer version (present in the plugin on this page)- the one that comes with the latest plugin? If it is from the older plugin - it would not work.
      
      4. This plugin will only work with SL 5 applications. VS 2013 itself does not support Silverlight 5 applications.
      
      
    • I was on Update 2 version, just updated my comment.
      
      Thanks for your advice.
    • I still have some issues.
      The Coded UI works properly with basic Buttons but not with HyperLinkButton.
      Also, it's able to retrieve the click event on an AutoCompleteBox but it doesn't work while typing text in it.
      
      How's that ?
    • I would need more data as basic functionality on HyperlinkButtons and AutoCompleteBox works without any issues.
      
      1. Are you recording actions? Is the recording happening? After generating code, could you send me the code snippet that is added in UIMap.Designer.cs for the actions as well as the SearchProperties of the control? If you are hand coding, please send in the code snippet.
      2. Could you also print the exact error message you are getting if the error is during playback for each of them?
      3. For autocomplete box - are you saying that recording of text is not happening or playback? What is the exact error that gets thrown?
      4. What IE version are you on? Do you have Enhanced Protected Mode enabled? Are there any IE settings that are non-default?
    • Hello, how do I know if my VS build is RTM or Update3 CTP1?
      
      I looked in my about section and I see:
      
      Microsoft Visual Studio Ultimate 2013
      Version 12.0.21005.1 REL
      
      Microsoft .NET Framework
      Version 4.5.50938
      
      Thanks,
      
    • Nevermind, I have found the download to the latest update
      
      Visual Studio 2013 Update 3 CTP 2
      (http://www.microsoft.com/en-us/download/details.aspx?id=43130) and am currently installing.
      
      Hope it allows the plug-in to work.
      
      Thanks,