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