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

            contactUsPage.GoTo();
            Assert.IsTrue(contactUsPage.IsLoaded);
        }
Пример #2
0
        public void TCID2()
        {
            ContactUsPage contactUsPg = new ContactUsPage(Driver);

            contactUsPg.GoTo();
            Assert.IsTrue(contactUsPg.IsLoaded,
                          "The Contact us page did not load successfully");
        }
Пример #3
0
        public void TCID2()
        {
            var contactUsPage = new ContactUsPage(Driver);

            contactUsPage.GoTo();
            Assert.IsTrue(contactUsPage.IsLoaded,
                          "The contact us page did not open successfully.");
        }
Пример #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!");
        }
Пример #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");
        }
Пример #6
0
        public void NavigateToContactUsPage()
        {
            ContactUsPage contactUsPage = new ContactUsPage(Driver);

            contactUsPage.GoTo();
        }