5 Answers, 1 is accepted
the above link more say on how to execute mstest and only last section was relevant to me as i am not using Mstest..
We are trying to execute Telerik test on a VM.
So i followed the last part which says
Locate the build agent's bin folder. The default is C:\TeamCity\buildAgent\bin.
Open a command prompt window.
Change to the bin folder you just located.
Enter 'agent start'.
Then when i tried triggering a build from TeamCity, i am getting below exception. Any idea why i am getting this and what is the solution?
ArtOfTest.WebAii.Exceptions.UnsupportedNonInteractiveOperationException: Dialog monitoring can not be enabled when running in non-interactive mode. Follow the link for more information: http://docs.telerik.com/teststudio/user-guide/command-line-test-execution/continuous-integration/team-foundation-server-builds.aspx
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTestIteration(Object codeBehindInstance, Boolean isDataDriven)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)
This exception indicates that the session with the VM has been closed.
In order to execute on VM you should have an active session and unlocked desktop.
See this article for more information.
Let me know if this helps.
Got confused. Was trying without logging in to the VM. This issue is solved ,but have some more queries. will open a new thread.
Thank you for the update.
Closing this one.