Search in a treeview

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
Posts: 34
Joined: Fri Sep 14, 2012 11:05 am

Search in a treeview

Post by puntapret » Fri Sep 21, 2012 10:45 am


Since i'm still in a learning curve and testing the Ranorex Studio 3.3.2.

Here is another question. I have a TreeView, and i want to look for a specific Node, using User Code and using variable.

For example, i will using a variable : $CategoryChoices. And it will be one or multiple path separated by pipe.
If i want to choose 2 product category :

So then the treeview will have these two product category selected.

Here is a snasphot of my treeview.

Any ideas and help would be appreciated.

Treeview Snapshot
(223.17 KiB) Downloaded 314 times

User avatar
Support Team
Site Admin
Site Admin
Posts: 12173
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA

Re: Search in a treeview

Post by Support Team » Fri Sep 21, 2012 4:13 pm


Sorry, I am afraid that I didn't quit catch your issue.
To get child nodes in your tree you can use the method FindDescendants().
I think that a similar issue was discussed in the post Verify child nodes parent node in Tree
Could you please describe your issue more detailed?

Ranorex Support Team