Completed
Last Updated: 05 May 2016 15:07 by Amy
ADMIN
Cody
Created on: 17 Dec 2015 15:09
Type: Feature Request
0
A click on a specific website sometimes yields: System.TimeoutException: Timed out waiting for command to be handled
Running a specific test as part of a test list in Chrome sometimes gives the following error:

Overall Result: Fail
------------------------------------------------------------
'12/15/2015 12:57:51 PM' - Executing test: 'OnBeforeUnload', path: 'UnloadTest\OnBeforeUnload.tstest.'
'12/15/2015 12:57:51 PM' - Using .Net Runtime version: '4.0.30319.34209' for test execution. Build version is '2015.3.1015.0'.
'12/15/2015 12:57:51 PM' - Starting execution....
------------------------------------------------------------
------------------------------------------------------------
'12/15/2015 12:57:53 PM' - Using 'Chrome' version '47.0.2526.106' as default browser. 
'12/15/2015 12:57:54 PM' - 'Pass' : 1. Navigate to : 'http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_onbeforeunload'
'12/15/2015 12:57:55 PM' - LOG: Unexpected dialog encountered. Taking no action.
'12/15/2015 12:58:15 PM' - 'Fail' : 2. Click 'ClickHereToLink'
------------------------------------------------------------
Failure Information: 
~~~~~~~~~~~~~~~
ExecuteCommand failed!
BrowserCommand (Type:'Information',Info:'IsReady',Action:'NotSet',Target:'null',Data:'',ClientId:'fc409eea-3941-4513-acff-4632febe5eea',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'0',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:'fc409eea-3941-4513-acff-4632febe5eea',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'0',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.Actions.Click(Element targetElement)
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.Click()
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.Click(Boolean isClosing)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.ClickActionDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------
'12/15/2015 12:58:15 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'12/15/2015 12:58:15 PM' - Overall Result: Fail
'12/15/2015 12:58:15 PM' - Duration: [0 min: 21 sec: 515 msec]
------------------------------------------------------------
'12/15/2015 12:58:58 PM' - Test completed!

Test to reproduce the problem is attached.
Attached Files:
5 comments
Amy
Posted on: 05 May 2016 15:07
Thanks so much.
ADMIN
Pavel
Posted on: 05 May 2016 11:32
The issue is now resolved and the fix will be available in our next official release.
Amy
Posted on: 17 Mar 2016 16:02
I had the official release from January. Just to make sure I was completely up to date, I downloaded the latest available yesterday. I now have version 2015.3.1429.0. I am still having the issue intermittently.
ADMIN
Daniel Djambov
Posted on: 15 Mar 2016 13:10
Telerik: we have implemented fixes and are unable to reproduce this behavior in our latest product code. Which Test Studio version are you using? Can you check if you have latest version from 2016 (official release in Jan or internal build from end of Feb)? and confirm if issue is still present at your end?
Amy
Posted on: 14 Mar 2016 18:46
Has any progress been made on this? We are still having this issue. Thanks.