Ejemplo n.º 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);
        }
Ejemplo n.º 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);
            }
Ejemplo n.º 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);
        }