isMaximized not working

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

isMaximized not working

Postby win » Mon May 11, 2009 4:24 am

Hi ,

have the following generated code
super.setUp();
IUIContext ui = getUI();
ui.ensureThat(new WorkbenchLocator().hasFocus());
ui.ensureThat(ViewLocator.forName("Welcome").isClosed());
ui.ensureThat(new WorkbenchLocator().isMaximized());


But ui.ensureThat(new WorkbenchLocator().isMaximized()) doesn't seem to work I was expecting it to Maximize the workbench window .

I am also clecking the blue tool bar to maximize and has no afffect , so not only is sMaximized() method broken the hasFocus() is broken also

Can you let me know If the code generated is incorrect or Is there a workarounf for this ...

Thanks
win
 
Posts: 7
Joined: Mon May 11, 2009 4:14 am

Re: isMaximized not working

Postby Phil Quitslund » Mon May 11, 2009 10:37 am

Could you try this with the latest beta and see if the problem persists?

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

Re: isMaximized not working

Postby win » Tue May 12, 2009 4:16 am

Thanks the latest build has fixed this issue :D
win
 
Posts: 7
Joined: Mon May 11, 2009 4:14 am

Re: isMaximized not working

Postby Phil Quitslund » Tue May 12, 2009 2:22 pm

Great; thanks for following-up!
--
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