use of org.mifos.test.acceptance.framework.savings.SavingsCloseAccountPage in project head by mifos.
the class SavingsAccountHelper method closeSavingsAccount.
public SavingsAccountDetailPage closeSavingsAccount(String savingsAccountID, String notes) {
NavigationHelper helper = new NavigationHelper(selenium);
SavingsAccountDetailPage savingsAccountDetailPage = helper.navigateToSavingsAccountDetailPage(savingsAccountID);
savingsAccountDetailPage.verifyPage();
SavingsCloseAccountPage savingsCloseAccountPage = savingsAccountDetailPage.navigateToCloseAccount();
savingsCloseAccountPage.verifyPage();
savingsAccountDetailPage = savingsCloseAccountPage.closeSavingsAccount(notes);
savingsAccountDetailPage.verifyPage();
return savingsAccountDetailPage;
}
use of org.mifos.test.acceptance.framework.savings.SavingsCloseAccountPage in project head by mifos.
the class SavingsAccountHelper method fillQuestionGroupsDuringClosingSavingsAccount.
public SavingsAccountDetailPage fillQuestionGroupsDuringClosingSavingsAccount(String savingsId, QuestionResponseParameters questionResponseParameters, String[] questionsExist) {
NavigationHelper helper = new NavigationHelper(selenium);
SavingsAccountDetailPage savingsAccountDetailPage = helper.navigateToSavingsAccountDetailPage(savingsId);
savingsAccountDetailPage.verifyPage();
SavingsCloseAccountPage savingsCloseAccountPage = savingsAccountDetailPage.navigateToCloseAccount();
savingsCloseAccountPage.verifyPage();
CaptureQuestionResponse captureQuestionResponse = savingsCloseAccountPage.submitAndNavigateToQuestionnairePage("Closing Savings with QG");
captureQuestionResponse.verifyQuestionsExists(questionsExist);
captureQuestionResponse.populateAnswers(questionResponseParameters);
captureQuestionResponse.navigateToNextPageSavingsAccountClosing();
savingsAccountDetailPage = savingsCloseAccountPage.clickCloseButton();
savingsAccountDetailPage.verifyPage();
return savingsAccountDetailPage;
}
Aggregations