Esempio n. 1
0
 public bool IsMsgInSpam()
 {
     Pages.InboxPage inboxpage = new Pages.InboxPage(driver);
     inboxpage.CheckInSpam();
     driver.Manage().Timeouts().ImplicitlyWait(TimeSpan.FromSeconds(3));
     return(inboxpage.CheckMsgInSpam());
 }
Esempio n. 2
0
        public void LogOut(string username)
        {
            Pages.InboxPage inboxPage = new Pages.InboxPage(driver);
            Pages.LoginPage loginPage = new Pages.LoginPage(driver);
            inboxPage.LogOut(username);

            loginPage.DelUser();
            driver.Manage().Timeouts().ImplicitlyWait(TimeSpan.FromSeconds(3));
        }
Esempio n. 3
0
 public void MsgCheck()
 {
     Pages.InboxPage inboxpage = new Pages.InboxPage(driver);
     inboxpage.LetterCheck();
 }
Esempio n. 4
0
 public void SendMsg(string unametomsg, string theme, string msgtext, string filepath)
 {
     Pages.InboxPage inboxPage = new Pages.InboxPage(driver);
     inboxPage.SendMsg(unametomsg, theme, msgtext, filepath);
     driver.Manage().Timeouts().ImplicitlyWait(TimeSpan.FromSeconds(3));
 }