public void TC010_11_VerifyResetButtonFunctionality(String Bname) { TestFixtureSetUp(Bname, "TC010_11-Verify Reset button Functionality"); try { loginPage.navigateToLoginPage().VerifyLoginPageScreenInDetail(); loginPage.loginUsingValidEmailIdAndPassword(); homePage.newVerifyHomePage(); homePage.VerifyAccountOrSwitchIfRequired(); homePage.VerifyAndModifySearchOptions(false); searchPage.selectTabOnSearchOptions("Date Range"); searchPage.selectNewDateRangeOptionFromSection("Last Year"); searchPage.selectTabOnSearchOptions("Media"); searchPage.selectSpecificMediaTypeOnSearchOptionsInCFTDevelopment("Print"); searchPage.clickButtonOnSearchOptions("Apply"); homePage.newVerifyHomePage(); carousels.VerifyCarousels(); string adCode1 = carousels.getAdCodeFromCarousel(); carousels.VerifySelectAdFunctionality(false); string adCode2 = carousels.getAdCodeFromCarousel(); carousels.VerifySelectAdFunctionality(false); string adCode3 = carousels.getAdCodeFromCarousel(); carousels.VerifySelectAdFunctionality(false); carousels.clickOnExportOptions("Reset", 3); carousels.VerifyCheckboxInAgGrid(adCode1, "Carousel", false); carousels.VerifyCheckboxInAgGrid(adCode2, "Carousel", false); carousels.VerifyCheckboxInAgGrid(adCode3, "Carousel", false); } catch (Exception e) { Logging.LogStop(this.driver, test, e, MethodBase.GetCurrentMethod(), Bname + "_TestSuite04_Reskin_Export_TC010_11"); throw; } driver.Quit(); }
public void TC009_VerifyItemsSelectionInCarouselShouldPersistInAllDetail_Table_ThumbnailViewOfAgGrid(String Bname) { TestFixtureSetUp(Bname, "TC009-Verify Selected items in Carousel should be persist selected in All Detail/Table/Thumbnail view of AgGrid"); try { loginPage.navigateToLoginPage().VerifyLoginPageScreenInDetail(); loginPage.loginUsingValidEmailIdAndPassword(); homePage.newVerifyHomePage(); homePage.VerifyAccountOrSwitchIfRequired("QA Testing - Brand"); carousels.VerifyCarousels(); string adCode = carousels.getAdCodeFromCarousel(); carousels.VerifySelectAdFunctionality(false); carousels.VerifyCheckboxInAgGrid(adCode, "Table"); homePage.selectViewForResultsDisplay("Thumbnail"); carousels.VerifyCheckboxInAgGrid(adCode, "Thumbnail"); homePage.selectViewForResultsDisplay("Details"); carousels.VerifyCheckboxInAgGrid(adCode, "Details"); } catch (Exception e) { Logging.LogStop(this.driver, test, e, MethodBase.GetCurrentMethod(), Bname + "_TestSuite03_Reskin_Carousels_TC009"); throw; } driver.Quit(); }
public void TC007_VerifyThatTheAdSelectedFromTheAgGridShouldDisplayInTheInspectorAreaBesideIt(String Bname) { TestFixtureSetUp(Bname, "TC007-Verify the ad selected from the AgGrid should display in the inspector area beside it"); try { loginPage.navigateToLoginPage().VerifyLoginPageScreenInDetail(); loginPage.loginUsingValidEmailIdAndPassword(); homePage.newVerifyHomePage(); homePage.VerifyAccountOrSwitchIfRequired("QA Testing - Brand Canada"); homePage.selectOptionFromSideNavigationBar("Print Dynamics Dashboard (Ad)"); homePage.newVerifyHomePage(); homePage.VerifyTableViewOfAgGrid(); fieldOptions.VerifyFieldOptions(); fieldOptions.addOrRemoveSpecificFieldInFieldOptions("Ad Code"); fieldOptions.clickButtonOnFieldOptionsPopup("Apply"); fieldOptions.VerifyFieldOptions(false); string adCode = carousels.selectRecordFromResults("table"); carousels.VerifyCheckboxInAgGrid(adCode, "table"); agGrid.VerifyInspectorAreaForSelectedRecordFromAgGrid(adCode); } catch (Exception e) { Logging.LogStop(this.driver, test, e, MethodBase.GetCurrentMethod(), Bname + "_TestSuite17_Reskin_AgGrid_TC007"); throw; } driver.Quit(); }