I am having a problem with running my GUI tests through TeamCity.
The GUI tests are written with the AutoIt scripting tool. I had to use this tool, because our applications are not .NET applications, so I use AutoIt's commands like WinActivate, Send, ImageSearch, MouseClick(x,y) etc...
If I logon to the testing server manually and run the tests, everything works fine.
However, if I add the tests to the MSBUILD and then run through TeamCity, all the tests fail because Windows won't allow the process to WinActivate, Send, etc...
Is there a way to get around this?
I have tried being logged in to the virtual machine while the tests are run. But it does not help because the tests are being run in a different session??
I have tried to set the service to run as the local system account, but I think I ran into permission issues when the service tried to delete some files?
Would using VMWare or VNC fix my problem? If so, how would I set this up in TeamCity?
I would be very grateful for any help.