Maximize chrome browser using UFT (187 Views)
Posts: 15
Registered: ‎04-09-2014
Message 1 of 2 (187 Views)

Maximize chrome browser using UFT

How can I maximize chrome browser using UFT?


I am unable to get any success with hwnd method.

Please use plain text.
Posts: 17
Registered: ‎06-19-2013
Message 2 of 2 (166 Views)

Re: Maximize chrome browser using UFT

I'm not sure how you are creating your chrome browser instance, but I always prefer doing it using below line of code


       SystemUtil.Run "chrome.exe" , URL, , , 3


However, if you prefer to specifically handle a window, I'll would try something like below


       Window("nativeclass:=Chrome_WidgetWin_1","regexpwndtitle:= Google Chrome").Maximize

-- Opinions expressed in my postings are mine alone, and do not reflect the opinions of my employer. No warranties express or implied for any solution/suggestion posted.
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation