public void TC001_VerifyExportAllFunctionality(String Bname) { TestFixtureSetUp(Bname, "TC001-Verify 'Export All' Functionality."); try { loginPage.navigateToLoginPage().VerifyLoginPageScreenInDetail(); loginPage.loginUsingValidEmailIdAndPassword(); homePage.VerifyHomePage().clickUserMenuAndSelectAccountFromList(userName); homePage.clickSiteNavigationMenuIconAndSelectOptionFromListOnPage("QA Testing - Print Dynamics Dashboard (Ad)"); //homePage.clickSiteNavigationMenuIconAndSelectOptionAndSubOptionFromListOnPage(mainMenuName, dashboardName); //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(userName); 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(); }