Config file in QTP?
I'd like to run my tests on difference environments in different time. So based on the environment, I've to change the URL for the browser to navigate. Is there any config file where I can choose the URL based on my environment somewhere? I'm right now doing this in 'Recoard & Run ssttings' manually. Help me!
Re: Config file in QTP?
We store a flag in an extrnal environment xml file which contains the environment identifier.
The 1st thing our scripts do is call an external function which interrgoates the flag and uses a select case statement to decide the url and then creates an IE object and navigates to that url.
Pretty common method, you should find an example by searchin the forum.