Hi Michal,

We're still investigating on this API, and there's an open bug  
regarding this (http://swtbot.org/bugzilla/show_bug.cgi?id=10) Cédric  
(who is on CC) has filed a patch against this bug when opening he  
opened it.

We're still in the process of deciding what a good API would be in  
able to do what you mention with trees. Until then feel free to use  
the patch that's available on the bugzilla -- the API however ma  
change, keeping the functionality intact.

If you do have ideas on how you'd like your API to be, do let us know,  
and we'll squash this issue immediately.

Cheers,
Ketan Padegaonkar
I blog... therefore I am... http://ketan.padegaonkar.name
http://swtbot.org/ - a functional testing tool for SWT/Eclipse

On 25-Mar-08, at 6:50 AM, Michal Dobisek wrote:
> 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
>



-------------------------------------------------------------------------
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