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

Finding IFrames with Firefox version >29 does not work generally

5 Answers 11 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tillmann
Top achievements
Rank 1
Tillmann asked on 03 Nov 2014, 09:58 AM

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.




5 Answers, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 06 Nov 2014, 09:29 AM
Hello,

Please excuse me for the delayed reply.

We are aware of this issue and we have this bug log internally. I have submitted a feedback item related to the existing bug which you can find using this public URL. This way you can keep track and vote for the item.

Unfortunately I was not able to find a suitable workaround for problem.

Thank you for your understanding and patience.

Regards,
Ivaylo
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
0
Tillmann
Top achievements
Rank 1
answered on 12 Dec 2014, 08:26 AM
Hello again,

do you know, when the bug will be fixed?

Regards,
Tillmann
0
Ivaylo
Telerik team
answered on 12 Dec 2014, 01:11 PM
Hello Tillmann,

As I can see this is scheduled for the first official release in the beginning of 2015.

Thank you for your patience and understanding.

Regards,
Ivaylo
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
0
Tillmann
Top achievements
Rank 1
answered on 25 Nov 2015, 09:48 AM

Hello again,

can you tell me if the frames problem in firefox >29 is fixed in the current version?

 

Thanks

 

Tillmann

0
Ivaylo
Telerik team
answered on 27 Nov 2015, 09:45 AM
Hеllo Tillmann,

It looks like this bug has been fixed back in January so you can feel free to install the latest build and give it a try.

Regards,
Ivaylo
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Tillmann
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Tillmann
Top achievements
Rank 1
Share this question
or