Execute Coded UI Tests in multiple environments
问题 Right now my Coded UI Tests use their app.config to determine the domain they execute in, which has a 1-1 relationship with environment. To simplify it: www.test.com www.UAT.com www.prod.com and in App.config I have something like: <configuration> <appSettings> <add key="EnvironmentURLMod" value ="test"/> and to run the test in a different environment, I manually change the value between runs. For instance the I open the browser like this: browserWindow.NavigateToUrl(new Uri("http://www." +