Search in sources :

Example 6 with AdminTestHelper

use of org.mifos.test.acceptance.framework.testhelpers.AdminTestHelper in project head by mifos.

the class ClientDataImportTest method setUp.

@Override
@BeforeMethod
public void setUp() throws Exception {
    super.setUp();
    adminTestHelper = new AdminTestHelper(selenium);
    initRemote.dataLoadAndCacheRefresh(dbUnitUtilities, "acceptance_dbunit.xml", dataSource, selenium);
}
Also used : AdminTestHelper(org.mifos.test.acceptance.framework.testhelpers.AdminTestHelper) BeforeMethod(org.testng.annotations.BeforeMethod)

Example 7 with AdminTestHelper

use of org.mifos.test.acceptance.framework.testhelpers.AdminTestHelper in project head by mifos.

the class SavingsImportTest method setUp.

@Override
@BeforeMethod
public void setUp() throws Exception {
    super.setUp();
    savingsProductHelper = new SavingsProductHelper(selenium);
    adminTestHelper = new AdminTestHelper(selenium);
    navigationHelper = new NavigationHelper(selenium);
    //changing date so dates in xls spreadsheet will be appropriate
    targetTime = new DateTime(2012, 9, 18, 12, 0, 0, 0);
    DateTimeUpdaterRemoteTestingService dtUpdate = new DateTimeUpdaterRemoteTestingService(selenium);
    dtUpdate.setDateTime(targetTime);
}
Also used : NavigationHelper(org.mifos.test.acceptance.framework.testhelpers.NavigationHelper) SavingsProductHelper(org.mifos.test.acceptance.framework.testhelpers.SavingsProductHelper) AdminTestHelper(org.mifos.test.acceptance.framework.testhelpers.AdminTestHelper) DateTimeUpdaterRemoteTestingService(org.mifos.test.acceptance.remote.DateTimeUpdaterRemoteTestingService) DateTime(org.joda.time.DateTime) BeforeMethod(org.testng.annotations.BeforeMethod)

Aggregations

AdminTestHelper (org.mifos.test.acceptance.framework.testhelpers.AdminTestHelper)7 BeforeMethod (org.testng.annotations.BeforeMethod)7 NavigationHelper (org.mifos.test.acceptance.framework.testhelpers.NavigationHelper)3 DateTimeUpdaterRemoteTestingService (org.mifos.test.acceptance.remote.DateTimeUpdaterRemoteTestingService)2 DateTime (org.joda.time.DateTime)1 SavingsProductHelper (org.mifos.test.acceptance.framework.testhelpers.SavingsProductHelper)1 LoanProductTestHelper (org.mifos.test.acceptance.loanproduct.LoanProductTestHelper)1