Micro Focus QTP (UFT) Forums
Switching between URLs - 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: Switching between URLs (/Thread-Switching-between-URLs)



Switching between URLs - sqadri - 02-01-2012

Hi,

I have setup the application for a URl but inbetween I need to switch over to a different URL so in the script I close the main browser and then launch another browser using
SystemUtil.Run function, is this the only way to switch between the urls.

Thanks,
Sqadri


RE: Switching between URLs - rajpes - 02-01-2012

Code:
set IE=Createobject("InternetExplorer.Application")
IE.Navigate "url1"
IE.Navigate "url2"