Currently I'm manually updating the hosts file before executing our regression script over multiple servers and environments. This creates a problem because the browser opens before the hosts file is copied for the specific environment and could point to the wrong server. Is there a way to prevent the browser from opening at runtime and only open after the initial copy script executes? Seems like my only option here is to call the script from a .bat file and update the settings before execution.
Thanks!
Edit1: Guess I have to just call it from a bat file. This is a feature I really miss from QTP, how about adding this to an enhancements list.
Thanks!
Edit1: Guess I have to just call it from a bat file. This is a feature I really miss from QTP, how about adding this to an enhancements list.