Exemple #1
0
        public void EndoOfSettingForwarding()
        {
            UserMailPage        UserMailPage        = new UserMailPage(driver);
            SettingsMenu        SettingsMenu        = new SettingsMenu(driver);
            ForwardSettingsPage forwardSettingsPage = new ForwardSettingsPage(driver);

            UserMailPage.Open();
            UserMailPage.GetSettingsMenu();
            SettingsMenu.GoToForwardingSettings();
            forwardSettingsPage.SetForwardCopyTo();
        }
Exemple #2
0
        public void CreateNewFilter(Filter filter)
        {
            UserMailPage UserMailPage = new UserMailPage(driver);

            UserMailPage.Open();
            UserMailPage.GetSettingsMenu();
            SettingsMenu SettingsMenu = new SettingsMenu(driver);

            SettingsMenu.GoToFilterSettings();
            FiltersSettingsPage filterSettingsPage = new FiltersSettingsPage(driver);

            filterSettingsPage.CreateNewFilter(filter);
        }
Exemple #3
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();
        }