I am new in this portal so I don't know if it's the right place to post my
request for help.
My issues is the following.
I am using swtbot to test our new Eclipse RCP application.
To launch our tests, we use Maven2. Then we also use Hudson application
for our Continuous Integration system. Hudons will launch our test via
The problem that we face is that when we launch our tests on our machine
for Continuous Integration, the Windows session is locked so we don't see
our test running. So it appears that some test using Keyboard events
Curiously when we login in our machine and look at the test running these
test don't failed. If we look at some logs error that we have, it seems
that test link with AWT event seems to fail when Windows session is locked.
If anyone has an idea why these tests failed with session is locked and
why these passed when session is opened, it might be helpfull.
This is how windows "works". You can remote desktop into system and move
the rdesktop window in corner everything will work. But as soon as the
window session is locked, windows seems to stop processing events.
> The problem that we face is that when we launch our tests on our machine
> for Continuous Integration, the Windows session is locked so we don't see
> our test running. So it appears that some test using Keyboard events
This has always been the problem with swtbot running on windows sessions
that are locked away. The solution as already mentioned was to use a very
old computer that is always connected to the windows machine(s) via RDP.
Or login into the machine via VMWare console, and exit the console -- this
is as good as logging on the physical machine and leaving it be.
Unfortunately there's no other way around this issue other than to use
linux or mac or figure out a way to ensure that the windows session is