Firefox5: Browser.ContentWindow.Rectangle is wrong

2 posts, 0 answers
  1. uteotw
    uteotw avatar
    4 posts
    Member since:
    Nov 2010

    Posted 07 Jul 2011 Link to this post

    Hi

    I just wanted to report that when using FireFox 5.0 Browser.ContentWindow.Rectangle returns the same values as Browser.Window.Rectangle

    So this is a problem when doing Browser.ContentWindow.GetBitmap()

    FYI : IE9 and Chrome12 don't repro this problem, I haven't tried with Safari5.

    Hope you can fix this one soon.

    Cheers
  2. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 08 Jul 2011 Link to this post

    Hello Uteotw,

    I'm afraid this isn't actually a bug. Mozilla radically changed the browser window in Firefox 4 (and 5). The ContentWindow property in Firefox now returns the same Windows window as the "window" property. Firefox 4+ no longer has a separate Win32 windows for its chrome and its content. They are now one in the same window. I'm afraid you'll need to account for this difference in your testing.

    Greetings,
    Cody
    the Telerik team
    Register today for a live 'What's New in Test Studio R1 2011 SP2' event on Tuesday, July 19 at 2pm EST!

    Have you looked at the new Online User Guide for Telerik Test Studio?
Back to Top