09-29-2008, 05:28 PM
They are not related... the change of host is a pre-requisite before launch of script to choose the right environment in which doing tests... but i observe that with the function "systemutil.run ..." the browser will be opened always on the right environment, while with CreateObject("InternetExplorer.Application") not...
In particular, if for example there is a browser already opened on AAA environment, then change host towards BBB and launch function, the new browser will be opened again on AAA (and not BBB...), while if there are not previous opened browsers on AAA, the new browser will be correctly opened on BBB.
It seems that in case of pre-existent opened browsers, the CreateObject("InternetExplorer.Application") will open a new browser on the same environment of opened browsers...
It's strange because with "systemutil.run ..." i have not this behaviour...
In particular, if for example there is a browser already opened on AAA environment, then change host towards BBB and launch function, the new browser will be opened again on AAA (and not BBB...), while if there are not previous opened browsers on AAA, the new browser will be correctly opened on BBB.
It seems that in case of pre-existent opened browsers, the CreateObject("InternetExplorer.Application") will open a new browser on the same environment of opened browsers...
It's strange because with "systemutil.run ..." i have not this behaviour...