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()); }