This is a migrated thread and some comments may be shown as answers.

Executing Telerik Tests inTeamCity 9

5 Answers 78 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
VVP
Top achievements
Rank 2
VVP asked on 17 Jul 2015, 09:42 AM

Hi,

As part of CI process, we are looking forward to execute Telerik test scripts through Teamcity9,

This thread is to know whether anyone tried this combination already. In that case i can get information without browsing.

 

Thanks,

VVP

5 Answers, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 22 Jul 2015, 06:47 AM
Hi Vishnu,

We have experience only with Team City 7x.

Here is the article which describe the process.

Hope this helps.

Regards,
Boyan Boev
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
0
VVP
Top achievements
Rank 2
answered on 23 Jul 2015, 10:37 AM

Hi,

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.ExecutionContext.SetDialogMonitoring()
   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)​

 

0
Boyan Boev
Telerik team
answered on 28 Jul 2015, 07:27 AM
Hello Vishnu,

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.

Regards,
Boyan Boev
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
0
VVP
Top achievements
Rank 2
answered on 30 Jul 2015, 04:33 AM

Thanks Boyan. 

Got confused. Was trying without logging in to the VM. This issue is solved ,but have some more queries. will open a new thread.

VVP

0
Boyan Boev
Telerik team
answered on 03 Aug 2015, 10:40 AM
Hello Vishnu,

Thank you for the update.

Closing this one.

Regards,
Boyan Boev
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
VVP
Top achievements
Rank 2
Answers by
Boyan Boev
Telerik team
VVP
Top achievements
Rank 2
Share this question
or