Esempio n. 1
0
        public string AddNewFolder(string folderName)
        {
            WaitUntilExist(MailFrame);

            Browser.SwitchTo().Frame(MailFrame);

            NavigateToConfiguration();

            WaitUntilExist(SettingsButtonFolderManagement);

            SettingsButtonFolderManagement.Click();

            WaitUntilExist(SettingsButtonAdd);

            SettingsButtonAdd.Click();

            WaitUntilExist(PreferencesFrame);

            Browser.SwitchTo().Frame(PreferencesFrame);

            FolderNameInput.SendKeys(folderName);

            ButtonSave.Click();

            Browser.SwitchTo().ParentFrame();

            HomeButton.Click();

            IsPageLoaded();

            return(FolderList.Text);
        }
 //button save
 public DeliveryAddressPage ClickButtonSave()
 {
     ButtonSave.Click();
     return(new DeliveryAddressPage());
 }
Esempio n. 3
0
 public void SaveSetting()
 {
     ButtonSave.Click();
 }