I've created a solution with a test project.
In the test project there are several Coded UI Tests.
When I try to use Team City build configuration to run these tests automatically (using mstest agent), I get the following error:
Error calling Initialization method for test class <name>: Microsoft VisualStudio.TestTools.UITest.Extension.UITestException: To run tests that interact with the desktop, you must set up the test agent to run as an interactive process. For more information, see "How to: Set Up Your Test Agent to Run Tests That Interact with the Desktop" (http://go.microsoft.com/fwlink/?LinkId=159018)
If you are running the tests as part of your team build, you must also set up the build agent to run as an interactive process. For more information, see "How to: Configure and Run Scheduled Tests After Building Your Application" (http://go.microsoft.com/fwlink/?LinkId=165924)
How can I configure my build to run those tests?