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()); }
public void WriteMessage() { loginPage.Login(login, password); sendLetterPage.WriteMessage(addressee, theme, message); Assert.IsTrue(sendLetterPage.IsSendMessageDisplayed()); }
public void ThenISeeAMessageSendingALetterSuccessfully() { Assert.IsTrue(sendLetterPage.IsSendMessageDisplayed()); }