Hi,
The Telerik RadControls used in the Silverlight application I'm testing have been recently upgraded (just today) using RadControls_for_Silverlight_4_2010_2_0812 version. I'm now encountering an Invalid Cast Exception. The error message is like this:
InnerException:
ArtOfTest.WebAii.Silverlight.ExecuteSilverlightCommandException: [Silverlight Extension Error] Details: System.InvalidCastException: Error 0x17E0. Debugging resource strings are unavailable. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.50524.0&File=mscorrc.dll&Key=0x17E0
at Telerik.Windows.Controls.ListBoxItem.OnCreateAutomationPeer()
at System.Windows.Automation.AutomationProperties.GetAutomationId(DependencyObject element)
at ArtOfTest.SLExtension.ClientServices.GetXmlFromNode(DependencyObject element, Boolean isClosing)
at ArtOfTest.SLExtension.ClientServices.SerializeNode(DependencyObject root, StringBuilder sb, List`1 popups)
at ArtOfTest.SLExtension.ClientServices.SerializeNode(DependencyObject root, StringBuilder sb, List`1 popups)
...
The erring line looks like this:
This test has been passing before the upgrade (yesterday). I also tried running other tests with the same line (pages with RadComboBoxItems) - the same error is encountered. I am using an internal build for the tool: Telerik.WebUI.TestStudio.QA.2010.2.818, which I installed and tested before this upgrade. Can you please help me resolve this issue?
Regards,
QA
The Telerik RadControls used in the Silverlight application I'm testing have been recently upgraded (just today) using RadControls_for_Silverlight_4_2010_2_0812 version. I'm now encountering an Invalid Cast Exception. The error message is like this:
InnerException:
ArtOfTest.WebAii.Silverlight.ExecuteSilverlightCommandException: [Silverlight Extension Error] Details: System.InvalidCastException: Error 0x17E0. Debugging resource strings are unavailable. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.50524.0&File=mscorrc.dll&Key=0x17E0
at Telerik.Windows.Controls.ListBoxItem.OnCreateAutomationPeer()
at System.Windows.Automation.AutomationProperties.GetAutomationId(DependencyObject element)
at ArtOfTest.SLExtension.ClientServices.GetXmlFromNode(DependencyObject element, Boolean isClosing)
at ArtOfTest.SLExtension.ClientServices.SerializeNode(DependencyObject root, StringBuilder sb, List`1 popups)
at ArtOfTest.SLExtension.ClientServices.SerializeNode(DependencyObject root, StringBuilder sb, List`1 popups)
...
The erring line looks like this:
IList<Telerik.WebAii.Controls.Xaml.RadComboBoxItem> list = Pages.GRCPlatform.SilverlightApp.AssignedDropDownWatermarkcombobox.Find.AllByType<Telerik.WebAii.Controls.Xaml.RadComboBoxItem>();
This test has been passing before the upgrade (yesterday). I also tried running other tests with the same line (pages with RadComboBoxItems) - the same error is encountered. I am using an internal build for the tool: Telerik.WebUI.TestStudio.QA.2010.2.818, which I installed and tested before this upgrade. Can you please help me resolve this issue?
Regards,
QA