Micro Focus QTP (UFT) Forums

Full Version: Maximize browser?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
Is this any know problem to maximze the browser?I tried below code to do the same .But it wont

Code:
hWnd = Browser("browser_name").GetROProperty("hwnd")
Window("hwnd:=" & hWnd).Maximize
Pls help out

Regards

Madhu
what is the IE version?
This should work on IE6. if you are on IE8, use
Code:
Browser("Google").FullScreen
or
Window("regexpwndtitle:=Windows Internet Explorer","Text:=Google - Windows Internet Explorer").Maximize
Hey Saket its working fine now .

Thank u .Close the thread .

Regards

Madhu