public void ExecuteBalanceOnEmployeesCrosstab() { PortalUtils.Login(driver, "autom", "1234"); PortalUtils.setUserRole(driver); PortalUtils.openBalanceReportMenu(driver); PortalUtils.selectBalanceOnEmployeesCrosstab(driver); PortalUtils.runReportButton(driver); WizardUtils.setDescription(driver, "Balance on employees crosstab automated execution"); //WizardUtils.setExpiryDate(driver, "31/12/2017"); WizardUtils.clickNextExpiry(driver); WizardUtils.clickNextPeriod(driver); WizardUtils.setEmployeeFilter(driver, "Traci Reynolds"); WizardUtils.setAccountFilter(driver, "Holiday held"); WizardUtils.clickRunFilter(driver); PortalUtils.waitForTextInReport(driver, "126, Traci Reynolds", 120); PortalUtils.saveReport(driver); PortalUtils.closeBalanceReportMenu(driver); PortalUtils.Logout(driver); }
public void ExecuteCrosstabByEmployeeByDates() { PortalUtils.Login(driver, "autom", "1234"); PortalUtils.setUserRole(driver); PortalUtils.openPeriodReportMenu(driver); PortalUtils.selectCrosstabByEmployeeByDates(driver); PortalUtils.runReportButton(driver); WizardUtils.setDescription(driver, "Period report - Crosstab by employee dates 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 held"); //WizardUtils.setAccountFilter(driver, "Holiday account"); WizardUtils.clickRunFilter(driver); PortalUtils.waitForTextInReport(driver, "126, Traci, Reynolds", 120); PortalUtils.saveReport(driver); //PortalUtils.clickOKConfirmation(driver); PortalUtils.closePeriodReportMenu(driver); PortalUtils.Logout(driver); }
public void ExecuteAccountTotalsPerDepartment() { PortalUtils.Login(driver, "autom", "1234"); PortalUtils.setUserRole(driver); PortalUtils.openPeriodReportMenu(driver); PortalUtils.selectAccountTotalsPerDepartment(driver); PortalUtils.runReportButton(driver); WizardUtils.setDescription(driver, "Period report - Account totals per department 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.setEmployeeFilter(driver, "Traci Reynolds"); WizardUtils.setAccountFilter(driver, "Holiday held"); WizardUtils.clickRunFilter(driver); PortalUtils.waitForTextInReport(driver, "Holiday held", 120); PortalUtils.saveReport(driver); // PortalUtils.clickOKConfirmation(driver); PortalUtils.closePeriodReportMenu(driver); PortalUtils.Logout(driver); }
public void ExecuteAccountRegistrationGroupedByAccounts() { PortalUtils.Login(driver, "autom", "1234"); PortalUtils.setUserRole(driver); PortalUtils.openPeriodReportMenu(driver); PortalUtils.selectAccountRegistrationGroupedByAccounts(driver); PortalUtils.runReportButton(driver); WizardUtils.setDescription(driver, "Period report - Account Registration grouped by accounts automated execution"); //WizardUtils.setExpiryDate(driver, "31/12/2017"); WizardUtils.clickNextExpiry(driver); WizardUtils.setPeriodStart(driver, "1/8/2016 12:00 AM"); WizardUtils.setPeriodEnd(driver, "28/09/2016 11:59 PM"); WizardUtils.setPeriodValuesSwitch(driver); WizardUtils.clickNextPeriod(driver); WizardUtils.setEmployeeFilter(driver, "Traci Reynolds"); WizardUtils.setAccountFilter(driver, "Holiday held"); WizardUtils.clickRunFilter(driver); PortalUtils.waitForTextInReport(driver, "126, Traci Reynolds", 120); PortalUtils.saveReport(driver); //PortalUtils.clickOKConfirmation(driver); PortalUtils.closePeriodReportMenu(driver); PortalUtils.Logout(driver); }
public void ExecuteBalanceOnPeriod() { PortalUtils.Login(driver, "autom", "1234"); PortalUtils.setUserRole(driver); PortalUtils.openBalanceReportMenu(driver); PortalUtils.selectBalancesOnPeriod(driver); PortalUtils.runReportButton(driver); WizardUtils.setDescription(driver, "Balance on period automated execution"); //WizardUtils.setExpiryDate(driver, "31/12/2017"); WizardUtils.clickNextExpiry(driver); WizardUtils.setPeriodStart(driver, "1/9/2016 12:00 AM"); WizardUtils.setPeriodEnd(driver, "28/9/2016 11:59 PM"); //WizardUtils.setPeriodValuesSwitch(driver); WizardUtils.clickNextPeriod(driver); WizardUtils.setEmployeeFilter(driver, "Traci Reynolds"); WizardUtils.setAccountFilter(driver, "Holiday held"); WizardUtils.clickRunFilter(driver); PortalUtils.waitForTextInReport(driver, "126, Traci Reynolds", 120); PortalUtils.saveReport(driver); PortalUtils.closeBalanceReportMenu(driver); PortalUtils.Logout(driver); }
public void ExecuteBalanceOnDepartments() { PortalUtils.Login(driver, "autom", "1234"); PortalUtils.setUserRole(driver); PortalUtils.openBalanceReportMenu(driver); PortalUtils.selectBalancesOnDepartments(driver); PortalUtils.runReportButton(driver); WizardUtils.setDescription(driver, "Balance Report - Balance on departments automated execution"); //WizardUtils.setExpiryDate(driver, "31/12/2017"); WizardUtils.clickNextExpiry(driver); WizardUtils.setEmployeeFilter(driver, "Theodore Hooks"); WizardUtils.setAccountFilter(driver, "Holiday held"); WizardUtils.clickRunFilter(driver); // This is for MarkLatest //PortalUtils.waitForTextInReport(driver, "1, Administration", 120); // This is for Wirtek Devel PortalUtils.waitForTextInReport(driver, "11, Product / Development", 120); PortalUtils.saveReport(driver); PortalUtils.closeBalanceReportMenu(driver); PortalUtils.Logout(driver); }