I got a feeling we might be onto some good stuff here; here is to answer your questions:
- We are using TeamCity for builds
- I have a msbuild project to perform all the actions for build, deployment and initiate tests. Builds are done via MSBuild commands and tests are kicked off like "MSTest.exe -testmetadata:$(Prototype)\MyProject.Prototype.vsmdi" />"
- I can see the test try to execute as it opens up the browser and navigates to the Url. I can also see the execution failed in my console window.
- The build agent is ran under Local System and is allow to interact with desktop.
Finally, I have been playing the test via command line by executing msbuild on the server under Administrator rights and am not able to be get it to work.
Thank you for your patient response.