public void Init() { Console.WriteLine("Set hotkeys"); OpenSpanEvents.SetAllHotkeys(); OpenSpanEvents.SetAllMacros(); Console.WriteLine("Clean folders"); AT.CleanMachine(); Console.WriteLine("Create folders"); Directory.CreateDirectory(NunitSettings.TempFolder); //Start services Console.WriteLine("Starting services"); Service.Start(NunitSettings.ServiceWdName); Service.Start(NunitSettings.ServiceDttName); Console.WriteLine("Services started"); OpenSpanWindows.WaitOpenSpan(60000); }
public void Init() { Console.WriteLine("Set hotkeys"); OpenSpanEvents.SetAllHotkeys(); OpenSpanEvents.SetAllMacros(); Console.WriteLine("Clean folders"); AT.CleanMachine(); Console.WriteLine("Create folders"); Directory.CreateDirectory(NunitSettings.TempFolder); //Start services Console.WriteLine("Starting services"); Service.Start(NunitSettings.ServiceWdName); Service.Start(NunitSettings.ServiceDttName); Console.WriteLine("Services started"); OpenSpanWindows.WaitOpenSpan(60000); ViPrClass.RunVipr(); ViPrClass.LogOnToSystem(NunitSettings.OperatorId, NunitSettings.PasswordId, NunitSettings.PaymentId, NunitSettings.PasswordPay, NunitSettings.ResearchId, NunitSettings.PasswordRes); }
public static void CleanMachine() { AT.CleanMachine(); AT.UpdateSystemSettings(); }