public void StartApp()
 {
     LoggerUtil.InitLogger();
     LoggerUtil.Log.Info("Test started");
     ProcessesUtil.CloseAllProcessesByName(Settings.Default.processName);
     _app = App.GetInstance().GetApplication();
     LoggerUtil.Log.Info("Precondition completed");
 }
Exemplo n.º 2
0
 public void InitLogger()
 {
     LoggerUtil.InitLogger();
     LoggerUtil.Info("Starting the scenario...");
     ProcessesUtil.CloseAllProcessesByName(ConfigurationManager.AppSettings["processName"]);
 }
 public void GivenAllOldInstancesOfAppAreClosed()
 {
     ProcessesUtil.CloseAllProcessesByName(ConfigurationManager.AppSettings["processName"]);
 }