public bool IsMsgInSpam() { Pages.InboxPage inboxpage = new Pages.InboxPage(driver); inboxpage.CheckInSpam(); driver.Manage().Timeouts().ImplicitlyWait(TimeSpan.FromSeconds(3)); return(inboxpage.CheckMsgInSpam()); }
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)); }
public void MsgCheck() { Pages.InboxPage inboxpage = new Pages.InboxPage(driver); inboxpage.LetterCheck(); }
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)); }