Test automation and the RadTreeView

3 posts, 1 answers
  1. Dave
    Dave avatar
    2 posts
    Member since:
    Jan 2013

    Posted 09 Jan 2013 Link to this post

    We are trying to establish some test automation around the rad tree view and need a way to identify tree nodes client side. We would like to use the RadTreeNode.Value property to do this. We are setting this value server side.

    RadTreeNode treeNode = new RadTreeNode();

    treeNode.Value = itemID;  //eg 3636

    But in the resulting html we can't find the itemID.

    <li class="rtLI" _item="[object Object]" _itemTypeName="Telerik.Web.UI.RadTreeNode">
        <div class="rtTop" jQuery1357770307520="7">
        <span class="rtSp"/>
        <input class="rtChk" type="checkbox" value="on"/>
        <span class="rtIn EEMCheckBoxNode" jQuery1357770307520="8">
            Text - Air Heat Flow (BTU 59)

    Any help would be appreciated.

  2. Answer
    Kate avatar
    1898 posts

    Posted 25 Jan 2013 Link to this post

    Hi Dave,

    Please take a look at the following forum post where the issue that you get is described in details - RadMenu and Telerik TestStudio. Although the issue is related to the RadMenu control, the same approach could be applied to the RadTreeView as well. Try using it and let me know if this helps in your scenario.

    Kind regards,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Dave
    Dave avatar
    2 posts
    Member since:
    Jan 2013

    Posted 04 Feb 2013 Link to this post

    Yes that will work. Thanks Kate.
Back to Top