How do I view the contents of RadVirtualGrid?

1 Answer 19 Views
Elements WPF Testing
Tetsu
Top achievements
Rank 1
Tetsu asked on 17 Dec 2024, 02:09 PM

Hi,

I'm using Telerik Test Framework to test a WPF app on Windows. How do I see the contents of the RadVirtualGrid class? The way I'm accessing it is as follows:

using ArtOfTest.WebAii.Silverlight;
using Telerik.WebAii.Controls.Xaml.Wpf;
...
var virtualGrid = knownFrameworkElement.Find.ByType<RadVirtualGrid>();

The virtualGrid object is properly returned. However, no useful methods/properties are defined in the RadVirtualGrid class. Snoop cannot see the contents, either.

Does anyone know how to get the contents of RadVirtualGrid? I had no problem grabbing the RadGridView class. But we recently changed to the virtual grid.

Any suggestions would be appreciated.

Tetsu

1 Answer, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 19 Dec 2024, 09:59 AM

Hi Tetsu,

The RadVirtualGrid class is an empty one is not supposed to be used for automating a grid in a WPF app. I guess that you need to use the RadGridView instead. In this KB article you can also find a sample for iterating through the cells of a grid.  

I hope this information helps you continue your test project. 

Regards,
Elena
Progress Telerik

Virtual Classroom is the free self-paced technical training portal that gets you up to speed with Telerik and Kendo UI products including Telerik Test Studio! Check it out at https://learn.telerik.com/.
Tags
Elements WPF Testing
Asked by
Tetsu
Top achievements
Rank 1
Answers by
Elena
Telerik team
Share this question
or