use of org.mifos.test.acceptance.framework.savings.CreateSavingsAccountEntryPage in project head by mifos.
the class SavingsAccountHelper method createSavingsAccountWithQG.
public SavingsAccountDetailPage createSavingsAccountWithQG(CreateSavingsAccountSearchParameters searchParameters, CreateSavingsAccountSubmitParameters submitAccountParameters) {
CreateSavingsAccountSearchPage createSavingsAccountSearchPage = navigateToCreateSavingsAccountSearchPage();
createSavingsAccountSearchPage.verifyPage();
CreateSavingsAccountEntryPage createSavingsAccountEntryPage = createSavingsAccountSearchPage.searchAndNavigateToCreateSavingsAccountPage(searchParameters);
createSavingsAccountEntryPage.verifyPage();
CreateSavingsAccountConfirmationPage createSavingsAccountConfirmationPage = createSavingsAccountEntryPage.submitWithQGAndNavigateToSavingsAccountConfirmationPage(submitAccountParameters);
createSavingsAccountConfirmationPage.verifyPage();
SavingsAccountDetailPage savingsAccountDetailPage = createSavingsAccountConfirmationPage.navigateToSavingsAccountDetailsPage();
savingsAccountDetailPage.verifyPage();
return savingsAccountDetailPage;
}
use of org.mifos.test.acceptance.framework.savings.CreateSavingsAccountEntryPage in project head by mifos.
the class SavingsAccountHelper method createSavingsAccount.
/**
* Creates a savings account.
* @param searchParameters Parameters to find the client/group that will be the owner of the account.
* @param submitAccountParameters The parameters for the savings account.
*/
public SavingsAccountDetailPage createSavingsAccount(CreateSavingsAccountSearchParameters searchParameters, CreateSavingsAccountSubmitParameters submitAccountParameters) {
CreateSavingsAccountSearchPage createSavingsAccountSearchPage = navigateToCreateSavingsAccountSearchPage();
createSavingsAccountSearchPage.verifyPage();
CreateSavingsAccountEntryPage createSavingsAccountEntryPage = createSavingsAccountSearchPage.searchAndNavigateToCreateSavingsAccountPage(searchParameters);
createSavingsAccountEntryPage.verifyPage();
CreateSavingsAccountConfirmationPage createSavingsAccountConfirmationPage = createSavingsAccountEntryPage.submitAndNavigateToSavingsAccountConfirmationPage(submitAccountParameters);
createSavingsAccountConfirmationPage.verifyPage();
SavingsAccountDetailPage savingsAccountDetailPage = createSavingsAccountConfirmationPage.navigateToSavingsAccountDetailsPage();
savingsAccountDetailPage.verifyPage();
return savingsAccountDetailPage;
}
use of org.mifos.test.acceptance.framework.savings.CreateSavingsAccountEntryPage in project head by mifos.
the class SavingsAccountHelper method fillQuestionGroupsDurringCreationSavingsAccount.
public CreateSavingsAccountPreviewPage fillQuestionGroupsDurringCreationSavingsAccount(CreateSavingsAccountSearchParameters searchParameters, CreateSavingsAccountSubmitParameters submitAccountParameters, QuestionResponseParameters responseParams) {
CreateSavingsAccountSearchPage createSavingsAccountSearchPage = navigateToCreateSavingsAccountSearchPage();
createSavingsAccountSearchPage.verifyPage();
CreateSavingsAccountEntryPage createSavingsAccountEntryPage = createSavingsAccountSearchPage.searchAndNavigateToCreateSavingsAccountPage(searchParameters);
createSavingsAccountEntryPage.verifyPage();
QuestionnairePage questionnairePage = createSavingsAccountEntryPage.submitAndNavigateToQuestionnairePage(submitAccountParameters);
questionnairePage.populateAnswers(responseParams);
return questionnairePage.navigateToNextPageSavingsAccountCreation();
}
use of org.mifos.test.acceptance.framework.savings.CreateSavingsAccountEntryPage in project head by mifos.
the class SavingsAccountHelper method navigateToQuestionResponseDuringCreateSavings.
public QuestionnairePage navigateToQuestionResponseDuringCreateSavings(CreateSavingsAccountSearchParameters searchParameters, CreateSavingsAccountSubmitParameters submitAccountParameters) {
CreateSavingsAccountSearchPage createSavingsAccountSearchPage = navigateToCreateSavingsAccountSearchPage();
createSavingsAccountSearchPage.verifyPage();
CreateSavingsAccountEntryPage createSavingsAccountEntryPage = createSavingsAccountSearchPage.searchAndNavigateToCreateSavingsAccountPage(searchParameters);
createSavingsAccountEntryPage.verifyPage();
return createSavingsAccountEntryPage.submitAndNavigateToQuestionnairePage(submitAccountParameters);
}
use of org.mifos.test.acceptance.framework.savings.CreateSavingsAccountEntryPage in project head by mifos.
the class SavingsAccountHelper method createSavingsAccountWithoutPendingApprovalState.
public SavingsAccountDetailPage createSavingsAccountWithoutPendingApprovalState(CreateSavingsAccountSearchParameters searchParameters, CreateSavingsAccountSubmitParameters submitAccountParameters) {
CreateSavingsAccountSearchPage createSavingsAccountSearchPage = navigateToCreateSavingsAccountSearchPage();
createSavingsAccountSearchPage.verifyPage();
CreateSavingsAccountEntryPage createSavingsAccountEntryPage = createSavingsAccountSearchPage.searchAndNavigateToCreateSavingsAccountPage(searchParameters);
createSavingsAccountEntryPage.verifyPage();
CreateSavingsAccountConfirmationPage createSavingsAccountConfirmationPage = createSavingsAccountEntryPage.submitAndNavigateToSavingsAccountConfirmationPageWithoutPendingApprovalState(submitAccountParameters);
createSavingsAccountConfirmationPage.verifyPage();
SavingsAccountDetailPage savingsAccountDetailPage = createSavingsAccountConfirmationPage.navigateToSavingsAccountDetailsPage();
savingsAccountDetailPage.verifyPage();
return savingsAccountDetailPage;
}
Aggregations