public void VerifyPrpRuleIsTriggeredForRanger() { CPQNavigate.NavigateToAccessoriesPage(Brand.RAN, ModelPageUrl.RANGER_500_SAGE_GREEN_ACCESSORIES); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Utility"); Accessories.ClickSubcategoryByName("Cargo & Bed Storage"); Accessories.ClickAccessoryAddByProductName("XL Transport"); Assert.IsTrue(Accessories.IsPrpContainerDisplayed()); Accessories.ClickPrpSecondaryPartSelectByDesc("Latch Gun Boot Mount"); Accessories.WaitForAccessoriesPageToLoad(); Accessories.FooterModule.OpenBuildSummary(); Accessories.WaitUntilBuildSummaryIsDisplayed(); Accessories.ClickKitPackageDropDown(); Accessories.VerifyItemsDescPresentBuildSummary(new string[] { "Latch Gun Boot Mount", "XL Transport" }); }
public void VerifyPrpRuleIsTriggeredForAtv() { CPQNavigate.NavigateToAccessoriesPage(Brand.ATV, ModelPageUrl.ATV_450_HO_BASE_TEST); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Utility"); Accessories.ClickSubcategoryByName("Lighting"); Accessories.ClickAccessoryAddByProductName("Cube - LED Spot Light"); Assert.IsTrue(Accessories.IsPrpContainerDisplayed()); Accessories.ClickPrpSecondaryPartSelectByDesc("Front Brushguard- Black"); Accessories.WaitForAccessoriesPageToLoad(); Accessories.FooterModule.OpenBuildSummary(); Accessories.WaitUntilBuildSummaryIsDisplayed(); Accessories.ClickKitPackageDropDown(); Accessories.VerifyItemsDescPresentBuildSummary(new string[] { "Cube - LED Spot Light", "Front Brushguard- Black" }); }
public void VerifyPrpRuleIsTriggeredForSnow() { CPQNavigate.NavigateToAccessoriesPage(Brand.SNO, ModelPageUrl.SNO_SWITCHBACK_600_SP); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Storage & Racks"); Accessories.ClickSubcategoryByName("Cargo Rack Bags"); Accessories.ClickAccessoryAddByProductName("Under Rack Bag"); Assert.IsTrue(Accessories.IsPrpContainerDisplayed()); Accessories.ClickPrpSecondaryPartSelectByDesc("Rear Seat Rack"); Accessories.WaitForAccessoriesPageToLoad(); Accessories.FooterModule.OpenBuildSummary(); Accessories.WaitUntilBuildSummaryIsDisplayed(); Accessories.ClickKitPackageDropDown(); Accessories.VerifyItemsDescPresentBuildSummary(new string[] { "Rear Seat Rack", "Under Rack Bag" }); }
public void VerifyPackageSubproductsSummaryRan() { List <string> subproducts = new List <string>(); CPQNavigate.NavigateToPackagesPage(Brand.RAN, ModelPageUrl.RANGER_XP1000_EPS_STEEL_BLUE_PACKAGES); Packages.WaitForPackagesPageToLoad(); Packages.ClickPackageDetailsLinkByDesc("Ride Command"); subproducts = Packages.GetPackageSubproductsNames(); Packages.ClickAddPackageByDesc("Ride Command"); Packages.FooterModule.ClickFooterNextButton(); Accessories.WaitForAccessoriesPageToLoad(); Accessories.FooterModule.OpenBuildSummary(); Accessories.ClickKitPackageDropDown(); Accessories.VerifyItemsDescPresentBuildSummary(subproducts.ToArray()); }