I am trying to run the silverlight user interface tests on the build server and got the following exceptions.
------------------------------------------------------------
'3/08/2012 4:54:07 PM' - Using .Net Runtime version: '4.0.30319.269' for tests execution.
'3/08/2012 4:54:07 PM' - Starting execution....
'3/08/2012 4:54:07 PM' - Detected a Silverlight Test. Setting EnableSilverlight=True
'3/08/2012 4:54:07 PM' - Failure detected during execution. Details:
------------------------------------------------------------
'3/08/2012 4:54:07 PM' - System.NullReferenceException: Object reference not set to an instance of an object.
at ArtOfTest.WebAii.Core.Manager.SetupDialogMonitoring()
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InitializeWeb(ExecutionEngineCreateParams initParams)
at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp)
at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)
------------------------------------------------------------
'3/08/2012 4:54:07 PM' - Test completed!
Are there any documentation for setting up this testing framework with teamcity v7 ? I read somewhere i need to start the buildagent manually from command prompt. This is not feasible as it needs to be done on every restart!!
11 Answers, 1 is accepted

It does not work!!
We will need additional time to advise you on this issue. Please allow an extra 24 hours for us to investigate and respond.
All the best,Byron
the Telerik team
Test Studio Trainings

We are still looking into your issue. I would like to clarify that we may need up to 24 additional business hours, so we may need to respond Monday between 9am and 6pm CST. Thanks for your patience.
Kind regards,Byron
the Telerik team
Test Studio Trainings

Please get back to me with a solution whenever possible. Thanks!

I'm sorry for the delay in responding to the ticket. We do have documentation on using TeamCity with Test Studio. Have you followed the steps in this documentation? If so, can you please provide a sample project that is displaying this behavior? Thanks for providing us the information we need to resolve the issue.
All the best,Byron
the Telerik team
Test Studio Trainings

We are still in the process of developing updated guidelines for using TeamCity 7+ with TestStudio. The error you described in your initial ticket may be caused by attempting to execute your test on a locked machine. It may also be an issue with the Silverlight window name. Is this error the issue you are encountering when configuring TeamCity, or is there a separate issue? Or are you just looking for instructions on automating the build agent using TeamCity?
Thanks,
Byron
the Telerik team
Test Studio Trainings

I am trying to get the build agent to execute our UI tests. If Currently, on a virtual machine so are you saying the test machine should never be locked? That's a security issue for us. I am also guessing the operating system will automatically locked itself out after a while.
As the article on locked execution servers explains, the only tests that can execute on a locked server are ones that do not use mouse or keyboard actions against an HTML page. You may wish to explore the work-arounds listed in that article. These should address both your security and hibernation concerns.
Greetings,Byron
the Telerik team
Test Studio Trainings