public void TC007_VerifyResetAllButtonWhenFilterIsSelected(String Bname) { TestFixtureSetUp(Bname, "TC007-Verify 'Reset All' button when Filter is selected."); try { loginPage.navigateToLoginPage().VerifyLoginPageScreenInDetail(); loginPage.loginUsingValidEmailIdAndPassword(); homePage.VerifyHomePage().clickUserMenuAndSelectAccountFromList(userName); homePage.clickSiteNavigationMenuIconAndSelectOptionFromListOnPage("Dashboard"); promoDashboard.VerifyFilterBarSectionOnScreen(false); promoDashboard.VerifyAndClickResetAllButtonOnFilterSection(false); promoDashboard.clickOnFilterFieldAndVerifyOrClickOptions("Days", "Last 6 Months"); promoDashboard.VerifyAndClickResetAllButtonOnFilterSection(true); } catch (Exception e) { Logging.LogStop(this.driver, test, e, MethodBase.GetCurrentMethod(), Bname + "_TestSuite008_FilterBar_TC007"); throw; } driver.Quit(); }