Exemplo n.º 1
0
        public void TestMethod2()
        {
            EnterPage.ClickCompose();
            ComposeMailPage.InputToField(TestConfiguration.Email);
            ComposeMailPage.InputSubjectField(TestConfiguration.MailSubject);
            ComposeMailPage.InputMessageField(TestConfiguration.Message);
            ComposeMailPage.ClickCloseButton();
            EnterPage.GoToDraftFolder();
            DraftMailPage.OpenMail();

            //Assert.AreEqual(ComposeMailPage.GetSubjectText(), TestConfiguration.MailSubject, "Wrong subject");
            Assert.AreEqual(ComposeMailPage.GetMessageText(), TestConfiguration.Message, "Wrong message");

            ComposeMailPage.ClickSendButton();
        }
Exemplo n.º 2
0
 public DraftMailPageBO(IWebDriver driver)
 {
     DraftMailPage = new DraftMailPage(driver);
 }