public void VerifyConflictRuleIsTriggeredAce() { CPQNavigate.NavigateToAccessoriesPage(Brand.ACE, ModelPageUrl.ACE_570_EPS_CONFLICT); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Utility"); Accessories.ClickSubcategoryByName("Rack Extenders"); Accessories.ClickAccessoryAddByProductName("Steel Bed Extender"); Accessories.ClickSubcategoryByName("Storage"); Accessories.ClickAccessoryAddByProductName("Rear Cargo Box"); Assert.IsTrue(Accessories.IsConflictContainerDisplayed(), "Conflict container not displayed as expected"); }
public void VerifyConflictRuleIsTriggeredForSno() { CPQNavigate.NavigateToAccessoriesPage(Brand.SNO, ModelPageUrl.SNO_SWITCHBACK_600_XCR_CONFLICT); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Storage & Racks"); Accessories.ClickSubcategoryByName("Underseat Bags"); Accessories.ClickAccessoryAddByProductName("Rear Seat Bag"); Accessories.ClickSubcategoryByName("Cargo Rack Bags"); Accessories.ClickAccessoryAddByProductName("Rear Sport Rack Bag"); Assert.IsTrue(Accessories.IsConflictContainerDisplayed()); }
public void VerifySummaryDisplaysAddedAccessoryAtv() { CPQNavigate.NavigateToAccessoriesPage(Brand.ATV, ModelPageUrl.ATV_450_HO_BASE_TEST); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Protection"); Accessories.ClickSubcategoryByName("Handguards"); Accessories.ClickAccessoryAddByProductName("Handguards- Black"); Accessories.FooterModule.OpenBuildSummary(); Accessories.WaitUntilBuildSummaryIsDisplayed(); Accessories.VerifyItemsDescPresentBuildSummary(new string[] { "Handguards- Black" }); }
public void VerifySummaryDisplaysAddedAccessorySno() { CPQNavigate.NavigateToAccessoriesPage(Brand.SNO, ModelPageUrl.SNO_SWITCHBACK_600_BASE_TEST); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Protection"); Accessories.ClickSubcategoryByName("Covers"); Accessories.ClickAccessoryAddByProductName("Cover - Black"); Accessories.FooterModule.OpenBuildSummary(); Accessories.WaitUntilBuildSummaryIsDisplayed(); Accessories.VerifyItemsDescPresentBuildSummary(new string[] { "Cover - Black" }); }
public void VerifyAccessorySeeDetailsLink() { CPQNavigate.NavigateToAccessoriesPage(Brand.RAN, ModelPageUrl.RANGER_500_SAGE_GREEN_ACCESSORIES); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Wheel"); Accessories.ClickSubcategoryByName("Trail"); Accessories.ClickProductDetailsLinkByDesc("Buckle- Accent"); Assert.IsTrue(Accessories.IsProductInfoDescDisplayed(), "Product Info Details is not displayed"); Accessories.ClickProductDetailsLinkByDesc("Buckle- Accent"); Assert.IsFalse(Accessories.IsProductInfoDescDisplayed(), "Product Info Details is not hidden"); }
public void VerifyConflictRuleIsTriggeredForAtv() { CPQNavigate.NavigateToAccessoriesPage(Brand.ATV, ModelPageUrl.ATV_450_HO_CONFLICT); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Protection"); Accessories.ClickSubcategoryByName("Windshields"); Accessories.ClickAccessoryAddByProductName("Windshield- Clear"); Accessories.ClickSubcategoryByName("Handguards"); Accessories.ClickAccessoryAddByProductName("Handguards- Black"); Assert.IsTrue(Accessories.IsConflictContainerDisplayed(), "Conflict container not displayed as expected"); }
public void VerifyConflictRuleIsTriggeredGem() { CPQNavigate.NavigateToAccessoriesPage(Brand.GEM, ModelPageUrl.GEM_EL_XD_CONFLICT); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Power"); Accessories.ClickSubcategoryByName("Battery"); Accessories.ClickAccessoryAddByProductName("Distance AGM"); Accessories.ClickSubcategoryByName("Charging"); Accessories.ClickAccessoryAddByProductName("6 kW Level 2 Charger"); Assert.IsTrue(Accessories.IsConflictContainerDisplayed(), "Conflict container not displayed as expected"); }
public void VerifySummaryDisplaysAddedAccessoryRzr() { CPQNavigate.NavigateToAccessoriesPage(Brand.RZR, ModelPageUrl.RZR_XP_1000_EPS_BASE_TEST); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Tire & Wheel Sets"); Accessories.ClickSubcategoryByName("Trail"); Accessories.ClickAccessoryAddByProductName("Dual-Threat 32"); Accessories.FooterModule.OpenBuildSummary(); Accessories.WaitUntilBuildSummaryIsDisplayed(); Accessories.VerifyItemsDescPresentBuildSummary(new string[] { "Dual-Threat 32" }); }
public void VerifySummaryDisplaysAddedAccessoryRan() { CPQNavigate.NavigateToAccessoriesPage(Brand.RAN, ModelPageUrl.RANGER_500_SAGE_GREEN_ACCESSORIES); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Utility"); Accessories.ClickSubcategoryByName("Cargo & Bed Storage"); Accessories.ClickAccessoryAddByProductName("Cargo Box"); Accessories.FooterModule.OpenBuildSummary(); Accessories.WaitUntilBuildSummaryIsDisplayed(); Accessories.VerifyItemsDescPresentBuildSummary(new string[] { "Cargo Box" }); }
public void VerifyConflictRuleIsTriggeredGen() { CPQNavigate.NavigateToAccessoriesPage(Brand.GEN, ModelPageUrl.GENERAL_4_1000_EPS_CONFLICT); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Utility"); Accessories.ClickSubcategoryByName("Bumpers"); Accessories.ClickAccessoryAddByProductName("Front Sport"); Accessories.ClickSubcategoryByName("cargo & bed storage"); Accessories.ClickAccessoryAddByProductName("Front Hood Storage Rack"); Assert.IsTrue(Accessories.IsConflictContainerDisplayed(), "Conflict container not displayed as expected"); }
public void VerifyRemovedPartFromConflictInBuildSummarySno() { CPQNavigate.NavigateToAccessoriesPage(Brand.SNO, ModelPageUrl.SNO_SWITCHBACK_600_XCR_CONFLICT); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Storage & Racks"); Accessories.ClickSubcategoryByName("Underseat Bags"); Accessories.ClickAccessoryAddByProductName("Rear Seat Bag"); Accessories.ClickSubcategoryByName("Cargo Rack Bags"); Accessories.ClickAccessoryAddByProductName("Rear Sport Rack Bag"); Assert.IsTrue(Accessories.IsConflictContainerDisplayed()); Assert.IsFalse(Accessories.RemoveConlfictPartAndValidateInBuildSummary("Rear Sport Rack Bag")); }
public void VerifySummaryUIIconsAndNotesAtv() { CPQNavigate.NavigateToAccessoriesPage(Brand.ATV, ModelPageUrl.ATV_450_HO_BASE_TEST); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Protection"); Accessories.ClickSubcategoryByName("Handguards"); Accessories.ClickAccessoryAddByProductName("Handguards- Black"); Accessories.FooterModule.OpenBuildSummary(); Accessories.WaitUntilBuildSummaryIsDisplayed(); Accessories.VerifyBuildSummaryIconsNotPresent(); Assert.IsTrue(Accessories.IsSummaryAdditionalNotesDisplayed(), "Additional Notes section was not displayed"); }
public void VerifySummaryUIIconsAndNotesRzr() { CPQNavigate.NavigateToAccessoriesPage(Brand.RZR, ModelPageUrl.RZR_XP_1000_EPS_BASE_TEST); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Tire & Wheel Sets"); Accessories.ClickSubcategoryByName("Trail"); Accessories.ClickAccessoryAddByProductName("Dual-Threat 32"); Accessories.FooterModule.OpenBuildSummary(); Accessories.WaitUntilBuildSummaryIsDisplayed(); Accessories.VerifyBuildSummaryIconsNotPresent(); Assert.IsTrue(Accessories.IsSummaryAdditionalNotesDisplayed(), "Additional Notes section was not displayed"); }
public void VerifySummaryUIIconsAndNotesRan() { CPQNavigate.NavigateToAccessoriesPage(Brand.RAN, ModelPageUrl.RANGER_500_SAGE_GREEN_ACCESSORIES); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Utility"); Accessories.ClickSubcategoryByName("Cargo & Bed Storage"); Accessories.ClickAccessoryAddByProductName("Cargo Box"); Accessories.FooterModule.OpenBuildSummary(); Accessories.WaitUntilBuildSummaryIsDisplayed(); Accessories.VerifyBuildSummaryIconsNotPresent(); Assert.IsTrue(Accessories.IsSummaryAdditionalNotesDisplayed(), "Additional Notes section was not displayed"); }
public void VerifyConflictRuleIsTriggeredForRanger() { CPQNavigate.NavigateToAccessoriesPage(Brand.RAN, ModelPageUrl.RANGER_CREW_XP900_SAGE_GREEN_CONFLICT); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Utility"); Accessories.ClickSubcategoryByName("Cargo & Bed Storage"); Accessories.ClickAccessoryAddByProductName("Front Hood Storage Rack"); Accessories.ClickCategoryByName("Cab Components"); Accessories.ClickSubcategoryByName("Windshields"); Accessories.ClickAccessoryAddByProductName("Flip-Down Full Windshield"); Assert.IsTrue(Accessories.IsConflictContainerDisplayed(), "Conflict container not displayed as expected"); }
public void VerifyConflictRuleIsTriggeredRzr() { CPQNavigate.NavigateToAccessoriesPage(Brand.RZR, ModelPageUrl.RZR_XP_1000_EPS_CONFLICT); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Utility"); Accessories.ClickSubcategoryByName("Storage & Bed Accessories"); Accessories.ClickAccessoryAddByProductName("Spare Tire Carrier"); Accessories.ClickCategoryByName("Protection"); Accessories.ClickSubcategoryByName("Cage System"); Accessories.ClickAccessoryAddByProductName("Cage System - Black"); Assert.IsTrue(Accessories.IsConflictContainerDisplayed(), "Conflict container not displayed as expected"); }
public void VerifySummaryUIIconsAndNotesSno() { CPQNavigate.NavigateToAccessoriesPage(Brand.SNO, ModelPageUrl.SNO_SWITCHBACK_600_BASE_TEST); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Protection"); Accessories.ClickSubcategoryByName("Covers"); Accessories.ClickAccessoryAddByProductName("Cover - Black"); Accessories.FooterModule.OpenBuildSummary(); Accessories.WaitUntilBuildSummaryIsDisplayed(); Accessories.VerifyBuildSummaryIconsNotPresent(); Assert.IsTrue(Accessories.IsSummaryAdditionalNotesDisplayed()); }
public void VerifyConflictRuleIsTriggeredSlg() { CPQNavigate.NavigateToAccessoriesPage(Brand.SLG, ModelPageUrl.SLG_S_CONFLICT); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Functional"); Accessories.ClickSubcategoryByName("Performance"); Accessories.ClickAccessoryAddByProductName("wheel kit"); Accessories.ClickCategoryByName("Style"); Accessories.ClickSubcategoryByName("Narrow fenders"); Accessories.ClickAccessoryAddByProductName("Fender"); Assert.IsTrue(Accessories.IsConflictContainerDisplayed(), "Conflict container not displayed as expected"); }
public void VerifyRemovedPartFromConflictInBuildSummaryRan() { CPQNavigate.NavigateToAccessoriesPage(Brand.RAN, ModelPageUrl.ATV_450_HO_CONFLICT); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Protection"); Accessories.ClickSubcategoryByName("Windshields"); Accessories.ClickAccessoryAddByProductName("Windshield- Clear"); Accessories.ClickSubcategoryByName("Handguards"); Accessories.ClickAccessoryAddByProductName("Handguards- Black"); Assert.IsTrue(Accessories.IsConflictContainerDisplayed(), "Conflict container not displayed as expected"); Assert.IsFalse(Accessories.RemoveConlfictPartAndValidateInBuildSummary("Flip-Down Full Windshield"), "Conflicting part was not removed from build summary"); }
public void VerifyRemovedPartFromConflictInBuildSummaryGem() { CPQNavigate.NavigateToAccessoriesPage(Brand.GEM, ModelPageUrl.GEM_EL_XD_CONFLICT); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Power"); Accessories.ClickSubcategoryByName("Battery"); Accessories.ClickAccessoryAddByProductName("Distance AGM"); Accessories.ClickSubcategoryByName("Charging"); Accessories.ClickAccessoryAddByProductName("6 kW Level 2 Charger"); Assert.IsTrue(Accessories.IsConflictContainerDisplayed(), "Conflict container not displayed as expected"); Assert.IsFalse(Accessories.RemoveConlfictPartAndValidateInBuildSummary("6 kW Level 2 Charger"), "Conflicting part was not removed from build summary"); }
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 VerifyRemovedPartFromConflictInBuildSummaryRzr() { CPQNavigate.NavigateToAccessoriesPage(Brand.RZR, ModelPageUrl.RZR_XP_1000_EPS_CONFLICT); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Utility"); Accessories.ClickSubcategoryByName("Storage & Bed Accessories"); Accessories.ClickAccessoryAddByProductName("Spare Tire Carrier"); Accessories.ClickCategoryByName("Protection"); Accessories.ClickSubcategoryByName("Cage System"); Accessories.ClickAccessoryAddByProductName("Cage system - Black"); Assert.IsTrue(Accessories.IsConflictContainerDisplayed(), "Conflict container not displayed as expected"); Assert.IsFalse(Accessories.RemoveConlfictPartAndValidateInBuildSummary("Cage system - Black"), "Conflicting part was not removed from build summary"); }
public void VerifyToolbarRestartBuildFunctionalityRan() { CPQNavigate.NavigateToAccessoriesPage(Brand.RAN, ModelPageUrl.RANGER_500_SAGE_GREEN_ACCESSORIES); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Wheel"); Accessories.ClickSubcategoryByName("Trail"); Accessories.ClickAccessoryAddByProductName("Buckle- Accent"); Assert.IsTrue(Accessories.Toolbar.IsToolbarDisplayed(), "Toolbar was not displayed"); Accessories.Toolbar.ClickToolbarRestartIcon(); Accessories.ClickConfirmationBuildContinueButton(); Accessories.FooterModule.OpenBuildSummary(); Accessories.WaitUntilBuildSummaryIsDisplayed(); Accessories.VerifyItemsDescNotPresentBuildSummary(new string[] { "Buckle- Accent" }); }
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 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 VerifyToolbarRestartBuildFunctionalityAtv() { CPQNavigate.NavigateToAccessoriesPage(Brand.ATV, ModelPageUrl.ATV_450_HO_BASE_TEST); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Protection"); Accessories.ClickSubcategoryByName("Handguards"); Accessories.ClickAccessoryAddByProductName("Handguards"); Assert.IsTrue(Accessories.Toolbar.IsToolbarDisplayed(), "Toolbar was not displayed"); Accessories.Toolbar.ClickToolbarRestartIcon(); Accessories.ClickConfirmationBuildContinueButton(); Accessories.FooterModule.OpenBuildSummary(); Accessories.WaitUntilBuildSummaryIsDisplayed(); Accessories.VerifyItemsDescNotPresentBuildSummary(new string[] { "Handguards" }); }
public void VerifyToolbarRestartBuildFunctionalitySno() { CPQNavigate.NavigateToAccessoriesPage(Brand.SNO, ModelPageUrl.SNO_SWITCHBACK_600_BASE_TEST); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Protection"); Accessories.ClickSubcategoryByName("Covers"); Accessories.ClickAccessoryAddByProductName("Cover - Black"); Assert.IsTrue(Accessories.Toolbar.IsToolbarDisplayed(), "Toolbar is not displayed"); Accessories.Toolbar.ClickToolbarRestartIcon(); Accessories.ClickConfirmationBuildContinueButton(); Accessories.FooterModule.OpenBuildSummary(); Accessories.WaitUntilBuildSummaryIsDisplayed(); Accessories.VerifyItemsDescNotPresentBuildSummary(new string[] { "Cover - Black" }); }
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 VerifyRemovedPartFromConflictInBuildSummaryRan() { CPQNavigate.NavigateToAccessoriesPage(Brand.RAN, ModelPageUrl.RANGER_CREW_XP900_SAGE_GREEN_CONFLICT); Accessories.WaitForAccessoriesPageToLoad(); Accessories.ClickCategoryByName("Utility"); Accessories.ClickSubcategoryByName("Cargo & Bed Storage"); Accessories.ClickAccessoryAddByProductName("Front Hood Storage Rack"); Accessories.ClickCategoryByName("Cab Components"); Accessories.ClickSubcategoryByName("Windshields"); Accessories.ClickAccessoryAddByProductName("Flip-Down Full Windshield"); Assert.IsTrue(Accessories.IsConflictContainerDisplayed(), "Conflict container not displayed as expected"); Assert.IsFalse(Accessories.RemoveConlfictPartAndValidateInBuildSummary("Flip-Down Full Windshield"), "Conflicting part was not removed from build summary"); }
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" }); }