I'm using Visual Studio 2013 to create Coded UI Tests and would like to get them running with Bamboo On-Demand. Note that I don't use TFS (Team Foundation Server).
I have tried using the 'MS Test Runner' and calling MsTest.exe and vstest.command.exe directly. With each one I get this error "To run tests that interact with the desktop, you must set up the test agent to run as an interactive process."
I can remote desktop into the elastic image and successfully run the tests from the command prompt. It just seems to be an issue when the tests are ran from a build plan. Presumably because mstest doesn't run as an interactive process. But as far as I can see you can't just make an executable run in interactive mode. A service perhaps.
Has anyone been able to get Coded UI Tests running from a build plan? If so have you any ideas as to where I'm going wrong? I know there is such a thing as the Microsoft Test Agent but this is a TFS thing I think and can't be called from the command line?
We're using the Telerik Test Framework, running MSTest, and have Bamboo locally (not on-demand) but this may help. For Windows, any version past Server 2003, the service must run as the Local System Account and have "Allow service to interact with desktop" selected. Prior and including 2003, you could select a similar feature but for any user. You will likely need to restart the service as well.
If you look at the documentation for creating a custom elastic image (windows) there are some expandable sections that include the information required to allow desktop interaction.
The documentation is available here:
Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot