Micro Focus QTP (UFT) Forums
Is there any Inbuilt Methods to control the IE Browser. - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Is there any Inbuilt Methods to control the IE Browser. (/Thread-Is-there-any-Inbuilt-Methods-to-control-the-IE-Browser)



Is there any Inbuilt Methods to control the IE Browser. - ritesh - 04-26-2010

Hi All,

I'm doing descriptive programming.
My requirement is:
1) To maximize the IE Browser.
2) Refresh the existing IE Browser.

Is there any inbuilt methods or do i have to write a seperate functions for the above requirement.


RE: Is there any Inbuilt Methods to control the IE Browser. - manishbhalshankar - 04-26-2010

Hi Ritesh,
Use:
Code:
haWnd = Browser("").Object.HWND
Window("hwnd:=" & haWnd).Maximize
Browser("").Refresh



RE: Is there any Inbuilt Methods to control the IE Browser. - ritesh - 04-26-2010

Hi Manish,

Thank you very much for quick reply...It was really helpful...

Regards,
Ritesh