This is a migrated thread and some comments may be shown as answers.

Bug with RadTreeListView

2 Answers 73 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dumitru
Top achievements
Rank 1
Dumitru asked on 23 Feb 2012, 12:25 PM
Hello to everyone.

We are using the latest version of testing framework (1413) and we have problems when we try to access items of a RadTreeListView. You can easily reproduce this bug if you run the TreeListVIewStructureTest that is in the example solution that installs with framework. See this Screenshot
We tested it and looks like actually the list view is found, but if you try to access TreeListItems, it gives this exception. 
It would be great if you could provide at least a workaround for this bug.

2 Answers, 1 is accepted

Sort by
0
Dumitru
Top achievements
Rank 1
answered on 27 Feb 2012, 09:32 AM

Is there anybody alive out there?

0
Cody
Telerik team
answered on 01 Mar 2012, 01:14 AM
Hello Dumitru,

I apologize for the delay responding back to you (we're slightly overloaded in tech support at the moment).

I have confirmed this is a bug in the RadTreeListView translator. I have filed a bug on this here.

As a workaround you can use code like this:

RadTreeListView tree = ActiveBrowser.SilverlightApps()[0].FindName<RadTreeListView>("RadTreeListView1");
IList<GridViewHeaderCell> headers = tree.Find.AllByType<GridViewHeaderCell>();
 
Log.WriteLine(headers.Count.ToString());


All the best,
Cody
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Dumitru
Top achievements
Rank 1
Answers by
Dumitru
Top achievements
Rank 1
Cody
Telerik team
Share this question
or