maximized Flag doesn't work for Firefox and Chrome
Posted: Wed Jul 10, 2013 1:50 pm
I'm testing an application for multiple browsers with the following code:
The string "browser" is either "ie", "Firefox" or "Chrome".
As the tested application needs to be run in a maximized window, I've set the parameter "maximized" to true.
Unfortunately only IE opens always in a maximized window, Firefox and Chrome are just run as they have been closed - if the last state wasn't maximized, the browser window keeps staying small.
I'm running Ranorex v4.0.5, Windows 7 x64 SP1, IE9, Firefox 22 and Chrome 27.
Code: Select all
Host.Local.OpenBrowser(url, browser, "", false, true);
As the tested application needs to be run in a maximized window, I've set the parameter "maximized" to true.
Unfortunately only IE opens always in a maximized window, Firefox and Chrome are just run as they have been closed - if the last state wasn't maximized, the browser window keeps staying small.
I'm running Ranorex v4.0.5, Windows 7 x64 SP1, IE9, Firefox 22 and Chrome 27.