Search in sources :

Example 1 with DefineNewSavingsProductPage

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

the class DefineNewSavingsProductTest method validateDefineSavingsProductForm.

public void validateDefineSavingsProductForm() throws Exception {
    SavingsProductParameters params = savingsProductHelper.getInvalidSavingsProductParameters(new DateTime(), SavingsProductParameters.MANDATORY, SavingsProductParameters.GROUPS);
    params.setShortName("V140");
    DefineNewSavingsProductPage newSavingsProductPage = savingsProductHelper.getDefineSavingsProductPageWithValidationErrors(params);
    newSavingsProductPage.verifyValidationErrors("Please specify the Time period for Interest calculation.", "Please specify the Frequency of Interest posting to accounts.", "Please specify the Interest rate. Interest must be in range (0-100).", "Please specify a value greater than zero for Mandatory amount for deposit.", "Please select the Amount Applies to.");
}
Also used : SavingsProductParameters(org.mifos.test.acceptance.framework.savingsproduct.SavingsProductParameters) DefineNewSavingsProductPage(org.mifos.test.acceptance.framework.savingsproduct.DefineNewSavingsProductPage) DateTime(org.joda.time.DateTime)

Aggregations

DateTime (org.joda.time.DateTime)1 DefineNewSavingsProductPage (org.mifos.test.acceptance.framework.savingsproduct.DefineNewSavingsProductPage)1 SavingsProductParameters (org.mifos.test.acceptance.framework.savingsproduct.SavingsProductParameters)1