public void VerifyQuoteFormValidations() { CPQNavigate.NavigateToAccessoriesPage(Brand.RZR, ModelPageUrl.RZR_XP_1000_EPS_BASE_TEST); Accessories.FooterModule.OpenBuildSummary(); Accessories.ClikIamFinishedButton(); BuildQuotePage.WaitForBuildQuotePgeToLoad(); BuildQuotePage.SetLastName(AccountDetails.TEST_USER_1.LastName); BuildQuotePage.SetEmail(AccountDetails.TEST_USER_1.Email); BuildQuotePage.SetPhoneNumber(AccountDetails.TEST_USER_1.PhoneNumber); BuildQuotePage.SetPostalCode(AccountDetails.TEST_USER_1.ZipCode); BuildQuotePage.ClickAgeCheckBox(); BuildQuotePage.ClickGetInternetPriceButton(); Assert.IsTrue(BuildQuotePage.IsFirstNameValidationErrorDisplayed()); RefreshAndWait(); BuildQuotePage.WaitForBuildQuotePgeToLoad(); BuildQuotePage.SetFirstName(AccountDetails.TEST_USER_1.FirstName); BuildQuotePage.SetEmail(AccountDetails.TEST_USER_1.Email); BuildQuotePage.SetPhoneNumber(AccountDetails.TEST_USER_1.PhoneNumber); BuildQuotePage.SetPostalCode(AccountDetails.TEST_USER_1.ZipCode); BuildQuotePage.ClickAgeCheckBox(); BuildQuotePage.ClickGetInternetPriceButton(); Assert.IsTrue(BuildQuotePage.IsLastNameValidationErrorDisplayed()); RefreshAndWait(); BuildQuotePage.WaitForBuildQuotePgeToLoad(); BuildQuotePage.SetFirstName(AccountDetails.TEST_USER_1.FirstName); BuildQuotePage.SetLastName(AccountDetails.TEST_USER_1.LastName); BuildQuotePage.SetPhoneNumber(AccountDetails.TEST_USER_1.PhoneNumber); BuildQuotePage.SetPostalCode(AccountDetails.TEST_USER_1.ZipCode); BuildQuotePage.ClickAgeCheckBox(); BuildQuotePage.ClickGetInternetPriceButton(); Assert.IsTrue(BuildQuotePage.IsEmailValidationErrorDisplayed()); RefreshAndWait(); BuildQuotePage.SetFirstName(AccountDetails.TEST_USER_1.FirstName); BuildQuotePage.SetLastName(AccountDetails.TEST_USER_1.LastName); BuildQuotePage.SetEmail("invalid@"); BuildQuotePage.SetPhoneNumber(AccountDetails.TEST_USER_1.PhoneNumber); BuildQuotePage.SetPostalCode(AccountDetails.TEST_USER_1.ZipCode); BuildQuotePage.ClickAgeCheckBox(); BuildQuotePage.ClickGetInternetPriceButton(); Assert.IsTrue(BuildQuotePage.IsEmailValidationErrorDisplayed()); RefreshAndWait(); BuildQuotePage.SetFirstName(AccountDetails.TEST_USER_1.FirstName); BuildQuotePage.SetLastName(AccountDetails.TEST_USER_1.LastName); BuildQuotePage.SetEmail(AccountDetails.TEST_USER_1.Email); BuildQuotePage.SetPhoneNumber(AccountDetails.TEST_USER_1.PhoneNumber); BuildQuotePage.SetPostalCode(AccountDetails.TEST_USER_1.ZipCode); BuildQuotePage.ClickGetInternetPriceButton(); Assert.IsTrue(BuildQuotePage.IsAgeCheckboxValidationErrorDisplayed()); RefreshAndWait(); }