コード例 #1
0
        /// <summary>
        /// Given a conctact form request the user filled all mandatory fields and submits the form successfully
        /// </summary>
        public void Given_ContactForm_When_UserFillMandatoryFieldsAndSubmit_Then_IsShowenConfirmationMessage()
        {
            PageBaseDto contactDto = new PageBaseDto()
            {
                Title        = "Wealth Management Advice",
                Confirmation = "Yes",
                Request      = "Candidate Automated Tests - Simone Farias",
                Name         = "Simone",
                LastName     = "Farias",
                Email        = "*****@*****.**",
                Contact      = "+5521981284338",
                Country      = "Brazil",
                Message      = "Thank you for writing to us. Your data has been submitted successfully."
            };

            _pageObject.CLickInBrazilLink();
            _pageObject.FillContactRequeredFields(contactDto);
            _pageObject.ContactConfirmation(contactDto);

            Assert.IsTrue(true);
        }