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