Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » How do I check whether a tree node is expanded?
How do I check whether a tree node is expanded? [message #981238] Mon, 12 November 2012 09:09 Go to next message
Janine Kayser is currently offline Janine KayserFriend
Messages: 14
Registered: November 2012
Junior Member
Hello community

for my tests I need to know how I can check whether a tree node is expanded or collapsed. It would also help to know how to check whether a sub-tree-node is currently displayed or not.
Until now I only found out how to check whether a node is in the tree at all using ub_tre_checkExistanceOfNode_byTextpath.
Is there a way to solve this using ub_grc_checkProperty?

Thanks for your help in advance

Re: How do I check whether a tree node is expanded? [message #985256 is a reply to message #981238] Thu, 15 November 2012 09:07 Go to previous message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1610
Registered: July 2009
Senior Member

I'm afraid I don't know if there's a property for the expanded state of a particular node. The developers on your team might be able to help you further by having a look in the source code.
Alternatively, you might want to think of other ways of checking the same thing. If the node that should be expanded is also selected, then you could check for the selection, for example.

Previous Topic:check existence of a connection
Next Topic:Working with DataSets
Goto Forum:

Current Time: Thu Apr 26 09:53:26 GMT 2018

Powered by FUDForum. Page generated in 0.02077 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software