Fail' : 1. Navigate to... in Chrome

5 posts, 0 answers
  1. Uroš
    Uroš avatar
    37 posts
    Member since:
    Dec 2013

    Posted 04 Jun 2015 Link to this post

     Hello.

     Is there any workaround how to avoid timeout issue on Navigate to step when executing a test list? This is quite annoying behaviour....

     

     

     Overall Result: Fail
    ------------------------------------------------------------
    '4.6.2015 1:30:20' - Executing test: 'Failed.Login(Chrome)', path: 'Basics\Failed.Login.tstest.'
    '4.6.2015 1:30:20' - Using .Net Runtime version: '4.0.30319.18449' for test execution. Build version is '2015.1.319.0'.
    '4.6.2015 1:30:20' - Starting execution....
    ------------------------------------------------------------
    ------------------------------------------------------------
    '4.6.2015 1:30:30' - Using 'Chrome' version '43.0.2357.81' as default browser. 
    '4.6.2015 1:30:30' - Using 'http://sw-fitnes/BAP/' as base url.
    '4.6.2015 1:30:52' - 'Fail' : 1. Navigate to : '/'
    ------------------------------------------------------------
    Failure Information: 
    ~~~~~~~~~~~~~~~
    ExecuteCommand failed!
    BrowserCommand (Type:'Information',Info:'IsReady',Action:'NotSet',Target:'null',Data:'',ClientId:'efde698c-d14a-4235-a062-003a0b1906af',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'False',Response:'')
    InnerException: System.TimeoutException: Timed out waiting for command to be handled
       at ArtOfTest.WebAii.Messaging.Process.BrowserHostsProxyRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId, Int32 timeout)
       at ArtOfTest.WebAii.Messaging.Process.BrowserHostsProxyRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId)
       at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)

    InnerException:
    ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
    BrowserCommand (Type:'Information',Info:'IsReady',Action:'NotSet',Target:'null',Data:'',ClientId:'efde698c-d14a-4235-a062-003a0b1906af',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'False',Response:'')
    InnerException: System.TimeoutException: Timed out waiting for command to be handled
       at ArtOfTest.WebAii.Messaging.Process.BrowserHostsProxyRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId, Int32 timeout)
       at ArtOfTest.WebAii.Messaging.Process.BrowserHostsProxyRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId)
       at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
     ---> System.TimeoutException: Timed out waiting for command to be handled
       at ArtOfTest.WebAii.Messaging.Process.BrowserHostsProxyRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId, Int32 timeout)
       at ArtOfTest.WebAii.Messaging.Process.BrowserHostsProxyRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId)
       at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
       --- End of inner exception stack trace ---
       at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
       at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
       at ArtOfTest.WebAii.Core.Browser.IsReady()
       at ArtOfTest.WebAii.Core.Browser.WaitUntilReady()
       at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
       at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
       at ArtOfTest.WebAii.Core.Browser.InternalNavigateTo(Uri uri, Boolean useDecodedUrl)
       at ArtOfTest.WebAii.Core.Browser.NavigateTo(Uri uri, Boolean useDecodedUrl)
       at ArtOfTest.WebAii.Core.Browser.NavigateTo(String url, Boolean useDecodedUrl)
       at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.NavigateToActionDescriptor.Execute(Browser browser)
       at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
       at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
    ------------------------------------------------------------
    '4.6.2015 1:30:52' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
    ------------------------------------------------------------
    '4.6.2015 1:30:52' - Overall Result: Fail
    '4.6.2015 1:30:52' - Duration: [0 min: 22 sec: 34 msec]
    ------------------------------------------------------------
    '4.6.2015 1:31:03' - Test completed!

  2. Boyan Boev
    Admin
    Boyan Boev avatar
    1039 posts

    Posted 08 Jun 2015 Link to this post

    Hello Uros,

    What version of Chrome do you use and what version of Test Studio do you use?

    Try upgrading Test Studio to the latest version as well as the Chrome extensions.

    Here are direct links for the latest Chrome extensions.

    Hope this helps.

    Regards,
    Boyan Boev
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  3. jeff
    jeff avatar
    1 posts
    Member since:
    May 2015

    Posted 15 Jun 2015 in reply to Boyan Boev Link to this post

    I am encountering the same issue when trying to use Chrome on Windows 8.  I have uninstalled the chrome extensions and installed the ones related to your response there, rebooted my machine, and I'm still encountering this failure in Chrome.

    Is there any way to increase that timeout? I've tried the various timeout locations in Telerik Test Studio and in code as well, but it seems the NavigateTo is not completing in whatever time span is set by default.

  4. Uroš
    Uroš avatar
    37 posts
    Member since:
    Dec 2013

    Posted 16 Jun 2015 Link to this post

    I use the latest Chrome extensions and TS version, but it does not help....Since it was always the first scenario on a test list that failed, I have simply changed the execution browser for that scenario to non-Chrome and the problem was gone. It's not the purest solution, but the problem does not appear any more.....
  5. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 18 Jun 2015 Link to this post

    Hello Uros,

    Thank you for your update. Glad to hear you have found a working solution.

    Regards,
    Ivaylo
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top