public void ExecuteTotalAccountsGroupedOnWeekDays() { PortalUtils.Login(driver, "autom", "1234"); PortalUtils.setUserRole(driver); PortalUtils.openPeriodReportMenu(driver); PortalUtils.selectTotalAccountsGroupedOnWeekdays(driver); PortalUtils.runReportButton(driver); WizardUtils.setDescription(driver, "Period report - Account accounts grouped on weekdays automated execution"); //WizardUtils.setExpiryDate(driver, "31/12/2017"); WizardUtils.clickNextExpiry(driver); WizardUtils.setPeriodStart(driver, "01/08/2016 00:00"); WizardUtils.setPeriodEnd(driver, "31/08/2016 23:59"); WizardUtils.setPeriodValuesSwitch(driver); WizardUtils.clickNextPeriod(driver); WizardUtils.setEmployeeFilter(driver, "Traci Reynolds"); //WizardUtils.setAccountFilter(driver, "Holiday account"); WizardUtils.setTerminalFilter(driver, "Terminal filter"); WizardUtils.clickRunFilter(driver); PortalUtils.waitForTextInReport(driver, "0040, Holiday held", 120); PortalUtils.saveReport(driver); //PortalUtils.clickOKConfirmation(driver); PortalUtils.closePeriodReportMenu(driver); PortalUtils.Logout(driver); }
public void ExecuteTerminalRegistrations() { PortalUtils.Login(driver, "autom", "1234"); PortalUtils.setUserRole(driver); PortalUtils.openPeriodReportMenu(driver); PortalUtils.selectTerminalRegistrations(driver); PortalUtils.runReportButton(driver); WizardUtils.setDescription(driver, "Period report - Terminal filters automated execution"); //WizardUtils.setExpiryDate(driver, "31/12/2017"); WizardUtils.clickNextExpiry(driver); WizardUtils.setPeriodStart(driver, "8/1/2016 12:00 AM"); WizardUtils.setPeriodEnd(driver, "8/5/2016 11:59 PM"); WizardUtils.setPeriodValuesSwitch(driver); WizardUtils.clickNextPeriod(driver); WizardUtils.setTerminalFilter(driver, "Terminal Filter"); WizardUtils.clickRunFilter(driver); PortalUtils.waitForTextInReport(driver, "4040, Romania", 120); PortalUtils.saveReport(driver); //PortalUtils.clickOKConfirmation(driver); PortalUtils.closePeriodReportMenu(driver); PortalUtils.Logout(driver); }