Hi Ketan,

 

When trying out SWTBot, I found no way to access/select a nested tree
element. I.e. to select the tree item "Node 2.2.1" in the ControlExample
from org.eclipse.swt.examples. The method

 

net.sf.swtbot.widgets.SWTBotTree.select(String)

 

searches the child items of the tree, but these are just the root items
- the nested items have to be retrieved using getItems() method on
TreeItem. So (still in ControlExample), the call 

bot.select("Node 2")

works fine, but

bot.select("Node 2.1")

selects nothing.

 

Did I overlook something, or is this a bug/missing functionality in the
SWTBot?

 

Thanks,

 

Michal

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
SWTBot-users mailing list
SWTBot-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse

Reply via email to