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 WhenIClickToOnSendLetterButton() { sendLetterPage.ClickSendButton(); }