Skip to main content



      Home
Home » Eclipse Projects » SWTBot » Minimizing application when running tests
Minimizing application when running tests [message #32219] Mon, 13 April 2009 16:31 Go to next message
Eclipse UserFriend
It would be nice if the UI tests could run also if the application under
test is minimized.

But that does not seem to work. If a modal opens, it pops up, even if the
application intself is minimized.

I can remember that testing Swing applications worked even if it was
minimized. The only side effect was that the screenshots are not
meaningful then.

Can SWT applications be run minimized and not pop up anything while the
tests run? Is this a problem of SWT or the test tool?
Re: Minimizing application when running tests [message #32254 is a reply to message #32219] Mon, 13 April 2009 19:36 Go to previous message
Eclipse UserFriend
Hans Schwaebli wrote:

> Can SWT applications be run minimized and not pop up anything while the
> tests run? Is this a problem of SWT or the test tool?

Answer is most likely all the above including the application under tests.
I don't know if this it is true for other part of eclipse, but the Hover
help stuff in editors is based on point on display. So if the application
is minimized things like this will not work.

As for dialogs, that might be OS more then anything since as far as I know
SWT sends events to the OS layer to actually open/show dialogs.

But it would be nice to go UI testing without the UI...at least most of
it.
Previous Topic:Error while running an swtbot testcase even though the testcase seems to run.
Next Topic:Running tests on multiple client instances?
Goto Forum:
  


Current Time: Sun Jun 22 17:54:45 EDT 2025

Powered by FUDForum. Page generated in 0.07930 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top