Please I’ve got the same problem of an unfound display.
I am using a vcn connection, what shall I do?
Thanks for your help,
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Hansen, Alexander
Sent: Wednesday, September 12, 2012 10:10 AM
To: Tycho user list
Subject: Re: [tycho-user] swtbottestapplication in Tycho
Thx for the hint. We´re running Bamboo as a service (which is allowed to interact with desktop, but I´m not sure if that is sufficient) on a Windows Server 2008 R2 machine.
On 09/12/2012 09:39 AM, Hansen, Alexander wrote:
I´m struggling with letting my SWTBot Tests run on our (bamboo) CI Server. Currently I´m a little confused on how this should be done. The tests run well launched from maven on the dev machine, but running on the CI server causes a TimeOutException with “The shell 'Save Resource' did not activate.” – so it seems to me, no Shell is available for the tests.
I read about the swtbottestapplication used to launch from ANT – as far as I figured out the tycho-surefire-plugin uses an other application to start the tests? Should I even care about this? I also find a screenshot from SWTBot in my project that is entirely white.
You don't need the swtbottestapplication to run SWTBot test. The surefire test application in Tycho works perfectly.
Instead, when running SWTBot tests on CI, you should verify that you CI server is able to run correctly UI applications. If you're on Linux, it means verifying you have a DISPLAY set to a valid X session for your tests, and that you have a Window Manager started.