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

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

4 Answers 120 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Uroš
Top achievements
Rank 2
Uroš asked on 04 Jun 2015, 05:57 AM

 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!

4 Answers, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 08 Jun 2015, 01:32 PM
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!
0
jeff
Top achievements
Rank 1
answered on 15 Jun 2015, 05:16 PM

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.

0
Uroš
Top achievements
Rank 2
answered on 16 Jun 2015, 05:45 AM
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.....
0
Ivaylo
Telerik team
answered on 18 Jun 2015, 07:54 AM
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!
Tags
General Discussions
Asked by
Uroš
Top achievements
Rank 2
Answers by
Boyan Boev
Telerik team
jeff
Top achievements
Rank 1
Uroš
Top achievements
Rank 2
Ivaylo
Telerik team
Share this question
or