Micro Focus QTP (UFT) Forums
Getting the complete width and height of the web browser using qtp - 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: Getting the complete width and height of the web browser using qtp (/Thread-Getting-the-complete-width-and-height-of-the-web-browser-using-qtp)



Getting the complete width and height of the web browser using qtp - learnQtptips - 05-27-2013

Help

Could some one give me a solution to retrieve the complete width and height of the web browser using qtp..

Thanks in advance


RE: Getting the complete width and height of the web browser using qtp - ravi.gajul - 05-27-2013

Code:
nWidth=Browser("browser").getRoproperty("width")
nHeight=Browser("browser").getRoproperty("height")