Ejemplo n.º 1
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();
        }
Ejemplo n.º 2
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();
        }
Ejemplo n.º 3
0
        public void LoginAsUser(string login, string password)
        {
            StartPage StartPage = new StartPage(driver);

            StartPage.Open();
            SignInPage SignInPage = new SignInPage(driver);

            SignInPage.Open();
            SignInPage.LogIn(login, password);
            UserMailPage UserMailPage = new UserMailPage(driver);

            UserMailPage.Open();
        }
Ejemplo n.º 4
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);
        }