Micro Focus QTP (UFT) Forums
How to open IE/Chrome/Firefox with a specific size? - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: How to open IE/Chrome/Firefox with a specific size? (/Thread-How-to-open-IE-Chrome-Firefox-with-a-specific-size)



How to open IE/Chrome/Firefox with a specific size? - DarkestAmadeus - 07-19-2018

Hi!

I  hope you are ok. I'm stucked with this situation. I'm trying to open a browser (IE, Chrome and Firefox, one by one of course) but with specific height and width. How can I do that?

I have reached until this point to open a browser:

Code:
Function Newbr()
SystemUtil.CloseProcessByName("chrome.exe")
SystemUtil.Run "chrome.exe", path
End Function


Call Newbr()

But  I don't find more methods or functions to resize the browser

Any help?

Thanks