public void User_Fills_ContactUs_Page()
        {
            //Go to the CONTACT_US tab
            ContactUsPage.GoTo();

            //Sends the information to each field to be sent.
            ContactUsPage.WithName("John Doe")
            .WithEmail("*****@*****.**")
            .WithCompany("Pica Pollo Company")
            .WithMsg("This is a message")
            .SendBotton();

            //Assert.AreEqual(ContactUsPage.IsAt, "Application was sent!", "Application was not sent!");
        }
Esempio n. 2
0
        public void VerifySalesInquiryHasBeenSubmitted()
        {
            ContactUsPage.GoTo();

            ContactUsPage.WithName("Lucas")
            .WithLastName("test")
            .WithEmailAddress("*****@*****.**")
            .WithJobTitle("Developer")
            .WithCompany("NICE")
            .WithContactDepartment(ContactUsCommand.ContactDepts.Accounting)
            .WithCountry(ContactUsCommand.Country.Canada)
            .WithMessage("Hola test message")
            .PressSubmitButton();

            var isContacted = ThankYouContactUsPage.IsContactFormSend();

            Assert.IsTrue(isContacted, "Contact Page has been sent correctly");
        }