Thursday, April 25, 2013

When CI triggered tests are failing - this might be the issue...

I had an issue which was bugging me for some time and have found a fix.

I had some Test Complete GUI tests which ran just fine when I manually ran them from Jenkins, but when the build was triggered by an upstream project or by an SVN check-in, the tests failed.

I was getting an External Error in a pop up - which was misleading - to me anyway.

It turned out, the solution was to open an RDP session from another server on to the Jenkins slave as the Jenkins user - this provides a desktop for the Jenkins user, which then enables the GUI tests to run successfully.

Hope this saves someone some head scratching.

No comments:

Post a Comment