Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » failed chaining of select(String)
failed chaining of select(String) [message #479382] Mon, 10 August 2009 15:33 Go to previous message
Jay Norwood is currently offline Jay Norwood
Messages: 112
Registered: July 2009
Senior Member
I see that the code for select("String") forwarding the operation to code
that selects a group of nodes, but unfortunately doesn't return the single
selected item in this case as the SWTBotTreeItem, so it fails to chain in
the below example, while the getTreeItem("String") works as expected.

bot.tree().expandNode("C1").select("Debug").expand(); // fails to expand
Debug bot.tree().expandNode("C1").getTreeItem("Debug").expand(); // works
 
Read Message
Read Message
Read Message
Read Message
Previous Topic:Re: [swtbot-dev] Welcome Mariot Chauvin as a new technology.swtbot Committer
Next Topic:No getParent or getParentItem
Goto Forum:
  


Current Time: Fri May 24 07:10:35 EDT 2013

Powered by FUDForum. Page generated in 0.01614 seconds