public void TC001_VerifyExportAllFunctionality(String Bname) { TestFixtureSetUp(Bname, "TC001-Verify 'Export All' Functionality."); try { loginPage.navigateToLoginPage().verifyLoginPageScreenInDetail(); loginPage.loginUsingValidEmailIdAndPassword(); homePage.verifyHomePage().clickUserMenuAndSelectAccountFromList("QA Testing - Promo"); homePage.clickSiteNavigationMenuIconAndSelectOptionFromListOnPage("Dashboard"); promoDashboard.verifyPromoDashboardScreen(); promoDashboard.clickDetailViewButtonAndVerifyOptionsToClick("Table"); promoDashboard.verifyButtonDisableOrNotOnScreen("Export All", false); } catch (Exception e) { Logging.LogStop(this.driver, test, e, MethodBase.GetCurrentMethod(), Bname + "_TestSuite005_PromoExportFunctionality_TC001"); throw; } driver.Quit(); }
public void TC009_VerifyViewButtonWhenFieldOptionsSectionIsExpanded(String Bname) { TestFixtureSetUp(Bname, "TC009-Verify 'View' button when Field Options section is expanded."); try { loginPage.navigateToLoginPage().verifyLoginPageScreenInDetail(); loginPage.loginUsingValidEmailIdAndPassword(); homePage.verifyHomePage().clickUserMenuAndSelectAccountFromList("QA Testing - Promo"); homePage.clickSiteNavigationMenuIconAndSelectOptionFromListOnPage("Dashboard"); promoDashboard.verifyPromoDashboardScreen().clickButtonOnViewActionSection("Field Options"); promoDashboard.verifyFieldsOptionsSectionOnDashboardScreen(); promoDashboard.verifyButtonDisableOrNotOnScreen("View Option", true); } catch (Exception e) { Logging.LogStop(this.driver, test, e, MethodBase.GetCurrentMethod(), Bname + "_TestSuite004_PromoFieldOptions_TC009"); throw; } driver.Quit(); }