Micro Focus QTP (UFT) Forums
Getting the url of the web page being tested - 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: Getting the url of the web page being tested (/Thread-Getting-the-url-of-the-web-page-being-tested)



Getting the url of the web page being tested - qtpuser - 01-23-2012

Hi: Can any of you help me let me know a way to get the web page address during the test or within the test.

Ex: if the test is running on the page www.Google.com, I want to get this URL inside the test.

Thanks.


RE: Getting the url of the web page being tested - basanth27 - 01-29-2012

Did you spy on the browser RO properties?


RE: Getting the url of the web page being tested - vinod123 - 01-30-2012

Use GetRoProperty to get the property value and write the script by using the GetROProperty of that value