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.
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?
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?
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.microsoft.com/en-us/library/gg313838.aspx. Yes, otherwise it would not recognize any controls at all.
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.
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
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.
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
width="100%" height="100%" data="data:application/x-oleobject;base64,QfXq3+HzJEysrJnDBxUISgAJAAAGxgAAvl0AAAwAAAB3AGgAaQB0AGUAAAAAAAAAAAAAAAAAAACEAAAALwBjAG8AbQBwAG8AbgBlAG4AdABzAC8AcABzAG8AYwBvAHIAZQAvAGQAbwBjAHUAbQBlAG4AdABzAC8AQwBsAGkAZQBuAHQAQgBpAG4ALwBQAFMATwBSAGUAcABvAHIAdABpAG4AZwBEAGEAcwBoAGIAbwBhAHIAZAAuAHgAYQBwAAAAPAAAAP//AAAmAAAAbwBuAFMAaQBsAHYAZQByAGwAaQBnAGgAdABFAHIAcgBvAHIAAAAAAAAAAAAAAAAAAAAaAAAAcABsAHUAZwBpAG4ATABvAGEAZABlAGQAAAAeAAAAcgB1AG4AbQBvAGQAZQA9AFYATQAyADAAMQAzAAAAAAAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAABgAAAA0AC4AMAAuADUAMAA0ADAAMQAuADAAAAAKAAAAdAByAHUAZQAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAA==" type=application/x-silverlight-2 altHtml=' 		 		 		 		 		 		 		 		 <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.50401.0" style="text-decoration:none"> 			 <img src="http://go.microsoft.com/fwlink/?LinkId=161376" 			 alt="To view this content, please install Microsoft Silverlight 4.0.50401.0" style="border-style:none" /> 		 </a> 	 ' 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.
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?
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?
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.
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.
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?
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 ?
Please go through this link:
and suggest me a solution.
Please go through this link:
and suggest me a solution.