Micro Focus QTP (UFT) Forums
Change Address on run session - 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: Change Address on run session (/Thread-Change-Address-on-run-session)



Change Address on run session - cocojava - 02-09-2011

IE
QTP10
XP
I have seen this question recently asked by a user; but it;s still 'unanswered. I'll try now.

When a New TEST is started
The user enters a URL in the 'Record and Run Settings'.

If the user originally used a URL that was defined as a 'TESTING environment'; but also had a 'PRODUCTION environment ' url that mimic'd the TEST environment...
Is there a way to change that URL from what was originally used, rather than creating a new script? If so, please describe.
Thanks!


RE: Change Address on run session - jsknight1969 - 02-11-2011

I don't use the Run and Record settings to launch. Try this.

Code:
SystemUtil.Run  "iexplore.exe", Parameter("URL")

set Run and Record settings to any web application.

Hope this helps.