Forum Discussion

JNugent's avatar
JNugent
Occasional Contributor
12 years ago

Testing Telerik Tree View controls

Hi,

I'm slightly confused as to the best way to test Telerik TreeView items. I want to be able to reference them via their index like I have done for Winforms TreeViews e.g.

Set ORGANISATION_ITEM = HIERARCHY_TREEVIEW.wItems.Item(1) 

Set Item = Items.Item(i)



I have Test Complete 9 installed and both Telerik plugins. When I record a test, the aliases are mapped, hardcoded by their names as you can see from the attachment called TreeViewNode.

In the Object mapping properties, I have added the class name as shown in the attachment.



What is the best way of locating nodes in the Telerik TreeView?



Thanks in advance!

Jo




15 Replies

  • JNugent's avatar
    JNugent
    Occasional Contributor
    Hi Tanya,



    I have submitted a support call - M0107536. Do I need to update the info in this support call or is there a way of linking this thread to the support call?



    Thanks,

    Joanne
  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)
    Hi Joanne,



    I've updated the support case with the new information. Our support team will contact you soon.
  • In this post, there is the mention that Telerik WPF controls are not supported by TestComplete.



    Is this still the case?
  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Tim,


     


    I don't see WPF controls on the list of the supported ones here. Try using the suggestions mentioned in this thread to test the controls.