Search in sources :

Example 6 with CustomPropertiesHelper

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

the class ApplyAdjustmentGroupLoanTest method setUp.

@Override
@BeforeMethod(alwaysRun = true)
public void setUp() throws Exception {
    super.setUp();
    loanTestHelper = new LoanTestHelper(selenium);
    customPropertiesHelper = new CustomPropertiesHelper(selenium);
    customPropertiesHelper.setNewGroupLoanWithMembers(true);
}
Also used : CustomPropertiesHelper(org.mifos.test.acceptance.framework.testhelpers.CustomPropertiesHelper) LoanTestHelper(org.mifos.test.acceptance.framework.testhelpers.LoanTestHelper) BeforeMethod(org.testng.annotations.BeforeMethod)

Example 7 with CustomPropertiesHelper

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

the class ApplyChargeGroupLoanTest method setUp.

@Override
@BeforeMethod(alwaysRun = true)
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
public void setUp() throws Exception {
    super.setUp();
    loanTestHelper = new LoanTestHelper(selenium);
    customPropertiesHelper = new CustomPropertiesHelper(selenium);
    customPropertiesHelper.setNewGroupLoanWithMembers(true);
}
Also used : CustomPropertiesHelper(org.mifos.test.acceptance.framework.testhelpers.CustomPropertiesHelper) LoanTestHelper(org.mifos.test.acceptance.framework.testhelpers.LoanTestHelper) BeforeMethod(org.testng.annotations.BeforeMethod)

Example 8 with CustomPropertiesHelper

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

the class LoanProcessWithDifferentCurrencyTest method setUp.

@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
// one of the dependent methods throws Exception
@BeforeMethod(alwaysRun = true)
public void setUp() throws Exception {
    super.setUp();
    navigationHelper = new NavigationHelper(selenium);
    propertiesHelper = new CustomPropertiesHelper(selenium);
}
Also used : NavigationHelper(org.mifos.test.acceptance.framework.testhelpers.NavigationHelper) CustomPropertiesHelper(org.mifos.test.acceptance.framework.testhelpers.CustomPropertiesHelper) BeforeMethod(org.testng.annotations.BeforeMethod)

Example 9 with CustomPropertiesHelper

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

the class MpesaImportTest method setUp.

@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
// one of the dependent methods throws Exception
@BeforeMethod
public void setUp() throws Exception {
    pluginsUtil.loadPlugin();
    navigationHelper = new NavigationHelper(selenium);
    propertiesHelper = new CustomPropertiesHelper(selenium);
}
Also used : NavigationHelper(org.mifos.test.acceptance.framework.testhelpers.NavigationHelper) CustomPropertiesHelper(org.mifos.test.acceptance.framework.testhelpers.CustomPropertiesHelper) BeforeMethod(org.testng.annotations.BeforeMethod)

Example 10 with CustomPropertiesHelper

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

the class LoanAccountOverdueInterestTest method setUp.

@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@BeforeMethod
public void setUp() throws Exception {
    super.setUp();
    propertiesHelper = new CustomPropertiesHelper(selenium);
    propertiesHelper.setOverdueInterestPaidFirst("true");
    DateTimeUpdaterRemoteTestingService dateTimeUpdaterRemoteTestingService = new DateTimeUpdaterRemoteTestingService(selenium);
    systemDateTime = new DateTime(2011, 3, 4, 12, 0, 0, 0);
    dateTimeUpdaterRemoteTestingService.setDateTime(systemDateTime);
    loanTestHelper = new LoanTestHelper(selenium);
    navigationHelper = new NavigationHelper(selenium);
    loanProductTestHelper = new LoanProductTestHelper(selenium);
}
Also used : NavigationHelper(org.mifos.test.acceptance.framework.testhelpers.NavigationHelper) LoanProductTestHelper(org.mifos.test.acceptance.loanproduct.LoanProductTestHelper) CustomPropertiesHelper(org.mifos.test.acceptance.framework.testhelpers.CustomPropertiesHelper) DateTimeUpdaterRemoteTestingService(org.mifos.test.acceptance.remote.DateTimeUpdaterRemoteTestingService) DateTime(org.joda.time.DateTime) LoanTestHelper(org.mifos.test.acceptance.framework.testhelpers.LoanTestHelper) BeforeMethod(org.testng.annotations.BeforeMethod)

Aggregations

CustomPropertiesHelper (org.mifos.test.acceptance.framework.testhelpers.CustomPropertiesHelper)18 BeforeMethod (org.testng.annotations.BeforeMethod)17 LoanTestHelper (org.mifos.test.acceptance.framework.testhelpers.LoanTestHelper)10 NavigationHelper (org.mifos.test.acceptance.framework.testhelpers.NavigationHelper)9 DateTime (org.joda.time.DateTime)8 DateTimeUpdaterRemoteTestingService (org.mifos.test.acceptance.remote.DateTimeUpdaterRemoteTestingService)7 ClientTestHelper (org.mifos.test.acceptance.framework.testhelpers.ClientTestHelper)4 SavingsAccountHelper (org.mifos.test.acceptance.framework.testhelpers.SavingsAccountHelper)2 LoanProductTestHelper (org.mifos.test.acceptance.loanproduct.LoanProductTestHelper)2 TestDataSetup (org.mifos.test.acceptance.util.TestDataSetup)2 FeeTestHelper (org.mifos.test.acceptance.admin.FeeTestHelper)1 AdminPage (org.mifos.test.acceptance.framework.admin.AdminPage)1 ViewOrganizationSettingsPage (org.mifos.test.acceptance.framework.admin.ViewOrganizationSettingsPage)1 CenterTestHelper (org.mifos.test.acceptance.framework.testhelpers.CenterTestHelper)1 GroupTestHelper (org.mifos.test.acceptance.framework.testhelpers.GroupTestHelper)1 QuestionGroupTestHelper (org.mifos.test.acceptance.framework.testhelpers.QuestionGroupTestHelper)1 SavingsProductHelper (org.mifos.test.acceptance.framework.testhelpers.SavingsProductHelper)1 Test (org.testng.annotations.Test)1