public void InitializeConfigs() { //Read the Test Configs(including the ones in app.config) string nameOfTestingDirectory = Assembly.GetExecutingAssembly().GetName().Name; //Get the current context path TestConfigs.SetCurrentContextPath(nameOfTestingDirectory); //Read the Test Configs (including the ones in app.config) TestConfigs.Init(); //This is a workaround to overcome the problem of placing all the configs under the test project string applicationConfigs = TestConfigs.AutomationDirectory.Replace(".Automation.Test", ".Automation.Application"); //Read Application Configs AppConfigs.ReadApplicationConfigs(applicationConfigs); ////TODO: Virtual ////Read the automated app configs //TestConfigs.ReadApplicationConfigs(); }