Coded UITests for Silverlight 5 RTM
-
Thursday, December 15, 2011 7:14 AM
We're developing an application using Silverlight 5 RTM and we'd like to test it using the Coded UI Tests in Visual Studio Premium (Automated testing). But when recording the tests an error occurs: 'An exception occured when trying to discover information about a Silverlight control.'
(only the main usercontrol is detected)I use Visual Studio 2010 Premium SP1, Silverlight 5 RTM, Silverlight 5 RTM Tools and I have installed Feature Pack 2.
The silverlight application has a reference to the SilverlightUIAutomationHelper.dll and the controls have an AutomationId.
(When testing a Silverlight 4 application all works fine).Does the current version of Visual Studio supports Coded UITests for Silverlight 5?
If it’s not supported, when will it be supported?Peter Lock
Rayo Negro B.V.
All Replies
-
Friday, December 16, 2011 4:47 AMModerator
We do not have support for Silverlight 5.0 in the Visual Studio 11 CTP or Visual Studio 2010 Feature Pack 2.
We have not finalized our plans for Silverlight 5.0 support timelines.- Marked As Answer by Mathew Aniyan MSFT'Microsoft Employee, Moderator Friday, December 16, 2011 4:47 AM
- Marked As Answer by Mathew Aniyan MSFT'Microsoft Employee, Moderator Friday, December 16, 2011 5:58 AM
-
Thursday, March 08, 2012 2:37 PM
Hi Matthew,
are there any news about the SilverlightUIAutomationHelper.dll support with Silverlight 5?
Thanking you in advance.
Tobias
-
Wednesday, March 21, 2012 7:18 AM
Hi Mathew,
Is the support timeline set for Silverlight 5? There's a lot invested in Silverlight 5, thats why we are anxious and worried.
Hopeful for answer
Magnus
-
Monday, May 07, 2012 6:24 PMAny update on Sliverlight 5's support?
George Cai
-
Monday, May 07, 2012 9:07 PM
There is now support for Silverlight 5 in coded UI... for what is worth!!!!
Rant On...
The implementation as an automated testing tool in Visual Studio is a joke. It is nothing more than a tarted up unit test tool. Object management is the single biggest issue. If you are automation an enterprise sized application then object maintenance will become almost impossible.
Come on Microsoft introduce some smarts into this tool in the object maintenance space. The market is waiting for a real alternative to the current market leader Coded UI could be it if you got smart about object maintenance.
Rant Off…

