How to provide unique Automation Id's for cells or Rows inside radTreeListView

2 posts, 0 answers
  1. Rajendar
    Rajendar avatar
    70 posts
    Member since:
    Jun 2013

    Posted 05 Mar 2015 Link to this post

    Hi Everyone,

    I want automate RadTreeListView control using Coded UI. How can I provide unique Automation Id's to Rows and Cell to identify controls uniquely

      <Grid x:Name="LayoutRoot" >
            <telerik:RadTreeListView x:Name="radTreeListView"
                                AutoGenerateColumns="False" ShowColumnHeaders="False">
                    <telerik:TreeListViewTableDefinition ItemsSource="{Binding Items}" />
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" AutomationProperties.Name="{Binding Name}"  AutomationProperties.AutomationId="{Binding Name}"/>               

    But in code I am binding AutomationProperties.Name to some value but whenever I test control with CUIT AutomationId not coming which I have binded value


  2. Maya
    Maya avatar
    4062 posts

    Posted 05 Mar 2015 Link to this post

    Hello Rajendar,

    I just replied to the forum thread you participated in. 


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top