Problem with selection in a Java Tree
I have a problem selecting a child in a Java Tree object, hope you can give me some hints.
I need to select a child in a Java Tree, knowing it's name (not knowing his position in the structure).
I have to work on a tree structure like below and select child2:
QTP records such a selection with a line like:
JavaWindow("Integration").JavaTree("Projects").Sel ect "#0;#0;#0"
I need a method that will allow me to identify a child name in the JTree (in my example is 'child2') and select it.
I am thinking of a function that will convert my structure in a JTree object that can be manipulated by QTP...
Thanks a lot!
Re: Problem with selection in a Java Tree
Sorry, this post should be opened in QTP section.