Won't Fix
Last Updated: 20 Apr 2016 15:08 by ADMIN
ADMIN
Ivaylo
Created on: 08 Feb 2016 08:45
Type: Bug Report
0
Exception thrown while trying to serialize the Dom against customer website using Firefox
Steps to reproduce:



1. Execute the test attached internally using Firefox.



Problem: 1

Expected behavior: The test should pass

Actual behavior: Step 15 fails with the following exception:



'02/08/2016 10:01:39 AM' - 'Fail' : 15. Wait for 'TextContent' 'Contains' 'Get started with your Free Membership' on 'GetStartedSpan'
------------------------------------------------------------
Failure Information: 
~~~~~~~~~~~~~~~
Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'9340011e-3a1a-4995-a4d1-ad32e1bef2db',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'0',InError:'False',Response:'')
InnerException: ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
InError set by the client. Client Error:
mozCommandProcessor: GetCurrentDocumentMarkup(): Exception thrown while trying to serialize the Dom. Error: TypeError: this.TargetDocument is null
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'9340011e-3a1a-4995-a4d1-ad32e1bef2db',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'0',InError:'True',Response:'mozCommandProcessor: GetCurrentDocumentMarkup(): Exception thrown while trying to serialize the Dom. Error: TypeError: this.TargetDocument is null')
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: GetCurrentDocumentMarkup(): Exception thrown while trying to serialize the Dom. Error: TypeError: this.TargetDocument is null
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'9340011e-3a1a-4995-a4d1-ad32e1bef2db',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'0',InError:'True',Response:'mozCommandProcessor: GetCurrentDocumentMarkup(): Exception thrown while trying to serialize the Dom. Error: TypeError: this.TargetDocument is null')
InnerException: none.



The above problem is not reproduced with IE and Chrome

Problem: 2

When I do Run to Here on step 14 and try re-record step 15 the Highlighting does not work, I guess this behavior is related to the first problem when we are not able to get the Markup.

The above problem is not reproduced with IE
2 comments
ADMIN
Ivaylo
Posted on: 20 Apr 2016 15:08
Problem 2 with the highlighting is fixed
ADMIN
Ivaylo
Posted on: 20 Apr 2016 15:06
We will not be able to fix this since this is a restriction in Firefox browser and we do not have control over.  A possible solution would be to allow CORS on the server for testing purposes.