Search in a treeview

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

Search in a treeview

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

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
Attachments
TreeViewSnapshot.rxsnp
Treeview Snapshot
(223.17 KiB) Downloaded 270 times

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Search in a treeview

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

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
.
Image