Exemplo n.º 1
0
        public static bool IsMessagePresentInSpam(string email, string subject)
        {
            SpamPage page = new SpamPage();

            page.WaitForPageToLoad();
            return(page.IsMessageExists(email, subject, 7));
        }
Exemplo n.º 2
0
        public static void MoveMessageToInbox(string email, string subject)
        {
            SpamPage page = new SpamPage();

            page.WaitForPageToLoad();
            while (page.IsMessageExists(email, subject, 7))
            {
                page.CbMessageChecker.Select(7);
                page.BtnNotSpam.Click(7);
            }
        }