use of org.mifos.test.acceptance.framework.collectionsheet.CollectionSheetEntryPreviewDataPage in project head by mifos.
the class CollectionSheetEntryCustomerAccountTest method enterAndSubmitCustomerAccountData.
private CollectionSheetEntryConfirmationPage enterAndSubmitCustomerAccountData(SubmitFormParameters formParameters, double[] customerAcctValues) {
CollectionSheetEntrySelectPage selectPage = new CollectionSheetEntryTestHelper(selenium).loginAndNavigateToCollectionSheetEntrySelectPage();
selectPage.verifyPage();
CollectionSheetEntryEnterDataPage enterDataPage = selectCenterAndContinue(formParameters, selectPage);
enterFirstGroupCustomerAccountValues(enterDataPage, customerAcctValues);
enterGenericCustomerAccountValues(enterDataPage);
CollectionSheetEntryPreviewDataPage previewPage = enterDataPage.submitAndGotoCollectionSheetEntryPreviewDataPage();
previewPage.verifyPage(formParameters);
CollectionSheetEntryConfirmationPage confirmationPage = previewPage.submitAndGotoCollectionSheetEntryConfirmationPage();
confirmationPage.verifyPage();
return confirmationPage;
}
use of org.mifos.test.acceptance.framework.collectionsheet.CollectionSheetEntryPreviewDataPage in project head by mifos.
the class CollectionSheetEntryTestHelper method submitDefaultCollectionSheetEntryData.
public CollectionSheetEntryConfirmationPage submitDefaultCollectionSheetEntryData(SubmitFormParameters formParameters) {
CollectionSheetEntryPreviewDataPage previewPage = loginAndNavigateToCollectionSheetEntrySelectPage().submitAndGotoCollectionSheetEntryEnterDataPage(formParameters).submitAndGotoCollectionSheetEntryPreviewDataPage();
previewPage.verifyPage(formParameters);
return previewPage.submitAndGotoCollectionSheetEntryConfirmationPage();
}
Aggregations