Although the AutomationProperties.AutomationId
is empty by default, you should still be able to create Coded UI tests for RadTreeView
Basically the AutomationProperties.AutomationId
is used to differentiate a UI Automation element from its siblings. However this property is not mandatory and if it is not set the search criteria in the Coded UI test may use other control's properties like name, class name, help text, etc. In case you need one more search criteria, which to identify better the element you want to verify you can set the AutomationProperties.AutomationId
property in XAML, code behind or via binding to your ViewModel.