예제 #1
0
        public static bool IsMessagePresentInInbox(string email, string subject)
        {
            InboxPage page = new InboxPage();

            page.GoToPage();
            page.WaitForPageToLoad();
            return(page.IsMessageExists(email, subject, 7));
        }
예제 #2
0
        public static void CleanInbox()
        {
            InboxPage page = new InboxPage();

            page.GoToPage();
            page.WaitForPageToLoad();
            if (page.SelectAllMessages())
            {
                page.BtnDelete.Click(5);
                page.WaitForPageToLoad();
            }
        }