public void TC004_VerifyDailyScheduleIncludingWeekendDeliveryCreatedSuccessfullyForDataReoprtsInExportAll(String Bname) { TestFixtureSetUp(Bname, "TC004-Verify Daily schedule including weekend delivery created successfully for Data reoprts in Export All."); try { loginPage.navigateToLoginPage().verifyLoginPageScreenInDetail(); loginPage.loginUsingValidEmailIdAndPassword(); homePage.verifyHomePage().clickUserMenuAndSelectAccountFromList("QA Testing - Brand Canada"); homePage.clickSiteNavigationMenuIconAndSelectOptionFromListOnPage("Media"); brandCanada_Screen.verifyBrandCanadaScreen(); homePage.clickMenuIconFromScreen("Search"); string searchTitle = schedule.createNewSearchOrClickSavedSearchToApplySearchOnScreen(); promoDashboard.clickButtonOnViewActionSection("Export All").verifyExportAllSectionOnDashboardScreen(); promoDashboard.verifyOrClickExportAllSectionInDetailOnScreen("Data Reports"); promoDashboard.verifyOrClickExportAllSectionInDetailOnScreen("Data Reports", "Schedule"); schedule.verifyScheduleWindow(searchTitle); schedule.clickScheduleDropdownAndVerifyListsOrClick().clickButtonOnScreen("Create Scheduled Export"); schedule.verifyScheduleMessageOnScreen("Successfully created a scheduled export for"); // not able to verify Email Functionality } catch (Exception e) { Logging.LogStop(this.driver, test, e, MethodBase.GetCurrentMethod(), Bname + "_TestSuite006_Schedulers_TC004"); throw; } driver.Quit(); }
public void TC002_VerifyFieldOptionsSection(String Bname) { TestFixtureSetUp(Bname, "TC002-Verify Field Options section."); try { loginPage.navigateToLoginPage().verifyLoginPageScreenInDetail(); loginPage.loginUsingValidEmailIdAndPassword(); homePage.verifyHomePage().clickUserMenuAndSelectAccountFromList("QA Testing - Promo"); homePage.clickSiteNavigationMenuIconAndSelectOptionFromListOnPage("Dashboard"); promoDashboard.verifyPromoDashboardScreen(); promoDashboard.clickButtonOnViewActionSection("Field Options"); promoDashboard.verifyFieldsOptionsSectionOnDashboardScreen(); } catch (Exception e) { Logging.LogStop(this.driver, test, e, MethodBase.GetCurrentMethod(), Bname + "_TestSuite004_PromoFieldOptions_TC002"); throw; } driver.Quit(); }
public void TC002_VerifyExportFunctionalityForDataReportsSection(String Bname) { TestFixtureSetUp(Bname, "TC002-Verify 'Export' Functionality for Data Reports Section."); try { loginPage.navigateToLoginPage().verifyLoginPageScreenInDetail(); loginPage.loginUsingValidEmailIdAndPassword(); homePage.verifyHomePage().clickUserMenuAndSelectAccountFromList("QA Testing - Promo"); homePage.clickSiteNavigationMenuIconAndSelectOptionFromListOnPage("Dashboard"); promoDashboard.verifyPromoDashboardScreen(); promoDashboard.clickDetailViewButtonAndVerifyOptionsToClick("Table"); promoDashboard.clickButtonOnViewActionSection("Export All").verifyExportAllSectionOnDashboardScreen(); promoDashboard.selectRecordFromViewSection(); promoDashboard.verifyOrClickExportAllSectionInDetailOnScreen("Data Reports"); promoDashboard.verifyOrClickExportAllSectionInDetailOnScreen("Data Reports", "Download"); promoDashboard.verifyFileDownloadedOrNotOnScreen("promo_dashtest", "*.xlsx"); } catch (Exception e) { Logging.LogStop(this.driver, test, e, MethodBase.GetCurrentMethod(), Bname + "_TestSuite005_PromoExportFunctionality_TC002"); throw; } driver.Quit(); }