ResizeContent() is not working for Chrome

2 posts, 0 answers
  1. Chunks
    Chunks avatar
    17 posts
    Member since:
    Nov 2011

    Posted 11 Jun 2014 Link to this post

    Hi ,

    I am trying to resize a chrome browser instance using Browser.ResizeContent() , but it doesn't seem to be working. Any idea why?

    Thanks!
  2. Boyan Boev
    Admin
    Boyan Boev avatar
    1045 posts

    Posted 16 Jun 2014 Link to this post

    Hello Chunks,

    Thank you contacting us.

    It seems you are using an old version of Testing Framework. We have already fix this issue. Please go ahead an upgrade your Testing Framework to the latest version.

    If you don't want to upgrade it you can use as a workaround for resizing Chrome

    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
     
Back to Top