Is there are any samples on how to use GEF Locators

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

Is there are any samples on how to use GEF Locators

Postby irene » Fri Sep 05, 2008 4:44 pm

Hi all,
Dowloaded WindowTester 3.5.0 release version(Eclipse 3.3.2 ) and trying to record drag/drop from palette to canvas and connecting figures in GMF editor.
Getting weird errors that ImageFigureLocator can't be found, any help would be appreciated: PaletteItemLocator("EndPoints/File endpoint")); DiagramEditPart$1Locator()); PaletteItemLocator("EndPoints/File endpoint")); DiagramEditPart$1Locator()); PaletteItemLocator("Processors/Message Filter")); DiagramEditPart$1Locator()); PaletteItemLocator("Generic/Connection"));
//trying to connect DiagramParts on graph LRLocator(10, new ImageFigureLocator()));
ui.dragTo(new LRLocator(13, new ImageFigureLocator())); PaletteItemLocator("Generic/Connection")); LRLocator(19, new ImageFigureLocator()));
ui.dragTo(new LRLocator(22, new ImageFigureLocator())); ContributedToolItemLocator(""));


Posts: 1
Joined: Fri Sep 05, 2008 4:12 pm

Re: Is there are any samples on how to use GEF Locators

Postby Phil Quitslund » Tue Sep 23, 2008 7:38 pm

First thing, you should try our latest beta since our GEF support has been improving steadily. As for GMF, support is still under investigation. As a jumping off point, you might look at our Taipan example posted here:

If there is other behavior you'd like to see demonstrated, please let us know and we can see about cooking up a sample.

Sorry for the slow response!
Phil Quitslund
Software Engineer
Google, Inc.
Phil Quitslund
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