This is a migrated thread and some comments may be shown as answers.
Running Telerik testing framework on Teamcity V7.0.3
11 Answers 118 Views
This is a migrated thread and some comments may be shown as answers.
Overule
Top achievements
Rank 1
Overule asked on 03 Aug 2012, 07:10 AM
HI,

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

Sort by
0
Overule
Top achievements
Rank 1
answered on 03 Aug 2012, 07:16 AM
Also i tried starting the buildagent manually from command prompt and run the teamcity test build configuration.

It does not work!!
0
Byron
Telerik team
answered on 03 Aug 2012, 03:42 PM
Hello Overule,

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
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Overule
Top achievements
Rank 1
answered on 03 Aug 2012, 03:43 PM
No problem. This get back to me asap. Thanks!
0
Byron
Telerik team
answered on 03 Aug 2012, 04:32 PM
Hello Overule,

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
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Overule
Top achievements
Rank 1
answered on 06 Aug 2012, 06:35 AM
Hi,

Please get back to me with a solution whenever possible. Thanks!
0
Overule
Top achievements
Rank 1
answered on 08 Aug 2012, 03:47 AM
Anyone uses Teamcity with Telerik testing framework before?
0
Byron
Telerik team
answered on 08 Aug 2012, 10:49 PM
Hi Overule,

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
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Overule
Top achievements
Rank 1
answered on 09 Aug 2012, 12:02 AM
I followed that and it does not work. Are you are aware that that is a referencing a really old teamcuty version? V4. Currently we are using v7.0.3
0
Byron
Telerik team
answered on 13 Aug 2012, 09:42 PM
Hi Overule,

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
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Overule
Top achievements
Rank 1
answered on 14 Aug 2012, 01:53 PM
It looks like the problem is related to this http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/knowledge-base/test-execution/no-tests-execute-on-locked-machine.aspx

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.
0
Byron
Telerik team
answered on 16 Aug 2012, 10:14 PM
Hello Overule,

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
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Asked by
Overule
Top achievements
Rank 1
Answers by
Overule
Top achievements
Rank 1
Byron
Telerik team
Share this question
or