Пример #1
0
        public void ConfirmForwardingFrom(string login)
        {
            UserMailPage UserMailPage = new UserMailPage(driver);

            UserMailPage.SelectMessageBySubject(login);
            UserMailPage.ConfirmForwarding();
            UserMailPage.LogOut();
        }
Пример #2
0
        //=========================================================

        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();
        }
Пример #3
0
        public void LogOut()
        {
            UserMailPage UserMailPage = new UserMailPage(driver);

            UserMailPage.LogOut();
        }