Micro Focus QTP (UFT) Forums
Getting URL from Internet Explorer - 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 URL from Internet Explorer (/Thread-Getting-URL-from-Internet-Explorer)



Getting URL from Internet Explorer - BVVPrasad - 07-25-2011

Hi All,

I need to read the URL present in the address bar of the internet explorer. For example if we launch www.gmail.com using IE. I have to read that URL from the browser address bar.

Thanks for your help in advance.

-Prasad


RE: Getting URL from Internet Explorer - rajpes - 07-25-2011

Code:
msgbox Browser("Gmail: Email from Google").Object.LocationURL