Micro Focus QTP (UFT) Forums
Open a URL. through 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Open a URL. through QTP (/Thread-Open-a-URL-through-QTP)

Pages: 1 2


RE: Open a URL. through QTP - Ankur - 05-22-2008

its fine...
1) He has combined DP and regular expression. Yes, name refers to the name of browser. You can see it by doing an object spy on it OR in the Object Repository
2) This would work in case you have only 1 browser open. If you have more than 1, you need to give some more properties.
3) As above


RE: Open a URL. through QTP - Akhila - 05-23-2008

Thanks Ankur!

As you suggested I found the name of the browser by doing an object spy, and the script run is successful.
I modified the script as....
Browser("Gmail: Email from Google").Close