Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333423 - add a getId method to AbstractSWTBot
Summary: add a getId method to AbstractSWTBot
Status: RESOLVED FIXED
Alias: None
Product: SWTBot
Classification: Technology
Component: SWTBot (show other bugs)
Version: 2.0.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 2.0.2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-03 08:30 EST by Geoff Bache CLA
Modified: 2011-01-05 16:17 EST (History)
0 users

See Also:


Attachments
mylyn/context/zip (2.29 KB, application/octet-stream)
2011-01-05 16:17 EST, Ketan Padegaonkar CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geoff Bache CLA 2011-01-03 08:30:36 EST
Build Identifier: M20100909-0800

As suggested on the mailing list, 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).

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.


Reproducible: Always

Steps to Reproduce:
N/A
Comment 1 Ketan Padegaonkar CLA 2011-01-05 16:17:55 EST
Fixed in revision d0534509. Closing as fixed.

https://github.com/ketan/SWTBot/commit/d05345095dbfee73578cc9c7bc400f7322ec4126
Comment 2 Ketan Padegaonkar CLA 2011-01-05 16:17:56 EST
Created attachment 186127 [details]
mylyn/context/zip