public void VerifyModelsPageHeaderElementsAce() { CPQNavigate.NavigateToModelsPage(Brand.ACE); Assert.IsTrue(Models.HeaderModule.IsHeaderSignInIconDisplayed(), "Header Sign In is not displayed"); Assert.IsTrue(Models.HeaderModule.IsHeaderBrandNameDisplayed("ACE")); Models.HeaderModule.ClickHeaderCloseIcon(); Assert.AreEqual(CPQNavigate.GetCurrentUrl(), UrlBuilder.getAceLandingPageURL()); }
public void VerifyTrimsPageHeaderElementsRzr() { CPQNavigate.NavigateToTrimsPage(Brand.GEN, ModelPageUrl.GENERAL_1000_EPS_TRIM_COLOR_PAGE); Trims.WaitForTrimsPageToLoad(); Assert.IsTrue(Trims.HeaderModule.IsHeaderSignInIconDisplayed(), "Header Sign In is not displayed"); Assert.IsTrue(Trims.HeaderModule.IsHeaderBrandNameDisplayed("General"), "Header brand name not displayed"); Trims.HeaderModule.ClickHeaderCloseIcon(); Assert.AreEqual(CPQNavigate.GetCurrentUrl(), UrlBuilder.getGeneralLandingPageURL()); }
public void VerifyModelsPageHeaderElementsGen() { CPQNavigate.NavigateToModelsPage(Brand.GEN); Models.WaitForModelsPageToLoad(); Assert.IsTrue(Models.HeaderModule.IsHeaderSignInIconDisplayed(), "Header Sign In is not displayed"); Assert.IsTrue(Models.HeaderModule.IsHeaderBrandNameDisplayed("General")); Models.HeaderModule.ClickHeaderCloseIcon(); Assert.AreEqual(CPQNavigate.GetCurrentUrl(), UrlBuilder.getGeneralLandingPageURL()); }
public void VerifyPackagesPageHeaderElementsRan() { CPQNavigate.NavigateToPackagesPage(Brand.RAN, ModelPageUrl.RANGER_XP1000_EPS_STEEL_BLUE_PACKAGES); Packages.WaitForPackagesPageToLoad(); Assert.IsTrue(Packages.HeaderModule.IsHeaderSignInIconDisplayed(), "Header Sign In is not displayed"); Assert.IsTrue(Packages.HeaderModule.IsHeaderBrandNameDisplayed("Ranger"), "Header brand name not displayed"); Packages.HeaderModule.ClickHeaderCloseIcon(); Assert.AreEqual(CPQNavigate.GetCurrentUrl(), UrlBuilder.GetRangerBrandHomePage()); }
public void VerifyColorsPageHeaderElementsRan() { CPQNavigate.NavigateToColorsPage(Brand.RAN, ModelPageUrl.RANGER_500_MODEL); Colors.WaitForColorsPageToLoad(); Assert.IsTrue(Colors.HeaderModule.IsHeaderSignInIconDisplayed(), "Header Sign In is not displayed"); Assert.IsTrue(Colors.HeaderModule.IsHeaderBrandNameDisplayed("Ranger"), "Header brand name not displayed"); Trims.HeaderModule.ClickHeaderCloseIcon(); Assert.AreEqual(CPQNavigate.GetCurrentUrl(), UrlBuilder.GetRangerBrandHomePage()); }
public void VerifyModelsPageHeaderElementsRan() { CPQNavigate.NavigateToModelsPage(Brand.RAN); Models.WaitForModelsPageToLoad(); Assert.IsTrue(Models.HeaderModule.IsHeaderSignInIconDisplayed(), "Header Sign In is not displayed"); Assert.IsTrue(Models.HeaderModule.IsHeaderBrandNameDisplayed("Ranger"), "Header brand name not displayed"); Models.HeaderModule.ClickHeaderCloseIcon(); Assert.AreEqual(CPQNavigate.GetCurrentUrl(), UrlBuilder.GetRangerBrandHomePage()); }
public void VerifyEnginePageHeaderElementsSno() { CPQNavigate.NavigateToEnginePage(Brand.SNO, ModelPageUrl.SNO_TRACK_ENGINE_PAGE_MODEL); Engine.WaitForEnginePageToLoad(); Assert.IsTrue(Engine.HeaderModule.IsHeaderSignInIconDisplayed()); Assert.IsTrue(Engine.HeaderModule.IsHeaderBrandNameDisplayed("Rush")); Engine.HeaderModule.ClickHeaderCloseIcon(); Assert.AreEqual(CPQNavigate.GetCurrentUrl(), UrlBuilder.getSnoLandingPageURL()); }
public void VerifyModelsPageHeaderElementsSno() { CPQNavigate.NavigateToModelsPage(Brand.SNO); Models.WaitForModelsPageToLoad(); Assert.IsTrue(Models.HeaderModule.IsHeaderSignInIconDisplayed()); Assert.IsTrue(Models.HeaderModule.IsHeaderBrandNameDisplayed("Snowmobiles")); Models.HeaderModule.ClickHeaderCloseIcon(); Assert.AreEqual(CPQNavigate.GetCurrentUrl(), UrlBuilder.getSnoLandingPageURL()); }
public void VerifyColorsPageHeaderElementsRzr() { CPQNavigate.NavigateToColorsPage(Brand.RZR, ModelPageUrl.RZR_XP_1000_MODEL); Colors.WaitForColorsPageToLoad(); Assert.IsTrue(Colors.HeaderModule.IsHeaderSignInIconDisplayed(), "Header Sign In is not displayed"); Assert.IsTrue(Colors.HeaderModule.IsHeaderBrandNameDisplayed("RZR"), "Header brand name not displayed"); Trims.HeaderModule.ClickHeaderCloseIcon(); Assert.AreEqual(CPQNavigate.GetCurrentUrl(), UrlBuilder.getRzrLandingPageURL()); }
public void VerifyColorsPageHeaderElementsAtv() { CPQNavigate.NavigateToColorsPage(Brand.ATV, ModelPageUrl.ATV_450_TRIM_COLOR_PAGE); Colors.WaitForColorsPageToLoad(); Assert.IsTrue(Colors.HeaderModule.IsHeaderSignInIconDisplayed(), "Header Sign In is not displayed"); Assert.IsTrue(Colors.HeaderModule.IsHeaderBrandNameDisplayed("Sportsman"), "Header brand name not displayed"); Trims.HeaderModule.ClickHeaderCloseIcon(); Assert.AreEqual(CPQNavigate.GetCurrentUrl(), UrlBuilder.getSportsmanLandingPageURL()); }
public void VerifyAccessoriesPageHeaderElementsGen() { CPQNavigate.NavigateToAccessoriesPage(Brand.GEN, ModelPageUrl.GENERAL_1000_EPS_BASE_TEST); Accessories.WaitForAccessoriesPageToLoad(); Assert.IsTrue(Accessories.HeaderModule.IsHeaderSignInIconDisplayed(), "Header Sign In is not displayed"); Assert.IsTrue(Accessories.HeaderModule.IsHeaderBrandNameDisplayed("General"), "Header brand name not displayed"); Assert.IsFalse(Accessories.HeaderModule.IsSaveHeaderIconDisplayed(), "Save icon was not expected to be displayed"); Assert.IsFalse(Accessories.HeaderModule.IsEmailHeaderIconDisplayed(), "Email icon was not expected to be displayed"); Accessories.HeaderModule.ClickHeaderCloseIcon(); Assert.AreEqual(CPQNavigate.GetCurrentUrl(), UrlBuilder.getGeneralLandingPageURL()); }
public void VerifyAccessoriesPageHeaderElementsRan() { CPQNavigate.NavigateToAccessoriesPage(Brand.RAN, ModelPageUrl.RANGER_500_SAGE_GREEN_ACCESSORIES); Accessories.WaitForAccessoriesPageToLoad(); Assert.IsTrue(Accessories.HeaderModule.IsHeaderSignInIconDisplayed(), "Header Sign In is not displayed"); Assert.IsTrue(Accessories.HeaderModule.IsHeaderBrandNameDisplayed("Ranger"), "Header brand name not displayed"); Assert.IsFalse(Accessories.HeaderModule.IsSaveHeaderIconDisplayed(), "Save icon was not expected to be displayed"); Assert.IsFalse(Accessories.HeaderModule.IsEmailHeaderIconDisplayed(), "Email icon was not expected to be displayed"); Accessories.HeaderModule.ClickHeaderCloseIcon(); Assert.AreEqual(CPQNavigate.GetCurrentUrl(), UrlBuilder.getRangerLandingPageURL()); }
public void VerifyAccessoriesPageHeaderElementsSno() { CPQNavigate.NavigateToAccessoriesPage(Brand.SNO, ModelPageUrl.SNO_SWITCHBACK_600_BASE_TEST); Accessories.WaitForAccessoriesPageToLoad(); Assert.IsTrue(Accessories.HeaderModule.IsHeaderSignInIconDisplayed()); Assert.IsTrue(Accessories.HeaderModule.IsHeaderBrandNameDisplayed("Switchback")); Assert.IsFalse(Accessories.HeaderModule.IsSaveHeaderIconDisplayed()); Assert.IsFalse(Accessories.HeaderModule.IsEmailHeaderIconDisplayed()); Accessories.HeaderModule.ClickHeaderCloseIcon(); Assert.AreEqual(CPQNavigate.GetCurrentUrl(), UrlBuilder.getSnoLandingPageURL()); }
public void VerifyQuoteDealerRedirectsToHomeNoSubmissionId() { CPQNavigate.NavigateToDealerQuoteDefaultPage(); Assert.AreEqual(CPQNavigate.GetCurrentUrl(), UrlBuilder.getRzrBuildModelUrl()); }