We are using TeamCity 4.5.1 with build agents running on Windows XP SP3. We have some automated GUI unit tests using FEST. One particular test fails almost 100% of the time when run under the build agent, although it has succeeded a couple of times in the past. The test fails because it times out waiting for a JOptionPain. When ever we run this test from Eclipse or Ant (from the command line) the test passes 100% of the time, unless the user is clicking on different windows in the UI while the test is running. We think this is a focus problem, for some reason something bad happens to the window focus when running under the build agent, but we cannot imagine what it might be.
Does anyone have any experience running automated GUI unit tests under a TeamCity build agent (in particular with FEST)?
How does TeamCity handle UI focus when running a build configuration using an Ant build runner? Also, please note that the build agent process is not being run as a service, but as a start-up item in user login.
Thanks in advance for any assistance