Example #1
0
        public void FillAndSendLetter(IWebDriver driver)
        {
            CreateNewLetter(driver);
            CreateLetterPage createLetterPage = new CreateLetterPage(driver);

            createLetterPage.FillEmail();
            createLetterPage.FillSubject();
            createLetterPage.FillBody();
            createLetterPage.SendLetter();
        }
Example #2
0
        public bool IsLetterSent(IWebDriver driver)
        {
            CreateLetterPage createLetterPage = new CreateLetterPage(driver);

            return(createLetterPage.GetResultMessage());
        }