Saturday, August 11, 2012

Eclipse RAP UI Testing cont'd

I made some progress with my UI testing efforts for the RAP port of eiswind book publishing software.

The obvious thing is that we can set ids on widgets by setting a widget id:
b1.setData( WidgetUtil.CUSTOM_WIDGET_ID, "myButton" );
The next step is a little hackish, but works for me: I reuse the contribution item ids from the workbench as widget ids (snippet from

With some help from the rap people I finally even got ids on table row items (Snippet from TreeRowContainer.js)

Have fun now:)