示例#1
0
            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);
            }
示例#2
0
        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);
        }
示例#3
0
 public static void CleanMachine()
 {
     AT.CleanMachine();
     AT.UpdateSystemSettings();
 }