Exemple #1
0
 public void VerifySaveBuildFunctionalityAce()
 {
     CPQNavigate.NavigateToAccessoriesPage(Brand.ACE, ModelPageUrl.ACE_570_EPS_BASE_TEST);
     Accessories.WaitForAccessoriesPageToLoad();
     Accessories.Toolbar.ClickToolbarSaveIcon();
     Accessories.EnterBuildName();
     Accessories.ClickSaveBuildModalSave();
     AccountMgmt.Login(UserAccountData.NON_EMPLOYEE_1);
     Accessories.WaitForAccessoriesPageToLoad();
     Accessories.AccountModule.ClickAcctLoggedInIcon();
     Accessories.AccountModule.ClickAcctModalSavedVehicles();
     Assert.IsTrue(Accessories.VerifySavedBuildIsPresent());
     Accessories.DeleteSavedVehicle();
 }
 public void VerifySaveBuildFunctionalityRzr()
 {
     CPQNavigate.NavigateToAccessoriesPage(Brand.RZR, ModelPageUrl.RZR_XP_1000_EPS_BASE_TEST);
     Accessories.WaitForAccessoriesPageToLoad();
     Accessories.ClickCategoryByName("Tire & Wheel Sets");
     Accessories.ClickSubcategoryByName("Trail");
     Accessories.ClickAccessoryAddByProductName("Matte Black");
     Accessories.Toolbar.ClickToolbarSaveIcon();
     Accessories.EnterBuildName();
     Accessories.ClickSaveBuildModalSave();
     AccountMgmt.Login(UserAccountData.NON_EMPLOYEE_1);
     Accessories.WaitForAccessoriesPageToLoad();
     Accessories.AccountModule.ClickAcctLoggedInIcon();
     Accessories.AccountModule.ClickAcctModalSavedVehicles();
     Assert.IsTrue(Accessories.VerifySavedBuildIsPresent());
     Accessories.DeleteSavedVehicle();
 }
 public void VerifySaveBuildFunctionalityRan()
 {
     CPQNavigate.NavigateToAccessoriesPage(Brand.RAN, ModelPageUrl.RANGER_500_SAGE_GREEN_ACCESSORIES);
     Accessories.WaitForAccessoriesPageToLoad();
     Accessories.ClickCategoryByName("Wheel");
     Accessories.ClickSubcategoryByName("Trail");
     Accessories.ClickAccessoryAddByProductName("Buckle- Accent");
     Accessories.Toolbar.ClickToolbarSaveIcon();
     Accessories.EnterBuildName();
     Accessories.ClickSaveBuildModalSave();
     AccountMgmt.Login(UserAccountData.NON_EMPLOYEE_1);
     Accessories.WaitForAccessoriesPageToLoad();
     Accessories.AccountModule.ClickAcctLoggedInIcon();
     Accessories.AccountModule.ClickAcctModalSavedVehicles();
     Assert.IsTrue(Accessories.VerifySavedBuildIsPresent());
     Accessories.DeleteSavedVehicle();
 }
Exemple #4
0
 public void VerifySaveBuildFunctionalityAtv()
 {
     CPQNavigate.NavigateToAccessoriesPage(Brand.ATV, ModelPageUrl.ATV_450_HO_BASE_TEST);
     Accessories.WaitForAccessoriesPageToLoad();
     Accessories.ClickCategoryByName("Protection");
     Accessories.ClickSubcategoryByName("Handguards");
     Accessories.ClickAccessoryAddByProductName("Black");
     Accessories.Toolbar.ClickToolbarSaveIcon();
     Accessories.EnterBuildName();
     Accessories.ClickSaveBuildModalSave();
     AccountMgmt.Login(UserAccountData.NON_EMPLOYEE_1);
     Accessories.WaitForAccessoriesPageToLoad();
     Accessories.AccountModule.ClickAcctLoggedInIcon();
     Accessories.AccountModule.ClickAcctModalSavedVehicles();
     Assert.IsTrue(Accessories.VerifySavedBuildIsPresent(), "Recently saved build was not found on saved builds");
     Accessories.DeleteSavedVehicle();
 }
