public void GoToContactPageAndSendMessage() { var contactPage = TheMainPage.ClickContactUsLink(); string filePath = WebDriverFactory.CreateFileAndReturnPath(); Message message = new Message("*****@*****.**", "test", filePath, "messae"); contactPage.FillFormAndClickSubmit(message); Assert.IsTrue(contactPage.MessageWasSendCorrectly()); }
public void TC4() { var contactPage = TheMainPage.ClickContactUsLink(); Assert.IsTrue(contactPage.PageIsLoadedCorrectly()); }