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

System.TimeoutException

1 Answer 97 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Srikanth
Top achievements
Rank 1
Srikanth asked on 29 Sep 2016, 05:35 AM
  1. When I run the recorded telerik test using MSTest, it opens the browser opens webapp and performs the test successfully.
  2. When I automate the test using bamboo, it opens the browser does nothing and gets timed out.
  3. Executing test: 'webtest', path: 'webtest.tstest.'
    - Using .Net Runtime version: '4.0.30319.42000' for test execution. Build version is '2016.2.630.0'.
    Starting execution....
     Failure detected during execution. Details:
    ------------------------------------------------------------
     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)
    ------------------------------------------------------------Test completed!

1 Answer, 1 is accepted

Sort by
0
Nikolay Petrov
Telerik team
answered on 03 Oct 2016, 03:05 PM
Hi Srikanth,

Please, confirm that you followed the instructions described in the documentation.

More details on how to configure a Bamboo MSTest Runner task you can see here, as well.

Regards,
Nikolay Petrov
Telerik by Progress
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Srikanth
Top achievements
Rank 1
Answers by
Nikolay Petrov
Telerik team
Share this question
or