Пример #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());
        }
Пример #2
0
        public void TC4()
        {
            var contactPage = TheMainPage.ClickContactUsLink();

            Assert.IsTrue(contactPage.PageIsLoadedCorrectly());
        }