public void MarkLetterAsSpam(string subject) { UserMailPage UserMailPage = new UserMailPage(driver); UserMailPage.SelectMessageBySubject(subject); UserMailPage.PutMessageToSpam(); }
public void ConfirmForwardingFrom(string login) { UserMailPage UserMailPage = new UserMailPage(driver); UserMailPage.SelectMessageBySubject(login); UserMailPage.ConfirmForwarding(); UserMailPage.LogOut(); }
public bool CheckSpamFolder(string subject) { UserMailPage UserMailPage = new UserMailPage(driver); UserMailPage.ToSpamFolder(); bool result = UserMailPage.SelectMessageBySubject(subject); return(result); }