Using the Telerik testing framework, I am able to locate, and interact with, standard WPF controls in my app. However I cannot use the same methods to find Telerik elements.
It does say on the Telerik Testing Framework web page that the framework has native support for WPF Telerik controls, so I imagine I'm missing something obvious.
The error I get when trying to use:
var grid = myApp.MainWindow.Find.byName<RadGridView>("GridName");
is:
"The type 'Telerik.Windows.Controls.RadGridView' cannot be used as type parameter 'T' in the generic type or method 'ArtOfTest.WebAii.Silverlight.VisualFind.ByName<T>(string)'. There is no implicit reference conversion from 'Telerik.Windows.Controls.RadGridView' to 'ArtOfTest.WebAii.Controls.Xaml.IFrameworkElement'."
I've seen others using the Testing Framework to find Telerik elements, but I can't work out how to do it myself.
Thanks in advance.