public void TC003_VerifyManufacturersFieldDropdownForFilterBar(String Bname) { TestFixtureSetUp(Bname, "TC003-Verify 'Manufacturers' field drop down for Filter bar."); try { loginPage.navigateToLoginPage().VerifyLoginPageScreenInDetail(); loginPage.loginUsingValidEmailIdAndPassword(); homePage.VerifyHomePage().clickUserMenuAndSelectAccountFromList(userName); homePage.clickSiteNavigationMenuIconAndSelectOptionFromListOnPage("Dashboard"); promoDashboard.VerifyFilterBarSectionOnScreen(false); promoDashboard.clickOnFilterFieldAndVerifyOrClickOptions("Manufacturers"); promoDashboard.VerifyFilterSectionOnScreen("Manufacturers", true); promoDashboard.clickButtonOnFilterSectionOnScreen("Select Displayed"); promoDashboard.VerifyFilterListRecordsSelectedOrNotOnFilterSection(true); promoDashboard.clickButtonOnFilterSectionOnScreen("Slash").VerifyExcludedButtonLabelOnFilterSection(); promoDashboard.clickButtonOnFilterSectionOnScreen("Load More"); promoDashboard.enterKeywordToSerachIntoFilterTextBox(1).VerifyTooltipOnFilterSection("Min Char Limit 2"); promoDashboard.clearKeywordFromSearchTextBox(); promoDashboard.clickButtonOnFilterSectionOnScreen("Browse").VerifyBrowseTabOnFilterSection(); promoDashboard.clickButtonOnFilterSectionOnScreen("Excluded").VerifyExcludedButtonLabelOnFilterSection(); string characterName = promoDashboard.selectCharacterFromBrowserTab(); promoDashboard.VerifyFilterListRecordsValueWithSelectedCharacter(characterName); promoDashboard.clickButtonOnFilterSectionOnScreen("Excluded Remove").selectRecordsFromListOnFilterSection(); promoDashboard.clickButtonOnFilterSectionOnScreen("Selected"); promoDashboard.VerifyFilterListRecordsSelectedOrNotOnFilterSection(true).clickButtonOnFilterSectionOnScreen("Clear Selected"); promoDashboard.VerifyFilterListRecordsSelectedOrNotOnFilterSection(false); } catch (Exception e) { Logging.LogStop(this.driver, test, e, MethodBase.GetCurrentMethod(), Bname + "_TestSuite008_FilterBar_TC003"); throw; } driver.Quit(); }