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

Unexpected Exception thrown while test running in TestStudio

5 Answers 96 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
fabrice
Top achievements
Rank 1
fabrice asked on 31 Jan 2017, 05:24 PM

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)

5 Answers, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 03 Feb 2017, 01:09 PM
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 
0
fabrice
Top achievements
Rank 1
answered on 06 Feb 2017, 04:55 PM

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 ?

0
Elena
Telerik team
answered on 07 Feb 2017, 03:26 PM
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 
0
fabrice
Top achievements
Rank 1
answered on 07 Feb 2017, 03:38 PM

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

0
Elena
Telerik team
answered on 07 Feb 2017, 03:48 PM
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 
Tags
General Discussion
Asked by
fabrice
Top achievements
Rank 1
Answers by
Elena
Telerik team
fabrice
Top achievements
Rank 1
Share this question
or