| || |
Running tests from different environments
Because I dont have access to the PreProduction environment, I am forced to script my QTP script using SIT. My application is a Java applicaiton that is deployed through JavaWebStart. I access it through a link on a page that has a list of environments.
Here is the problem - How do I change the URL of my environment and make the script run in that particular version?
Re: Running tests from different environments
Define an user defined environment variable for the URL and add the following code in the begining of your script.
<font class="small">Code:</font><hr /><pre>
Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = "true"
Do Until Not IE.Busy
Hope this helps.