Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » "getId" method?
"getId" method? [message #644641] Mon, 13 December 2010 15:34 Go to next message
Geoff Bache is currently offline Geoff BacheFriend
Messages: 33
Registered: October 2010
Member
Hi all,

I noticed SWTBot has quite a lot of functionality around finding widgets by ID.

I was thus surprised that I couldn't find an obvious way to just get the ID from an SWTBot wrapper object (like e.g. SWTBotText). Have I missed something?

I can of course get it by calling getData on the underlying widget in the UI thread with SWTBot's default key, but it feels like it would be useful if there was a way to just get this information.

Regards,
Geoff Bache
Re: "getId" method? [message #645403 is a reply to message #644641] Fri, 17 December 2010 04:25 Go to previous message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
Messages: 873
Registered: July 2009
Senior Member
Hi Geoff,

This is currently not supported, please open a bug and I'll have a look
at it.

--
Ketan
ketan.padegaonkar.name | eclipse.org/swtbot | @ketanpkr

On 12/13/10 7:34 AM, Geoff Bache wrote:
> Hi all,
>
> I noticed SWTBot has quite a lot of functionality around finding widgets
> by ID.
>
> I was thus surprised that I couldn't find an obvious way to just get the
> ID from an SWTBot wrapper object (like e.g. SWTBotText). Have I missed
> something?
>
> I can of course get it by calling getData on the underlying widget in
> the UI thread with SWTBot's default key, but it feels like it would be
> useful if there was a way to just get this information.
>
> Regards,
> Geoff Bache
Previous Topic:Plugin dependencies
Next Topic:SWTbot fails with RCP that takes arguments
Goto Forum:
  


Current Time: Sat Dec 20 20:26:00 GMT 2014

Powered by FUDForum. Page generated in 0.07903 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software