public void TCID2()
        {
            var contactUsPage = new ContactUsPage(Driver);

            contactUsPage.GoTo();
            Assert.IsTrue(contactUsPage.IsLoaded);
        }
Ejemplo n.º 2
0
        public void TCID2()
        {
            ContactUsPage contactUsPg = new ContactUsPage(Driver);

            contactUsPg.GoTo();
            Assert.IsTrue(contactUsPg.IsLoaded,
                          "The Contact us page did not load successfully");
        }
Ejemplo n.º 3
0
        public void TCID2()
        {
            var contactUsPage = new ContactUsPage(Driver);

            contactUsPage.GoTo();
            Assert.IsTrue(contactUsPage.IsLoaded,
                          "The contact us page did not open successfully.");
        }
Ejemplo n.º 4
0
        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!");
        }
Ejemplo n.º 5
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");
        }
Ejemplo n.º 6
0
        public void NavigateToContactUsPage()
        {
            ContactUsPage contactUsPage = new ContactUsPage(Driver);

            contactUsPage.GoTo();
        }