Executing Telerik Tests inTeamCity 9

6 posts, 0 answers
  1. VVP
    VVP avatar
    61 posts
    Member since:
    Mar 2015

    Posted 17 Jul 2015 Link to this post

    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

  2. Boyan Boev
    Admin
    Boyan Boev avatar
    1040 posts

    Posted 22 Jul 2015 Link to this post

    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
     
  3. VVP
    VVP avatar
    61 posts
    Member since:
    Mar 2015

    Posted 23 Jul 2015 in reply to Boyan Boev Link to this post

    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)​

     

  4. Boyan Boev
    Admin
    Boyan Boev avatar
    1040 posts

    Posted 28 Jul 2015 Link to this post

    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
     
  5. VVP
    VVP avatar
    61 posts
    Member since:
    Mar 2015

    Posted 29 Jul 2015 in reply to Boyan Boev Link to this post

    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

  6. Boyan Boev
    Admin
    Boyan Boev avatar
    1040 posts

    Posted 03 Aug 2015 Link to this post

    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
     
Back to Top