I have the same problem as described in
http://www.telerik.com/forums/can-not-find-ifram-in-firefox
With firefox version > 29 it is still not possible to find iframes generally.
Unfortunatelly we have to use firefox 33. I am using the newest Telerik builk "04420Telerik.Testing.Framework.2014.3.1016" with the newest firefox.
Here is the description of the error I get:
private Browser MailFrame
{
get
{
Browser b=Browser.Frames["mail"]; // Line 602
return b;
}
}
Exception is:
InError set by the client. Client Error:
mozCommandProcessor: GetCurrentDocumentMarkup(): Exception thrown while trying t
o serialize the Dom. Error: TypeError: this.TargetDocument is null
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:
'null',Data:'',ClientId:'0d4ad2f8-bc97-431f-a939-d3a91c8f5945',HasFrames:'False'
,FramesInfo:'',TargetFrameIndex:'7',InError:'True',Response:'mozCommandProcessor
: GetCurrentDocumentMarkup(): Exception thrown while trying to serialize the Dom
. Error: TypeError: this.TargetDocument is null')
InnerException: none.
Debug - ------------------------
Debug - StackTrace:
at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand reques
t)
at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boole
an 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 XXXXXXXXXXXXXX..MainClass.get_MailFrame()
in XXXXXXXXXXXXXX.\MainClass.cs:line 602
....
I also tries to refresh the dom tree with
Manager.Current.ActiveBrowser.Frames.RefreshAllDomTrees();
Manager.Current.ActiveBrowser.Frames.WaitAllUntilReady();
But this did not help.
Do you know a workaround for this bug? Will the bug be fixed?
Thanks in advance.