Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333423

Summary: add a getId method to AbstractSWTBot
Product: [Technology] SWTBot Reporter: Geoff Bache <geoff.bache>
Component: SWTBotAssignee: Project Inbox <swtbot-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 2.0.1   
Target Milestone: 2.0.2   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

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