Timeout Exception WaitForBrowserToConnect on Execution Server

5 posts, 1 answers
  1. Seth
    Seth avatar
    5 posts
    Member since:
    Jan 2016

    Posted 05 Dec 2016 Link to this post

    I've created a test on my local box and it works flawlessly. I've set up an execution server on the Windows Server 2012 R2 virtual machine using the TestStudio Runtime version 2016_3_0928_5. When I try to run the test on the remote server it fails with the following result log

    ------------------------------------------------------------

    '12/5/2016 9:25:25 AM' - Executing test: 'PropertyOne-T1', path: 'PropertyOne-T1.tstest.'
    '12/5/2016 9:25:25 AM' - Using .Net Runtime version: '4.0.30319.34209' for test execution. Build version is '2016.3.928.0'.
    '12/5/2016 9:25:25 AM' - Starting execution....
    '12/5/2016 9:26:26 AM' - Failure detected during execution. Details:
    ------------------------------------------------------------
    '12/5/2016 9:26:26 AM' - System.TimeoutException: Wait for condition has timed out
       at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
       at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
       at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
       at ArtOfTest.WebAii.Core.Manager.WaitForBrowserToConnect(Int32 browserIndexToWaitFor)
       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)
    ------------------------------------------------------------
    '12/5/2016 9:26:27 AM' - Test completed!

     

    I followed the documentation for configuring IE found here.

    System:

    OS: Windows Server 2012 R2 Datacenter
    Browser: Internet Explorer 11.0.9600.146438
    Test Studio: Runtime 2016.3.0928.5

     

     

     

     

  2. Answer
    Boyan Boev
    Admin
    Boyan Boev avatar
    1072 posts

    Posted 06 Dec 2016 Link to this post

    Hello Seth,

    Please install this on your Windows Server 2012 R2 which should fix the issue.

    Let me know if that helps.

    Regards,
    Boyan Boev
    Telerik by Progress
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  3. Seth
    Seth avatar
    5 posts
    Member since:
    Jan 2016

    Posted 06 Dec 2016 in reply to Boyan Boev Link to this post

    Thank you Boyan Boev for your response.

    I was able to install the Team Explorer for VS 2013. When I run the test now it still fails but with a different log.

     

    Overall Result: NotRun
    ------------------------------------------------------------
    '12/6/2016 9:17:17 AM' - Executing test: 'PropertyOne-T1', path: 'PropertyOne-T1.tstest.'
    '12/6/2016 9:17:17 AM' - Using .Net Runtime version: '4.0.30319.34209' for test execution. Build version is '2016.3.928.0'.
    '12/6/2016 9:17:17 AM' - Starting execution....
    ------------------------------------------------------------
    ------------------------------------------------------------
    '12/6/2016 9:17:20 AM' - Detected DataDriven Test. Starting data iterations.
    '12/6/2016 9:17:20 AM' - There is no data to execute the test with.
    ------------------------------------------------------------
    '12/6/2016 9:17:20 AM' - Overall Result: NotRun
    '12/6/2016 9:17:20 AM' - Duration: [0 min: 0 sec: 2 msec]
    ------------------------------------------------------------
    '12/6/2016 9:17:20 AM' - Test completed!

    Any idea?

  4. Seth
    Seth avatar
    5 posts
    Member since:
    Jan 2016

    Posted 06 Dec 2016 in reply to Seth Link to this post

    I found the solution to the problem in the answer to this thread.

    Thanks for your help. :)

  5. Boyan Boev
    Admin
    Boyan Boev avatar
    1072 posts

    Posted 08 Dec 2016 Link to this post

    Hello Seth,

    Happy to hear that.

    If you need additional assistance please let us know.

    Regards,
    Boyan Boev
    Telerik by Progress
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top