public void ConfirmForwardingFrom(string login) { UserMailPage UserMailPage = new UserMailPage(driver); UserMailPage.SelectMessageBySubject(login); UserMailPage.ConfirmForwarding(); UserMailPage.LogOut(); }
//========================================================= public void SetForwardingToUser(string login) { UserMailPage UserMailPage = new UserMailPage(driver); UserMailPage.Open(); //Go to settings menu UserMailPage.GetSettingsMenu(); SettingsMenu SettingsMenu = new SettingsMenu(driver); //Go to forwarding settings and set forward to user3 SettingsMenu.GoToForwardingSettings(); ForwardSettingsPage forwardSettingsPage = new ForwardSettingsPage(driver); forwardSettingsPage.SetForwardUser(login); UserMailPage.Open(); UserMailPage.LogOut(); }
public void LogOut() { UserMailPage UserMailPage = new UserMailPage(driver); UserMailPage.LogOut(); }