Exemplo n.º 1
0
        private static Boolean alibabaLogin(ChromeDriver driver, String connString, SettingsInfo setting, Int32 sleep)
        {
            //display(String.Format("Login [{0}] ... ", setting.Email), true, true);
            Boolean success = driver.AlibabaLogin(setting.Email, setting.Password, setting.UrlAlibaba, setting.UrlMessage, sleep);

            if (!success)
            {
                //display(String.Format(" [Logged in]", ""), false, false);
                DataOperation.UpdateSettingStatus(connString, setting, StatusExtension.ErrorMessage);
                //display(String.Format(" [Updated]", ""), true, false);
            }
            return(success);
        }