|Re: how to access toggle button [message #30143 is a reply to message #30107]
||Tue, 24 March 2009 21:30
| Kai Schlamp
Registered: July 2009
Yes it seems straight forward to implement this.|
I hope it will also be in the official SWTBot.
I open an enhancement request
Something like bot.toggleButton() would be nice.
Ketan Padegaonkar schrieb:
> Hi Kai,
> There's no support for push buttons in swtbot, you may look at
> SWTBotCheckbox to see how you may implement toggle buttons. I think
> you'll merely need to copy/paste the implementation for all of it.
> -- Ketan
> On 24/3/09 16:39, Kai Schlamp wrote:
>> Hy again.
>> When I define a button as SWT.TOGGLE instead of SWT.PUSH, it seems
>> SWTBot doesn't find that button anymore by bot.button()
>> (WidgetNotFoundException). Is there a way to access it with SWTBot?
>> Best regards,
Powered by FUDForum
. Page generated in 0.03834 seconds