Exemple #5
0
 public void VerifySaveBuildFunctionalitySno()
 {
     CPQNavigate.NavigateToAccessoriesPage(Brand.SNO, ModelPageUrl.SNO_SWITCHBACK_600_BASE_TEST);
     Accessories.WaitForAccessoriesPageToLoad();
     Accessories.ClickCategoryByName("Protection");
     Accessories.ClickSubcategoryByName("Covers");
     Accessories.ClickAccessoryAddByProductName("Cover - Black");
     Accessories.Toolbar.ClickToolbarSaveIcon();
     Accessories.EnterBuildName();
     Accessories.ClickSaveBuildModalSave();
     AccountMgmt.Login(UserAccountData.NON_EMPLOYEE_1);
     Accessories.WaitForAccessoriesPageToLoad();
     Accessories.AccountModule.ClickAcctLoggedInIcon();
     Accessories.AccountModule.ClickAcctModalSavedVehicles();
     Assert.IsTrue(Accessories.VerifySavedBuildIsPresent());
     Accessories.DeleteSavedVehicle();
 }
 public void VerifySaveBuildFunctionalityGem()
 {
     CPQNavigate.NavigateToAccessoriesPage(Brand.GEM, ModelPageUrl.GEM_EL_XD_BASE_TEST);
     Accessories.WaitForAccessoriesPageToLoad();
     Accessories.ClickCategoryByName("Exterior");
     Accessories.ClickSubcategoryByName("Bumper");
     Accessories.ClickAccessoryAddByProductName("Rear Bumper Set");
     Accessories.Toolbar.ClickToolbarSaveIcon();
     Accessories.EnterBuildName();
     Accessories.ClickSaveBuildModalSave();
     AccountMgmt.Login(UserAccountData.NON_EMPLOYEE_1);
     Accessories.WaitForAccessoriesPageToLoad();
     Accessories.AccountModule.ClickAcctLoggedInIcon();
     Accessories.AccountModule.ClickAcctModalSavedVehicles();
     Assert.IsTrue(Accessories.VerifySavedBuildIsPresent());
     Accessories.DeleteSavedVehicle();
 }
Exemple #7
0
 public void VerifyPackageAddPersistsAfterBuildSaved()
 {
     CPQNavigate.NavigateToPackagesPage(Brand.RAN, ModelPageUrl.RANGER_XP1000_EPS_STEEL_BLUE_PACKAGES);
     Packages.WaitForPackagesPageToLoad();
     Packages.ClickAddPackageByDesc("Ride Command");
     Packages.FooterModule.ClickFooterNextButton();
     Accessories.WaitForAccessoriesPageToLoad();
     Accessories.ClickCategoryByName("Wheel");
     Accessories.ClickSubcategoryByName("Trail");
     Accessories.ClickAccessoryAddByProductName("Buckle- Accent");
     Accessories.Toolbar.ClickToolbarSaveIcon();
     Accessories.EnterBuildName();
     Accessories.ClickSaveBuildModalSave();
     AccountMgmt.Login(UserAccountData.NON_EMPLOYEE_1);
     Accessories.WaitForAccessoriesPageToLoad();
     Accessories.FooterModule.OpenBuildSummary();
     Accessories.VerifyKitPackageDescPresentBuildSummary(new string[] { "Ride Command" });
 }
 public void VerifyKitAddedDisplayedSummaryAtv()
 {
     CPQNavigate.NavigateToAccessoriesPage(Brand.ATV, ModelPageUrl.ATV_450_HO_BASE_TEST);
     Accessories.WaitForAccessoriesPageToLoad();
     Accessories.ClickCategoryByName("Utility");
     Accessories.ClickSubcategoryByName("Plow Systems");
     Accessories.ClickAccessoryAddByProductName("Steel Plow Blade");
     Accessories.FooterModule.OpenBuildSummary();
     Accessories.WaitUntilBuildSummaryIsDisplayed();
     Accessories.VerifyKitPackageDescPresentBuildSummary(new string[] { "Steel Plow Blade System" });
     Accessories.Toolbar.ClickToolbarSaveIcon();
     Accessories.EnterBuildName();
     Accessories.ClickSaveBuildModalSave();
     AccountMgmt.Login(UserAccountData.NON_EMPLOYEE_1);
     Accessories.WaitForAccessoriesPageToLoad();
     Accessories.FooterModule.OpenBuildSummary();
     Accessories.VerifyKitPackageDescPresentBuildSummary(new string[] { "Steel Plow Blade System" });
     Accessories.OpenSavedBuildAndDelete();
 }
 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();
 }