Unified Functional Testing Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

Maximize chrome browser using UFT

Highlighted
Advisor

Maximize chrome browser using UFT

How can I maximize chrome browser using UFT?

 

I am unable to get any success with hwnd method.

1 REPLY
Advisor

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.