Unexpected Exception thrown while test running in TestStudio

Thread is closed for posting
6 posts, 0 answers
  1. fabrice
    fabrice avatar
    6 posts
    Member since:
    Jun 2016

    Posted 31 Jan 2017 Link to this post

    I am testing in Firefox 51 , using TestStudio  build 2016.3.1304

     

    Sometimes the  runner would simply fail for no apparent reason and throw out the following error:

    --------------------------------------------------------------

     

    Unexpected error while waiting on condition. Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
    BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'57d92fca-7e2d-4d60-a184-d76ff3359058',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'False',Response:'')
    InnerException: ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
    InError set by the client. Client Error:
    mozCommandProcessor: ProcessInformationCommand(): Document is not ready to retrieve its markup.
    BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'57d92fca-7e2d-4d60-a184-d76ff3359058',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'mozCommandProcessor: ProcessInformationCommand(): Document is not ready to retrieve its markup.')
    InnerException: none.

       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.RefreshDomTree()
     ---> ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
    InError set by the client. Client Error:
    mozCommandProcessor: ProcessInformationCommand(): Document is not ready to retrieve its markup.
    BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'57d92fca-7e2d-4d60-a184-d76ff3359058',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'mozCommandProcessor: ProcessInformationCommand(): Document is not ready to retrieve its markup.')
    InnerException: none.

       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.RefreshDomTree()
       --- End of inner exception stack trace ---
       at ArtOfTest.WebAii.Core.Browser.RefreshDomTree()
       at ArtOfTest.WebAii.Core.Browser.ArtOfTest.Common.IAutomationHost.EnsureStateIsCurrent()
       at ArtOfTest.Common.Design.Extensibility.Descriptors.VerificationDescriptor.<PerformWait>b__30_0(IAutomationHost hst, DescriptorValueStore values)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.Delegate.DynamicInvokeImpl(Object[] args)
       at ArtOfTest.Common.WaitAsync._worker_DoWork[T,V](Object waitParam)

  2. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    942 posts

    Posted 03 Feb 2017 Link to this post

    Hello Fabrice,

    Thank you for choosing Telerik Test Studio.

    The issue you are facing is due to the changes introduced with the latest Firefox edition. We have tested it and applied some fixes which will be introduced in our future official release which is planned for the upcoming week. Once the release is published I would recommend you upgrade to it and then give a try to the Firefox automation you have and in case you face any of the reported difficulties contact us again.

    I hope this sounds reasonable enough to you. Thanks in advance for your understanding!

    Regards,
    Elena Tsvetkova
    Telerik by Progress 
  3. fabrice
    fabrice avatar
    6 posts
    Member since:
    Jun 2016

    Posted 06 Feb 2017 in reply to Elena Tsvetkova Link to this post

    Thanks Elena,  the issue can also be seen in the latest version of Chrome 56.0.29.

    Is the new build expected to be released this week ?

  4. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    942 posts

    Posted 07 Feb 2017 Link to this post

    Hello Fabrice,

    The official 2017 R1 release is now live and you could update your Test Studio. 

    Please give a try to the latest version and let me know if you continue facing the same behavior. If you encounter the same error please provide us further details on it. 
    - Does always the same test fail? 
    - Does it fail on the same step? 
    - Is there anything specific for that test/step? 

    I will appreciate whatever might be of further help for an occasional investigation. Thanks a lot in advance! 

    Regards,
    Elena Tsvetkova
    Telerik by Progress 
  5. fabrice
    fabrice avatar
    6 posts
    Member since:
    Jun 2016

    Posted 07 Feb 2017 in reply to Elena Tsvetkova Link to this post

    Hi Elena,

    I am currently using the lastest  Internal Build of Test Studio Web & Desktop[2016.3.1304]

    Will you update the interal build also with the  the latest changes ? 

    regards,

    F.N

  6. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    942 posts

    Posted 07 Feb 2017 Link to this post

    Hi Fabrice,

    All changes are introduce in the latest official release - 2017.1.207. To be able to double check these you will need to upgrade to it. Thanks! 

    Regards,
    Elena Tsvetkova
    Telerik by Progress 
Back to Top