SwingLibrary tree child node access

232 views
Skip to first unread message

Jerry Schneider

unread,
Feb 11, 2015, 5:11:29 PM2/11/15
to robotframework-users
I am having trouble accessing the child nodes of a tree. I can
click/select the root and 1 level without a problem but trying to access
say "/Users/jerry" is failing.

I can expand /Users and see jerry within it but not able to select.

Expand Tree Node localFileTree Users
${NodeNames} = Get Tree Node Child Names localFileTree Users
Log ${NodeNames}
Tree Node Should Be Expanded localFileTree Users
The above all succeeds

Select Tree Node localFileTree jerry
If I execute this right after the above, it fails with:
Select a tree node Local Directory |
FAIL |
Building tree path for: jerry

debug.log shows:
20150211 15:09:31.250 - DEBUG - Jemmy: "Wait for "localFileTree"
subcomponent to be displayed" action has been produced in 0 milliseconds
with result
:
org.irods.jargon.idrop.desktop.systraygui.viscomponents.LocalFileTree[localFileTree,0,0,197x627,alignmentX=0.0,alignmentY=0.0,border=,flags=1677
7576,maximumSize=,minimumSize=,preferredSize=,editable=false,invokesStopCellEditing=false,largeModel=false,rootVisible=true,rowHeight=19,scrollsOnExpa
nd=false,showsRootHandles=false,toggleClickCount=2,visibleRowCount=20]
20150211 15:09:31.250 - DEBUG - Jemmy: Start to wait action "Building
tree path for: jerry"
20150211 15:09:41.256 - DEBUG - Jemmy: "Building tree path for: jerry"
action has not been produced in 10005 milliseconds
20150211 15:09:41.264 - FAIL - Building tree path for: jerry
20150211 15:09:41.265 - DEBUG - java.lang.RuntimeException:
at
org.robotframework.javalib.library.AnnotationLibrary.retrieveInnerException(AnnotationLibrary.java:148)
at
org.robotframework.javalib.library.AnnotationLibrary.runKeyword(AnnotationLibrary.java:130)
<SNIP>

Any and all help/examples would be appreciated.

TIA
jer

--
Jerry Schneider
QA Manager
iPlant Collaborative
BIO5 Research Institute
University of Arizona
Linux registered user #475536
Ubuntu registered user #28583

Tatu Aalto

unread,
Feb 12, 2015, 1:50:09 AM2/12/15
to Jerry Schneider, robotframework-users

Ugh

Have you tried:
Select Tree Node    localFileTree   Users|jerry

-Tatu
Send from my mobile

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframework-users@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

Jerry Schneider

unread,
Feb 12, 2015, 9:08:50 AM2/12/15
to Tatu Aalto, robotframework-users
Thanks Tatu!  I had tried all sorts of  "slashing", but hadn't tried the pipe.  That worked

jer
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.

-- 
Linux registered user #475536
Ubuntu registered user #28583
Reply all
Reply to author
Forward
0 new messages