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.");
}
Aggregations