public void Init() { OpenSpanEvents.SetAllHotkeys(); OpenSpanEvents.SetAllMacros(); //AT.CleanMachine(); //Directory.CreateDirectory(NunitSettings.DttPath); Directory.CreateDirectory(NunitSettings.TempFolder); //Stop services Service.Start(NunitSettings.ServiceWdName); Service.Start(NunitSettings.ServiceDttName); OpenSpanWindows.WaitOpenSpan(60000); //OpenSpanEvents.SetAllHotkeys(); ViPrClass.RunVipr(); ViPrClass.LogOnToSystem(NunitSettings.OperatorId, NunitSettings.PasswordId, NunitSettings.PaymentId, NunitSettings.PasswordPay, NunitSettings.ResearchId, NunitSettings.PasswordRes); }
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); }