phamow / fest

Automatically exported from code.google.com/p/fest
0 stars 0 forks source link

Unable to find path exception on using selectpath() method for JtreeFixture #291

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I'm trying to access a node in a JTreeFixture by using a selectpath 
expression
In general I don't know the IDs of the node, I know only the particular 
names the root node is = "My Admin @ 192.168.23.1" the next is "Library"
And a respectively use following expression
Tree.selectPath("My Admin @ 192.168.23.1/Library/");  
Where Tree is already found tree.

Result:
I received following Error:
java.lang.Exception: 
org.fest.swing.exception.LocationUnavailableException: Unable to find 
path 'My Admin @ 192.168.23.1/Library'

My question is: Do the path mentione in the selectpath expression contains 
the Tree nodes by their display name, or only the IDs of the objects can 
be used?

Thanks

Original issue reported on code.google.com by slunche...@gmail.com on 29 Jan 2009 at 12:46

GoogleCodeExporter commented 9 years ago
Paths in tree nodes use the displayed text.

I'm going to close this issue.

Regards,
-Alex

Original comment by Alex.Rui...@gmail.com on 29 Jan 2009 at 3:09