コード例 #1
0
        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);
        }
コード例 #2
0
ファイル: Calculators.cs プロジェクト: kkhrebtov/MyEnkTests
            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);
            }
コード例 #3
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);
        }