Browser.ContentWindow returns null with Chrome v32

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

    Posted 15 Jan 2014 Link to this post

    Hi

    Browser.ContentRectangle returns null with Chrome v32.
    Browser.ResizeContent()  fails.

    I tried with framework version 2013.2.1210 and 2013.2.1219

    Thanks
  2. Boyan Boev
    Admin
    Boyan Boev avatar
    1040 posts

    Posted 15 Jan 2014 Link to this post

    Hi,

    Chrome 32 introduces serious changes breaking recording and execution in Test Studio.

    We have just released an internal build which supports Chrome 32. You can download Telerik Testing Framework 1315 from here.

    Hope this helps.

    Regards,
    Boyan Boev
    Telerik
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  3. uteotw
    uteotw avatar
    4 posts
    Member since:
    Nov 2010

    Posted 16 Jan 2014 Link to this post

    Hi Boyan

    using framework 1315:
    .ContentWindow still returns null
    .ResizeContent still fails
    .ContentRectangle now returns some value.

    Thanks
  4. Boyan Boev
    Admin
    Boyan Boev avatar
    1040 posts

    Posted 21 Jan 2014 Link to this post

    Hi,

    Yes you are right. The issue is that Chrome has no longer content window. I have logged a bug report on this. You can track for it here.

    The workaround is to use ActiveBrowser.Window instead of ActiveBrowser.ContentWindow.

    For resizing Chrome you can use ActiveBrowser.Window.Move(new System.Drawing.Rectangle(0, 0, 1024, 768), false);

    Hope this helps.

    Regards,
    Boyan Boev
    Telerik
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  5. Chunks
    Chunks avatar
    17 posts
    Member since:
    Nov 2011

    Posted 22 Jan 2014 Link to this post

    Does the latest internal build Telerik.Testing.Framework.2013.2.1321 takes care of this problem? I understand your point that chrome no longer uses contentWindow so I am looking for an interim solution, thanks!
  6. Boyan Boev
    Admin
    Boyan Boev avatar
    1040 posts

    Posted 23 Jan 2014 Link to this post

    Hello,

    The fix will be included in the next release, expected next week.

    Thank you for your patience.

    Regards,
    Boyan Boev
    Telerik
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  7. Chunks
    Chunks avatar
    17 posts
    Member since:
    Nov 2011

    Posted 23 Jan 2014 Link to this post

    And there was much rejoicing!! :-)
  8. Boyan Boev
    Admin
    Boyan Boev avatar
    1040 posts

    Posted 24 Jan 2014 Link to this post

    Hi,

    Glad to hear that.

    If you need further assistance, please do not hesitate to contact us again.

    Regards,
    Boyan Boev
    Telerik
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  9. Mohanan
    Mohanan avatar
    3 posts
    Member since:
    Jan 2014

    Posted 31 Jan 2014 in reply to Boyan Boev Link to this post

    Is there a fix released to support Chrome 32 testing framework?  I see you mentioned in earlier post expecting a release this week?
  10. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 02 Feb 2014 Link to this post

    Hello Mohanan,

    Yes, we published the official build labeled 2013.2.1327 just a few days ago. Please download it from your account and let us know of your feedback. Thank you!

    Regards,
    Konstantin Petkov
    Telerik
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top