Page 1 of 1

Search in a treeview

Posted: Fri Sep 21, 2012 10:45 am
by puntapret
Hi,

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 :
Nivea/Sun/Cream|Hansaplast/Foot/Patches.

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.

Thanks

Re: Search in a treeview

Posted: Fri Sep 21, 2012 4:13 pm
by Support Team
Hello,

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?

Regards,
Bernhard
Ranorex Support Team