Search in sources :

Example 1 with SavingsDepositWithdrawalConfirmationPage

use of org.mifos.test.acceptance.framework.savings.SavingsDepositWithdrawalConfirmationPage in project head by mifos.

the class SavingsAccountHelper method makeDepositOrWithdrawalOnSavingsAccount.

public SavingsAccountDetailPage makeDepositOrWithdrawalOnSavingsAccount(String savingsAccountID, DepositWithdrawalSavingsParameters params) {
    NavigationHelper helper = new NavigationHelper(selenium);
    SavingsAccountDetailPage savingsAccountDetailPage = helper.navigateToSavingsAccountDetailPage(savingsAccountID);
    savingsAccountDetailPage.verifyPage();
    SavingsDepositWithdrawalPage savingsDepositWithdrawalPage = savingsAccountDetailPage.navigateToDepositWithdrawalPage();
    savingsDepositWithdrawalPage.verifyPage();
    SavingsDepositWithdrawalConfirmationPage savingsDepositWithdrawalConfirmationPage = savingsDepositWithdrawalPage.submitAndNavigateToDepositWithdrawalConfirmationPage(params);
    savingsDepositWithdrawalConfirmationPage.verifyPage();
    savingsAccountDetailPage = savingsDepositWithdrawalConfirmationPage.submitAndNavigateToSavingsAccountDetailPage();
    return savingsAccountDetailPage;
}
Also used : SavingsDepositWithdrawalConfirmationPage(org.mifos.test.acceptance.framework.savings.SavingsDepositWithdrawalConfirmationPage) SavingsAccountDetailPage(org.mifos.test.acceptance.framework.savings.SavingsAccountDetailPage) SavingsDepositWithdrawalPage(org.mifos.test.acceptance.framework.savings.SavingsDepositWithdrawalPage)

Aggregations

SavingsAccountDetailPage (org.mifos.test.acceptance.framework.savings.SavingsAccountDetailPage)1 SavingsDepositWithdrawalConfirmationPage (org.mifos.test.acceptance.framework.savings.SavingsDepositWithdrawalConfirmationPage)1 SavingsDepositWithdrawalPage (org.mifos.test.acceptance.framework.savings.SavingsDepositWithdrawalPage)1