Hi Steve,
if you can't use the bot directly to find a widget, you can use the
ControlFinder or the ChildControlFinder, set a breakpoint, debug and look
for anything unique that you can use to identify it. You can then get that
widget, cast it if need be and use it. Sometimes this needs to be done in
the UI thread so you can use the UIThreadRunnable
Take a look at the rcp test code. it show you how to use the control finder.
UIThreadRunnable is pretty straight forward too. it's just a wrapper for
running anything in the display and provides some utility runnables.
hope this helps
Somesh
On Tue, Jun 17, 2008 at 6:34 PM, Paulin <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm trying to figure out how to access the menu within a view.
>
> I have the view but the menu (which doesn't have a name just the little
> down arrow) doesn't seem to have a way to be access through the SWTBot.
> However on the site it says acess to the controls of the View is provided so
> I'm thinking I'm missing something.
>
> Any help would be appreciated.
>
> Thanks
> steve
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> 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
>
>
>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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