We are using webaii for more then 4 years and suddenly this code doesn't work anymore in firefox
Im using the newest Webaii Build.
The code:
public SelfServiceWrapper SelfService
{
get
{
if (_selfService == null)
{
GetElementById("robin_popover");
GetElementById("robin_container");
GetElementById("robin_frame");
var iframe = Browser.Frames["robin_frame"];
_selfService = new SelfServiceWrapper(iframe);
}
Assert.IsNotNull(_selfService, "Robin frame is niet gevonden door webaii");
return _selfService;
}
}
error:
ArtOfTest.WebAii.Exceptions.ExecuteCommandException occurred
HResult=-2146233088
Message=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:'cd61cd86-85b8-44b0-973c-3f9f74f9ff1a',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.
Source=ArtOfTest.WebAii
StackTrace:
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()
at ArtOfTest.WebAii.Core.FramesCollection.EnsureDomLoaded(Browser browser)
at ArtOfTest.WebAii.Core.FramesCollection.get_Item(String name)
at Robin.Tests.UITests.Wrappers.SelfService.CustomerWebsiteWrapper.get_SelfService() in c:\Projects\Robin\Main\Source\Tests.UITests\Wrappers\SelfService\CustomerWebsiteWrapper.cs:line 119
InnerException:
http://cl.ly/image/3A411n0R3P2a
When I run this test in chrome it passes!
Please can you take a look at this?
Im using the newest Webaii Build.
The code:
public SelfServiceWrapper SelfService
{
get
{
if (_selfService == null)
{
GetElementById("robin_popover");
GetElementById("robin_container");
GetElementById("robin_frame");
var iframe = Browser.Frames["robin_frame"];
_selfService = new SelfServiceWrapper(iframe);
}
Assert.IsNotNull(_selfService, "Robin frame is niet gevonden door webaii");
return _selfService;
}
}
error:
ArtOfTest.WebAii.Exceptions.ExecuteCommandException occurred
HResult=-2146233088
Message=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:'cd61cd86-85b8-44b0-973c-3f9f74f9ff1a',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.
Source=ArtOfTest.WebAii
StackTrace:
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()
at ArtOfTest.WebAii.Core.FramesCollection.EnsureDomLoaded(Browser browser)
at ArtOfTest.WebAii.Core.FramesCollection.get_Item(String name)
at Robin.Tests.UITests.Wrappers.SelfService.CustomerWebsiteWrapper.get_SelfService() in c:\Projects\Robin\Main\Source\Tests.UITests\Wrappers\SelfService\CustomerWebsiteWrapper.cs:line 119
InnerException:
http://cl.ly/image/3A411n0R3P2a
When I run this test in chrome it passes!
Please can you take a look at this?