Search in sources :

Example 1 with DefineNewLoanProductConfirmationPage

use of org.mifos.test.acceptance.framework.loanproduct.DefineNewLoanProductConfirmationPage in project head by mifos.

the class AdminPage method defineLoanProduct.

public void defineLoanProduct(SubmitFormParameters formParameters) {
    DefineNewLoanProductPage newLoanPage = navigateToDefineLoanProduct();
    newLoanPage.fillLoanParameters(formParameters);
    DefineNewLoanProductPreviewPage previewPage = newLoanPage.submitAndGotoNewLoanProductPreviewPage();
    DefineNewLoanProductConfirmationPage confirmationPage = previewPage.submit();
    confirmationPage.verifyPage();
}
Also used : DefineNewLoanProductConfirmationPage(org.mifos.test.acceptance.framework.loanproduct.DefineNewLoanProductConfirmationPage) DefineNewLoanProductPage(org.mifos.test.acceptance.framework.loanproduct.DefineNewLoanProductPage) DefineNewLoanProductPreviewPage(org.mifos.test.acceptance.framework.loanproduct.DefineNewLoanProductPreviewPage)

Example 2 with DefineNewLoanProductConfirmationPage

use of org.mifos.test.acceptance.framework.loanproduct.DefineNewLoanProductConfirmationPage in project head by mifos.

the class AdminPage method defineMultiCurrencyLoanProduct.

public void defineMultiCurrencyLoanProduct(SubmitMultiCurrencyFormParameters formParameters) {
    DefineNewDifferentCurrencyLoanProductPage newLoanPage = navigateToDefineDifferentCurrencyLoanProduct();
    newLoanPage.verifyPage();
    newLoanPage.addFee(formParameters.getAdditionalFee1());
    newLoanPage.fillLoanParameters(formParameters);
    //
    DefineNewLoanProductPreviewPage previewPage = newLoanPage.submitAndGotoNewLoanProductPreviewPage();
    DefineNewLoanProductConfirmationPage confirmationPage = previewPage.submit();
    confirmationPage.verifyPage();
}
Also used : DefineNewLoanProductConfirmationPage(org.mifos.test.acceptance.framework.loanproduct.DefineNewLoanProductConfirmationPage) DefineNewDifferentCurrencyLoanProductPage(org.mifos.test.acceptance.framework.loanproduct.multicurrrency.DefineNewDifferentCurrencyLoanProductPage) DefineNewLoanProductPreviewPage(org.mifos.test.acceptance.framework.loanproduct.DefineNewLoanProductPreviewPage)

Aggregations

DefineNewLoanProductConfirmationPage (org.mifos.test.acceptance.framework.loanproduct.DefineNewLoanProductConfirmationPage)2 DefineNewLoanProductPreviewPage (org.mifos.test.acceptance.framework.loanproduct.DefineNewLoanProductPreviewPage)2 DefineNewLoanProductPage (org.mifos.test.acceptance.framework.loanproduct.DefineNewLoanProductPage)1 DefineNewDifferentCurrencyLoanProductPage (org.mifos.test.acceptance.framework.loanproduct.multicurrrency.DefineNewDifferentCurrencyLoanProductPage)1