How Can i locate Images using windows tester.

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

How Can i locate Images using windows tester.

Postby karthik.intels12 » Wed Apr 28, 2010 1:00 am

I tried to do windows testing for graphical editor in my application. But when i tried to record it, I got this below Code . Here FlyoutPaletteComposite$PaletteComposite.class is throwing compile time error. Is that possible to test graphical editors using windows tester. XYLocator(new SWTWidgetLocator(FigureCanvas.class, new SWTWidgetLocator(
FlyoutPaletteComposite$PaletteComposite.class)), 77, 35)); SWTWidgetLocator(FigureCanvas.class, new SWTWidgetLocator(
ui.dragTo(new SWTWidgetLocator(FigureCanvas.class, new SWTWidgetLocator(

My Graphical editor looks something like this(Img i have attached)

I'm Witing for your valuable suggestion :)
Pallete.PNG (9.77 KiB) Viewed 111 times
Thanks and Regards,
Posts: 35
Joined: Wed Mar 31, 2010 4:37 am

Re: How Can i locate Images using windows tester.

Postby Phil Quitslund » Wed Apr 28, 2010 8:33 am

It looks like you are hitting a limitation in the current palette item locating logic -- that is, it does not currently support items that have no text associated. Could you send a note to support so that they can open and track a feature request?

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