CodeGen (Version2) can't resolve toolitems

WindowTester allows you to easily create and run unit tests for every GUI they build. It can also be used to generate system level tests.

Moderators: gnebling, Eric Clayberg, Dan Rubel, keertip, Phil Quitslund

CodeGen (Version2) can't resolve toolitems

Postby a.bitsche » Mon May 21, 2007 11:31 pm

We have a eclipse-based application. With the old codegeneration (Version1) the click on a toolitem is recognised.
The resolved toolitem:
Code: Select all
ui.register("toolitem", new WidgetLocator(ToolItem.class, "",
                        new WidgetLocator(ToolBar.class, 3,
                        new WidgetLocator(Composite.class))));

The revised codegen-mechanism (Version2) only delivers:
Code: Select all
//WARNING: unsupported widget selection ignored - Widget Selection event: null

If needed i can also post the swt-hierarchy of this item.
a.bitsche
 
Posts: 31
Joined: Tue Aug 22, 2006 2:53 am
Location: Austria

Postby Phil Quitslund » Tue May 22, 2007 3:02 pm

Have you tried this with a recent beta? We made some fixes to the ToolItemLocator recording story. Hopefully this is fixed!
--
Phil Quitslund
Software Engineer
Google, Inc.
Phil Quitslund
Moderator
 
Posts: 491
Joined: Fri Apr 28, 2006 6:26 am

Postby a.bitsche » Tue May 22, 2007 11:17 pm

Yeah, does work with V2.1.0. :oops:
a.bitsche
 
Posts: 31
Joined: Tue Aug 22, 2006 2:53 am
Location: Austria

Postby Phil Quitslund » Thu May 24, 2007 6:15 am

Good news. Thanks for checking!
--
Phil Quitslund
Software Engineer
Google, Inc.
Phil Quitslund
Moderator
 
Posts: 491
Joined: Fri Apr 28, 2006 6:26 am


Return to Window Tester

Who is online

Users browsing this forum: No registered users and 1 guest