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

Timeout Exception WaitForBrowserToConnect on Execution Server

4 Answers 55 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Seth
Top achievements
Rank 1
Seth asked on 05 Dec 2016, 05:58 PM

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

 

 

 

 

4 Answers, 1 is accepted

Sort by
0
Accepted
Boyan Boev
Telerik team
answered on 06 Dec 2016, 09:41 AM
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
 
0
Seth
Top achievements
Rank 1
answered on 06 Dec 2016, 04:21 PM

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?

0
Seth
Top achievements
Rank 1
answered on 06 Dec 2016, 04:34 PM

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

Thanks for your help. :)

0
Boyan Boev
Telerik team
answered on 08 Dec 2016, 01:44 PM
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
 
Tags
General Discussions
Asked by
Seth
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Seth
Top achievements
Rank 1
Share this question
or