public void TC010_VerifyDataReportsScheduleIconWhenAppliedSearchHas50000PlusRecords(String Bname) { TestFixtureSetUp(Bname, "TC010-Verify Data reports Schedule icon when applied search has 50,000 plus records."); try { loginPage.navigateToLoginPage().VerifyLoginPageScreenInDetail(); loginPage.loginUsingValidEmailIdAndPassword(); homePage.VerifyHomePage().clickUserMenuAndSelectAccountFromList(userName); homePage.clickSiteNavigationMenuIconAndSelectOptionFromListOnPage("Mo - QA Testing - Media Spend"); //homePage.clickSiteNavigationMenuIconAndSelectOptionAndSubOptionFromListOnPage(mainMenuName, dashboardName); brandCanada_Screen.VerifyBrandCanadaScreen(); homePage.clickMenuIconFromScreen("Search"); searchPage.selectDateRangeOptionFromSection("Last Year"); schedule.clickButtonOnScreen("Apply Search"); promoDashboard.clickButtonOnViewActionSection("Export All").VerifyExportAllSectionOnDashboardScreen(); promoDashboard.VerifyTiooltipFunctionalityForReportsSection("Data Reports", "Ban", "You have too many items selected. Select fewer than: 50000"); } catch (Exception e) { Logging.LogStop(this.driver, test, e, MethodBase.GetCurrentMethod(), Bname + "_TestSuite006_Schedulers_TC010"); throw; } driver.Quit(); }
public void TC003_VerifyDownloadTooltipWhenDownloadIsAvailableForDataReportsSection(String Bname) { TestFixtureSetUp(Bname, "TC003-Verify Download tooltip when download is available for Data Reports Section."); 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.clickButtonOnViewActionSection("Export All").VerifyExportAllSectionOnDashboardScreen(); promoDashboard.selectRecordFromViewSection(); promoDashboard.VerifyOrClickExportAllSectionInDetailOnScreen("Data Reports"); promoDashboard.VerifyTiooltipFunctionalityForReportsSection("Data Reports", "Download"); } catch (Exception e) { Logging.LogStop(this.driver, test, e, MethodBase.GetCurrentMethod(), Bname + "_TestSuite005_PromoExportFunctionality_TC003"); throw; } driver.Quit(); }