Example #1
0
        public void WriteMessage()
        {
            SendLetterPage sendLetterPage = new SendLetterPage();

            sendLetterPage.OpenWindowWriteMessage();
            sendLetterPage.WriteAddressee(MailRuConstants.Addressee);
            sendLetterPage.WriteSubject(MailRuConstants.Theme);
            sendLetterPage.WriteMessage(MailRuConstants.Message);
            sendLetterPage.ClickSendButton();
            Assert.IsTrue(sendLetterPage.IsSendMessageDisplayed());
        }
Example #2
0
 public void WriteMessage()
 {
     loginPage.Login(login, password);
     sendLetterPage.WriteMessage(addressee, theme, message);
     Assert.IsTrue(sendLetterPage.IsSendMessageDisplayed());
 }
 public void ThenISeeAMessageSendingALetterSuccessfully()
 {
     Assert.IsTrue(sendLetterPage.IsSendMessageDisplayed());
 }