public void VerifyPrpRuleIsTriggeredForSlg() { CPQNavigate.NavigateToAccessoriesPage(Brand.SLG, ModelPageUrl.SLG_S_PRP); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Style"); Accessories.ClickSubcategoryByName("Wide Fenders"); Accessories.ClickAccessoryAddByProductName("Ghost Gray"); Assert.IsTrue(Accessories.IsPrpContainerDisplayed(), "Part Requires Part was nod triggered"); Accessories.ClickPrpSecondaryPartSelectByDesc("Wheel Kit"); Accessories.WaitForAccessoriesPageToLoad(); Accessories.FooterModule.OpenBuildSummary(); Accessories.WaitUntilBuildSummaryIsDisplayed(); Accessories.VerifyItemsDescPresentBuildSummary(new string[] { "Ghost Gray", "Wheel Kit" }); }
public void VerifyPrpRuleIsTriggeredForAce() { CPQNavigate.NavigateToAccessoriesPage(Brand.ACE, ModelPageUrl.ACE_570_EPS_PRP); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Utility"); Accessories.ClickSubcategoryByName("Lighting"); Accessories.ClickAccessoryAddByProductName("Dual Row LED Light Bar"); Assert.IsTrue(Accessories.IsPrpContainerDisplayed(), "Part Requires Part was nod triggered"); Accessories.ClickPrpSecondaryPartSelectByDesc("Poly Sport Roof"); Accessories.WaitForAccessoriesPageToLoad(); Accessories.FooterModule.OpenBuildSummary(); Accessories.WaitUntilBuildSummaryIsDisplayed(); Accessories.VerifyItemsDescPresentBuildSummary(new string[] { "Dual Row LED Light Bar", "Poly Sport Roof" }); }
public void VerifyPrpRuleIsTriggeredForRzr() { CPQNavigate.NavigateToAccessoriesPage(Brand.RZR, ModelPageUrl.RZR_XP_1000_EPS_PRP); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Utility & Performance"); Accessories.ClickSubcategoryByName("Winches"); Accessories.ClickAccessoryAddByProductName("Winch Cover Kit"); Assert.IsTrue(Accessories.IsPrpContainerDisplayed(), "Part Requires Part was nod triggered"); Accessories.ClickPrpSecondaryPartSelectByDesc("Rapid Rope Recovery"); Accessories.WaitForAccessoriesPageToLoad(); Accessories.FooterModule.OpenBuildSummary(); Accessories.WaitUntilBuildSummaryIsDisplayed(); Accessories.VerifyItemsDescPresentBuildSummary(new string[] { "Winch Cover Kit", "Rapid Rope Recovery" }); }
public void VerifyPrpRuleIsTriggeredForGen() { CPQNavigate.NavigateToAccessoriesPage(Brand.GEN, ModelPageUrl.GENERAL_1000_EPS_PRP); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Cab Components"); Accessories.ClickSubcategoryByName("Windshields"); Accessories.ClickAccessoryAddByProductName("Windshield Wiper Kit"); Assert.IsTrue(Accessories.IsPrpContainerDisplayed(), "Part Requires Part was nod triggered"); Accessories.ClickPrpSecondaryPartSelectByDesc("Glass Windshield"); Accessories.WaitForAccessoriesPageToLoad(); Accessories.FooterModule.OpenBuildSummary(); Accessories.WaitUntilBuildSummaryIsDisplayed(); Accessories.VerifyItemsDescPresentBuildSummary(new string[] { "Windshield Wiper Kit", "Glass Windshield" }); }
public void VerifyPrpRuleIsTriggeredForGem() { CPQNavigate.NavigateToAccessoriesPage(Brand.GEM, ModelPageUrl.GEM_EL_XD_PRP); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Exterior"); Accessories.ClickSubcategoryByName("Roof"); Accessories.ClickAccessoryAddByProductName("Solar Panel"); Assert.IsTrue(Accessories.IsPrpContainerDisplayed(), "Part Requires Part was nod triggered"); Accessories.ClickPrpSecondaryPartSelectByDesc("Ladder Rack"); Accessories.WaitForAccessoriesPageToLoad(); Accessories.FooterModule.OpenBuildSummary(); Accessories.WaitUntilBuildSummaryIsDisplayed(); Accessories.VerifyItemsDescPresentBuildSummary(new string[] { "Solar Panel", "Ladder Rack" }); }
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 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 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 VerifyKitAddedDisplayedSummaryRzr() { CPQNavigate.NavigateToAccessoriesPage(Brand.RZR, ModelPageUrl.RZR_XP_1000_EPS_BASE_TEST); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Utility & Performance"); Accessories.ClickSubcategoryByName("Winches"); Accessories.ClickAccessoryAddByProductName("Winch Cover Kit"); Accessories.ClickPrpSecondaryPartSelectByDesc("Rapid Rope Recovery"); Accessories.FooterModule.OpenBuildSummary(); Accessories.WaitUntilBuildSummaryIsDisplayed(); Accessories.VerifyKitPackageDescPresentBuildSummary(new string[] { "Winch Cover Kit" }); Accessories.Toolbar.ClickToolbarSaveIcon(); Accessories.EnterBuildName(); Accessories.ClickSaveBuildModalSave(); AccountMgmt.Login(UserAccountData.NON_EMPLOYEE_1); Accessories.WaitForAccessoriesPageToLoad(); Accessories.FooterModule.OpenBuildSummary(); Accessories.VerifyItemsDescPresentBuildSummary(new string[] { "Winch Cover Kit", "Rapid Rope Recovery" }); Accessories.OpenSavedBuildAndDelete(); }