public void B_CheckLetter()
        {
            MailPageObjects mailPageObject = new MailPageObjects(driver);

            WaitExtensions.WaitForElement(driver, mailPageObject.drafts);
            mailPageObject.drafts.Click();
            mailPageObject.CheckMail(TestConfig.Mail, TestConfig.Theme);
            mailPageObject.CheckMailText(TestConfig.Theme);

            ChromeOptions chromeOptions = new ChromeOptions();

            string File     = "Program.cs";
            string FilePath = @"E:\Mail Manipulation\Save Result\" + File;



            driver.FindElement(By.LinkText("Program.cs")).Click();

            mailPageObject.DeleteLetter();
        }
Esempio n. 2
0
        public void DeleteDrafts()
        {
            MailPageObjects mailPageObject = new MailPageObjects(driver);

            mailPageObject.DeleteLetter();
        }