コード例 #1
0
        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());
        }