I created a new coded UI test on VS2017 and after creating a new agent at the agents pool, I have the following error:
Error calling Initialization method for test class CodedUITestProject2.CodedUITest2: 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.
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.
It means that the agent couldn't interact with the desktop.
