public void GiftYourDetailsInvalidPhoneNumber()
        {
            GiftYourDetails giftYourDetails = new GiftYourDetails(driver);

            giftYourDetails.EnterPhoneNumber(".");
            giftYourDetails.ClickHeader();
            giftYourDetails.CheckErrorMessage("Only numbers are allowed.");
            giftYourDetails.EnterPhoneNumber("07713187347");
        }
        public void GiftYourDetailsNoPhoneNumber()
        {
            GiftYourDetails giftYourDetails = new GiftYourDetails(driver);

            giftYourDetails.EnterPhoneNumber(string.Empty);
            giftYourDetails.ClickHeader();
            giftYourDetails.CheckErrorMessage("Required Field");
            giftYourDetails.EnterPhoneNumber("07713187347");
        }
Esempio n. 3
0
        public void GiftFullApplication()
        {
            GiftYourDetails giftYourDetails = new GiftYourDetails(driver);

            giftYourDetails.EnterName("Kyle Brewer-Allan");
            giftYourDetails.EnterEmailAddress("*****@*****.**");
            giftYourDetails.EnterPhoneNumber("07713187347");
            giftYourDetails.ClickNext();
        }