Search in sources :

Example 11 with DefineNewSavingsProductConfirmationPage

use of org.mifos.test.acceptance.framework.savingsproduct.DefineNewSavingsProductConfirmationPage in project head by mifos.

the class DefineNewSavingsProductTest method createMandatorySavingsProductForCenters.

// http://mifosforge.jira.com/browse/MIFOSTEST-1095
public void createMandatorySavingsProductForCenters() throws Exception {
    SavingsProductParameters params = savingsProductHelper.getGenericSavingsProductParameters(new DateTime(), SavingsProductParameters.MANDATORY, SavingsProductParameters.CENTERS);
    params.setShortName("1095");
    DefineNewSavingsProductConfirmationPage confirmationPage = savingsProductHelper.createSavingsProduct(params);
    confirmationPage.navigateToSavingsProductDetails();
    createSavingAccountWithCreatedProduct("DefineNewSavingsProductTestCenter", params.getProductInstanceName(), "7777.8");
}
Also used : DefineNewSavingsProductConfirmationPage(org.mifos.test.acceptance.framework.savingsproduct.DefineNewSavingsProductConfirmationPage) SavingsProductParameters(org.mifos.test.acceptance.framework.savingsproduct.SavingsProductParameters) DateTime(org.joda.time.DateTime)

Example 12 with DefineNewSavingsProductConfirmationPage

use of org.mifos.test.acceptance.framework.savingsproduct.DefineNewSavingsProductConfirmationPage in project head by mifos.

the class DefineNewSavingsProductTest method createMandatorySavingsProductForClients.

// http://mifosforge.jira.com/browse/MIFOSTEST-138
public void createMandatorySavingsProductForClients() throws Exception {
    SavingsProductParameters params = savingsProductHelper.getGenericSavingsProductParameters(new DateTime(), SavingsProductParameters.MANDATORY, SavingsProductParameters.CLIENTS);
    params.setShortName("M138");
    DefineNewSavingsProductConfirmationPage confirmationPage = savingsProductHelper.createSavingsProduct(params);
    confirmationPage.navigateToSavingsProductDetails();
    createSavingAccountWithCreatedProduct("DefineNewSavingsProduct TestClient", params.getProductInstanceName(), "248");
}
Also used : DefineNewSavingsProductConfirmationPage(org.mifos.test.acceptance.framework.savingsproduct.DefineNewSavingsProductConfirmationPage) SavingsProductParameters(org.mifos.test.acceptance.framework.savingsproduct.SavingsProductParameters) DateTime(org.joda.time.DateTime)

Example 13 with DefineNewSavingsProductConfirmationPage

use of org.mifos.test.acceptance.framework.savingsproduct.DefineNewSavingsProductConfirmationPage in project head by mifos.

the class DefineNewSavingsProductTest method createMandatorySavingsProductForGroups.

// http://mifosforge.jira.com/browse/MIFOSTEST-1094
public void createMandatorySavingsProductForGroups() throws Exception {
    SavingsProductParameters params = savingsProductHelper.getGenericSavingsProductParameters(new DateTime(), SavingsProductParameters.MANDATORY, SavingsProductParameters.GROUPS);
    params.setShortName("1094");
    DefineNewSavingsProductConfirmationPage confirmationPage = savingsProductHelper.createSavingsProduct(params);
    confirmationPage.navigateToSavingsProductDetails();
    createSavingAccountWithCreatedProduct("DefineNewSavingsProductTestGroup", params.getProductInstanceName(), "534");
}
Also used : DefineNewSavingsProductConfirmationPage(org.mifos.test.acceptance.framework.savingsproduct.DefineNewSavingsProductConfirmationPage) SavingsProductParameters(org.mifos.test.acceptance.framework.savingsproduct.SavingsProductParameters) DateTime(org.joda.time.DateTime)

Aggregations

DefineNewSavingsProductConfirmationPage (org.mifos.test.acceptance.framework.savingsproduct.DefineNewSavingsProductConfirmationPage)13 DateTime (org.joda.time.DateTime)12 SavingsProductParameters (org.mifos.test.acceptance.framework.savingsproduct.SavingsProductParameters)12 EditAccountStatusParameters (org.mifos.test.acceptance.framework.account.EditAccountStatusParameters)5 SavingsAccountDetailPage (org.mifos.test.acceptance.framework.savings.SavingsAccountDetailPage)5 DateTimeUpdaterRemoteTestingService (org.mifos.test.acceptance.remote.DateTimeUpdaterRemoteTestingService)5 DepositWithdrawalSavingsParameters (org.mifos.test.acceptance.framework.savings.DepositWithdrawalSavingsParameters)4 Test (org.testng.annotations.Test)2 SubmitFormParameters (org.mifos.test.acceptance.framework.loanproduct.DefineNewLoanProductPage.SubmitFormParameters)1 EditLoanProductPage (org.mifos.test.acceptance.framework.loanproduct.EditLoanProductPage)1 EditLoanProductPreviewPage (org.mifos.test.acceptance.framework.loanproduct.EditLoanProductPreviewPage)1 LoanProductDetailsPage (org.mifos.test.acceptance.framework.loanproduct.LoanProductDetailsPage)1 DefineNewSavingsProductPage (org.mifos.test.acceptance.framework.savingsproduct.DefineNewSavingsProductPage)1 EditSavingsProductPage (org.mifos.test.acceptance.framework.savingsproduct.EditSavingsProductPage)1 EditSavingsProductPreviewPage (org.mifos.test.acceptance.framework.savingsproduct.EditSavingsProductPreviewPage)1 SavingsProductDetailsPage (org.mifos.test.acceptance.framework.savingsproduct.SavingsProductDetailsPage)1 SavingsProductHelper (org.mifos.test.acceptance.framework.testhelpers.SavingsProductHelper)1