Beispiel #1
0
        public static void Login(string operatorId, string password, string paymentId, string passwordPay, string researchId, string passwordRes)
        {
            Window corkBoardWindow = getCorkBoardWindow();

            // Choose vipr in drop down list

            ToolStrip toolBar = corkBoardWindow.Get <White.Core.UIItems.WindowStripControls.ToolStrip>(SearchCriteria.ByControlType(ControlType.ToolBar));

            White.Core.UIItems.ListBoxItems.ComboBox comboBox = toolBar.Get <White.Core.UIItems.ListBoxItems.ComboBox>(SearchCriteria.ByControlType(ControlType.ComboBox));

            comboBox.Select("ViPr");

            // Logon Info - ACF2
            //Login(corkBoardWindow, "CredentialsDialog", "q054", "#happy07");
            Login(corkBoardWindow, "Logon Info - ACF2", "q054", "#happy07");

            // Logon Info - Proclaim Payment
            //Login(corkBoardWindow, "CredentialsDialog", "tstplb", "#happy05");
            Login(corkBoardWindow, "Logon Info - Proclaim Payment", "tstplb", "#happy05");

            // Logon Info - Proclaim Research
            //Login(corkBoardWindow, "CredentialsDialog", "tr9plb", "#happy05");
            Login(corkBoardWindow, "Logon Info - Proclaim Research", "tr9plb", "#happy05");

            // Wait for ViPr
            Thread.Sleep(30000);

            ViPrHack();
        }