Micro Focus QTP (UFT) Forums
Altering hosts files - 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: Altering hosts files (/Thread-Altering-hosts-files)



Altering hosts files - cocojava - 07-28-2010

qtp10
ie8
Windows

Typically prior to putting in a new App into our PRODUCTION environment, we of course, will put it into a TEST environment.

Sometimes, even with TEST it's necessary to create a 'PV environment' and alter the hosts settings on the computer.

How do I change those so that QTP will recognize them OR is it automatic?


RE: Altering hosts files - basanth27 - 07-28-2010

havent got the gist of it, but astrologically i can say that use filesystemobject in vbscript to modify the host file and save it, which is automatic.

Does this light the fire ?


RE: Altering hosts files - cocojava - 07-29-2010

I was able to compare a new 'pending page', so altering the original hosts files on the computer did work afterall. Thanks.