thank you very much for your response!
Generally , if you need to generate a particular item, you need to ensure that all of its predecessors are expanded. You can do so manually or with GetItemByPath method.
So, in other words, there is no way to ensure all node items are loaded at startup? But, then, what is the LoadOnDemand Property for?
And GetItemByPath() is not controllable by the UI test, is it?
WpfRadTreeViewItem does not have IsExpanded property - this is Coded UI LEvel 4 Support which we do not support currently.
Well, in my version of Telerik for Wpf (2013.3.1316.40) I'm using the Telerik.VisualStudio.TestTools.UITesting.WpfControls.WpfRadTreeViewItem class and this class offers an IsExpanded() and an IsSelected() property, the code compiles and when setting the property I get the error described above. If you currently do not support this feature, I highly recommend to remove those properties in order not to confuse your users with unimplemented interfaces.
Sorry, but I see no stable and correct way on how to control the RadTreeView by an coded UI test anyway. To be honest I'm a bit disappointed because I think especially the RadTreeView is a important component for the navigation within the application. So it is very hard to coded-ui-test applications that are using the RadTreeView in any way.
All what's missing is either allow the application to load all nodes at once at startup or implement the IsExpanded and IsSelected properties of the WpfRadTreeViewItem class. Or both :-)
Thanks again and best regards,