|Re: Widget ID's for composites [message #912761 is a reply to message #912614]
||Fri, 14 September 2012 06:06
| Ivan Furnadjiev
Registered: July 2009
Location: Sofia, Bulgaria
I think that you can assign a custom id to the Composites in the same
way. Composite is just a widget like all others.
composite.setData( WidgetUtil.CUSTOM_WIDGET_ID, "myCustomId" );
On 9/14/2012 12:20 AM, George R Malary wrote:
> Just a general question, I know we have WidgetId's for most widgets,
> but there are certain things that we cannot assign id's to.
> For selenium testing, we identify UI objects using these unique id's.
> Would there be a way to assing an id to a Composite itself? This
> would make most things much easier to find, as we wrap everything up
> in Composites anyway. I see though firebug that all composites are
> assigned an random id anyway, "w78xxxx".
> Just a thought, that would solve some of our issues where we have to
> navigate the DOM to find widgets.
Professional services for RAP and RCP?
Powered by FUDForum
. Page generated in 0.02189 seconds