Ejemplo n.º 1
0
        public static void DeleteAllMail()
        {
            Thread.Sleep(3000);
            Driver.DriverInstance.Navigate().GoToUrl(MAIL_INBOX);
            Thread.Sleep(3000);
            InBoxPage inp = new InBoxPage();

            if (inp.SelectAllMail())
            {
                inp.ButtonDelete.Click();
            }
        }
Ejemplo n.º 2
0
        public static void MoveMailFromSpam(string email)
        {
            InBoxPage inp = new InBoxPage();

            if (inp.SelectAllMail() == true)
            {
                inp.ButtonNotSpam.Click();
            }
            else
            {
                return;
            }
        }