Solved
Forum Discussion
2 Replies
- tristaanogreEsteemed Contributor
Aliases.browser.BrowserWindow.Maximize();
This assumes that you have such a thing mapped in aliases... basically, off the Sys.Browser() object (https://support.smartbear.com/testcomplete/docs/reference/test-objects/controls/web/general/browser/index.html) , there is a method call to BrowserWindow (https://support.smartbear.com/testcomplete/docs/reference/test-objects/controls/web/general/browser-window/index.html) where you pass in the index of the browser window... if you only have one, that would be BrowserWindow(0). That object then allows you to call the Maximize method.
- kevin_kapellFrequent Contributor
That worked. Thanks