public void TC021_VerifyCarouselDataShouldBeUpdatedBasedOnSearchFilters(String Bname) { TestFixtureSetUp(Bname, "TC021-Verify Carousel data should be updated based on search filters"); try { loginPage.navigateToLoginPage().VerifyLoginPageScreenInDetail(); loginPage.loginUsingValidEmailIdAndPassword(); homePage.newVerifyHomePage(); homePage.VerifyAccountOrSwitchIfRequired("QA Testing - Brand"); searchPage.VerifyAndLoadSpecificSavedSearch("New Search", true, true); homePage.VerifyAndModifySearchOptions(); searchPage.selectTabOnSearchOptions("Date Range"); searchPage.selectNewDateRangeOptionFromSection("Last Month"); searchPage.selectTabOnSearchOptions("Media"); searchPage.selectSpecificMediaTypeOnSearchOptionsInCFTDevelopment("Print"); searchPage.clickButtonOnSearchOptions("Apply"); homePage.newVerifyHomePage(); carousels.VerifyCarousels(); string[] mediaType = { "Print" }; carousels.VerifyAppliedFilterOnMediaType(mediaType); } catch (Exception e) { Logging.LogStop(this.driver, test, e, MethodBase.GetCurrentMethod(), Bname + "_TestSuite03_Reskin_Carousels_TC021"); throw; } driver.Quit(); }