Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Minimizing application when running tests
Minimizing application when running tests [message #32219] Mon, 13 April 2009 20:31 Go to next message
Hans Schwaebli is currently offline Hans SchwaebliFriend
Messages: 70
Registered: July 2009
Member
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 23:36 Go to previous message
Ketan Patel is currently offline Ketan PatelFriend
Messages: 68
Registered: July 2009
Member
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: Sat Dec 20 06:43:38 GMT 2014

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

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