Running Telerik testing framework on Teamcity V7.0.3

12 posts, 0 answers
  1. Overule
    Overule avatar
    18 posts
    Member since:
    Jun 2012

    Posted 03 Aug 2012 Link to this post

    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!!
  2. Overule
    Overule avatar
    18 posts
    Member since:
    Jun 2012

    Posted 03 Aug 2012 Link to this post

    Also i tried starting the buildagent manually from command prompt and run the teamcity test build configuration.

    It does not work!!
  3. Byron
    Admin
    Byron avatar
    184 posts

    Posted 03 Aug 2012 Link to this post

    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
  4. Overule
    Overule avatar
    18 posts
    Member since:
    Jun 2012

    Posted 03 Aug 2012 Link to this post

    No problem. This get back to me asap. Thanks!
  5. Byron
    Admin
    Byron avatar
    184 posts

    Posted 03 Aug 2012 Link to this post

    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
  6. Overule
    Overule avatar
    18 posts
    Member since:
    Jun 2012

    Posted 06 Aug 2012 Link to this post

    Hi,

    Please get back to me with a solution whenever possible. Thanks!
  7. Overule
    Overule avatar
    18 posts
    Member since:
    Jun 2012

    Posted 07 Aug 2012 Link to this post

    Anyone uses Teamcity with Telerik testing framework before?
  8. Byron
    Admin
    Byron avatar
    184 posts

    Posted 08 Aug 2012 Link to this post

    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
  9. Overule
    Overule avatar
    18 posts
    Member since:
    Jun 2012

    Posted 08 Aug 2012 Link to this post

    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
  10. Byron
    Admin
    Byron avatar
    184 posts

    Posted 13 Aug 2012 Link to this post

    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
  11. Overule
    Overule avatar
    18 posts
    Member since:
    Jun 2012

    Posted 14 Aug 2012 Link to this post

    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.
  12. Byron
    Admin
    Byron avatar
    184 posts

    Posted 16 Aug 2012 Link to this post

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