use of org.mifos.test.acceptance.framework.ClientsAndAccountsHomepage in project head by mifos.
the class ClientTest method searchForClientAndEditDetailsTest.
// implementation of test described in issue 2454
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@Test(enabled = true)
public void searchForClientAndEditDetailsTest() throws Exception {
ClientsAndAccountsHomepage clientsPage = navigationHelper.navigateToClientsAndAccountsPage();
ClientSearchResultsPage searchResultsPage = clientsPage.searchForClient("client1");
searchResultsPage.verifyPage();
ClientViewDetailsPage clientDetailsPage = searchResultsPage.navigateToSearchResult("client1 lastname: ID 0002-000000005");
ClientEditMFIPage editMFIPage = clientDetailsPage.navigateToEditMFIPage();
editMFIPage.verifyPage();
ClientEditMFIParameters params = new ClientEditMFIParameters();
params.setExternalId("extID123");
params.setTrainedDateDD("15");
params.setTrainedDateMM("12");
params.setTrainedDateYYYY("2008");
ClientEditMFIPreviewPage mfiPreviewPage = editMFIPage.submitAndNavigateToClientEditMFIPreviewPage(params);
mfiPreviewPage.verifyPage();
clientDetailsPage = mfiPreviewPage.submit();
assertTextFoundOnPage("extID123");
assertTextFoundOnPage("15/12/2008");
}
use of org.mifos.test.acceptance.framework.ClientsAndAccountsHomepage in project head by mifos.
the class CustomizeTextTest method verifyCustomizedTextOnVariousPages.
/*
* http://mifosforge.jira.com/browse/MIFOSTEST-1171
* Verify customized text on various Mifos pages
*/
@SuppressWarnings("PMD")
@Test
public void verifyCustomizedTextOnVariousPages() {
TreeMap<String, String> originalCustomText = new TreeMap<String, String>();
originalCustomText.put("Complete the fields below.", "Fill necessary");
originalCustomText.put("Click Cancel to return", "Cancel button is to back");
originalCustomText.put("Product category", "搜索工具");
originalCustomText.put("Date", "عر");
originalCustomText.put("fields", "information");
originalCustomText.put("Targeted Deposits and Withdrawal Restrictions", "deposits and withdrawals");
originalCustomText.put("details", "有");
originalCustomText.put("Create new Center", "Define center");
originalCustomText.put("Create multiple Loan Accounts", "下面的搜索工具");
originalCustomText.put("Approve multiple loans", "أبجدية");
originalCustomText.put("Client", "Person");
originalCustomText.put("Home", "Main");
originalCustomText.put("Clients & Accounts", "òèßñ 有 عربية");
originalCustomText.put("Then click Preview", "After that click on Preview button");
originalCustomText.put("Fields marked with an asterisk are required.", "Mandatory information are necessary");
originalCustomText.put("Date of Birth", "搜索工具");
originalCustomText.put("Name", "عر");
originalCustomText.put("User", "Mifos");
originalCustomText.put("User Title", "Personnel Role");
originalCustomText.put("Login information", "漢字");
originalCustomText.put("description", "info");
originalCustomText.put("recommended Amount for Deposit", "عبية");
originalCustomText.put("create New group", "Define Group");
originalCustomText.put("create Loan Account", "عربة");
originalCustomText.put("reports", "Summaries");
originalCustomText.put("admin", "عربية");
originalCustomText.put("first", "1th");
originalCustomText.put("postal code", "ية عر");
CustomizeTextViewPage customizeTextViewPage = navigationHelper.navigateToAdminPage().navigateToCustomizeTextViewPage();
String value;
for (String key : originalCustomText.keySet()) {
CustomizeTextAddPage customizeTextAddPage = customizeTextViewPage.navigateToCustomizeTextAddPage();
customizeTextAddPage.setOriginalText(key);
value = originalCustomText.get(key);
customizeTextAddPage.setCustomText(value);
customizeTextAddPage.submit();
verifyCustomTextIsAdded(key, value);
}
ClientsAndAccountsHomepage clientsAndAccountsHomepage = navigationHelper.navigateToClientsAndAccountsPage();
verifyClientsAndAccountsCreateCenterLink(originalCustomText.get("Create new Center"), clientsAndAccountsHomepage);
verifyClientsAndAccountsCreateMultipleLoansLink(originalCustomText.get("Create multiple Loan Accounts"), clientsAndAccountsHomepage);
verifyClientsAndAccountsApproveMultipleLoansLink(originalCustomText.get("Approve multiple loans"), clientsAndAccountsHomepage);
verifyClientsAndAccountsCreateClientLink(originalCustomText.get("Client"), clientsAndAccountsHomepage);
verifyClientsAndAccountsCreateNewClientsText(originalCustomText.get("Client"));
verifyClientsAndAccountsCreateGroupLink(originalCustomText.get("create New group"), clientsAndAccountsHomepage);
verifyClientsAndAccountsCreateLoanAccountLink(originalCustomText.get("create Loan Account"), clientsAndAccountsHomepage);
verifyClientsAndAccountsHomeTab(originalCustomText.get("Home"), clientsAndAccountsHomepage);
verifyClientsAndAccountsTab(originalCustomText.get("Clients & Accounts"), clientsAndAccountsHomepage);
verifyClientsAndAccountsAdminTab(originalCustomText.get("admin"), clientsAndAccountsHomepage);
verifyClientsAndAccountsReportsTab(originalCustomText.get("reports"), clientsAndAccountsHomepage);
AdminPage adminPage = navigationHelper.navigateToAdminPage();
adminPage.navigateToDefineSavingsProduct();
verifyDefineNewSavingsProductText(originalCustomText.get("Complete the fields below."));
verifyDefineNewSavingsProductText(originalCustomText.get("Click Cancel to return"));
verifyDefineNewSavingsProductText(originalCustomText.get("Product category"));
verifyDefineNewSavingsProductTextDate(originalCustomText.get("Date"));
verifyDefineNewSavingsProductTextFields(originalCustomText.get("fields"));
verifyDefineNewSavingsProductText(originalCustomText.get("Targeted Deposits and Withdrawal Restrictions"));
verifyDefineNewSavingsProductTextDetails(originalCustomText.get("details"));
verifyDefineNewSavingsProductTextDescription(originalCustomText.get("description"));
verifyDefineNewSavingsProductTextDeposit(originalCustomText.get("recommended Amount for Deposit"));
AdminPage adminPageAgain = navigationHelper.navigateToAdminPage();
ChooseOfficePage chooseOfficePage = adminPageAgain.navigateToCreateUserPage();
chooseOfficePage.selectOffice("branch1");
verifyDefineNewSystemUserText(originalCustomText.get("Then click Preview"));
verifyDefineNewSystemUserText(originalCustomText.get("Fields marked with an asterisk are required."));
verifyDefineNewSystemUserText(originalCustomText.get("Date of Birth"));
verifyDefineNewSystemUserTextName(originalCustomText.get("Name"));
verifyDefineNewSystemUserText(originalCustomText.get("User"));
verifyDefineNewSystemUserText(originalCustomText.get("User Title"));
verifyDefineNewSystemUserText(originalCustomText.get("Login information"));
verifyDefineNewSystemUserTextFirst(originalCustomText.get("first"));
verifyDefineNewSystemUserTextPostal(originalCustomText.get("postal code"));
AdminPage goToAdminPage = navigationHelper.navigateToAdminPage();
goToAdminPage.navigateToCustomizeTextViewPage();
for (Entry<String, String> entry : originalCustomText.entrySet()) {
customizeTextViewPage.removeCustomizedText(entry.getKey());
}
Assert.assertThat(customizeTextViewPage.getCustomizedTextCount(), is(0));
ClientsAndAccountsHomepage clientsAndAccountsPage = navigationHelper.navigateToClientsAndAccountsPage();
verifyClientsAndAccountsCreateCenterLink("Create new Center", clientsAndAccountsPage);
verifyClientsAndAccountsCreateMultipleLoansLink("Create multiple Loan Accounts", clientsAndAccountsPage);
verifyClientsAndAccountsApproveMultipleLoansLink("Approve multiple loans", clientsAndAccountsPage);
verifyClientsAndAccountsCreateClientLink("Client", clientsAndAccountsPage);
verifyClientsAndAccountsCreateNewClientsText("Client");
verifyClientsAndAccountsCreateGroupLink(originalCustomText.get("create New group"), clientsAndAccountsPage);
verifyClientsAndAccountsCreateLoanAccountLink(originalCustomText.get("create Loan Account"), clientsAndAccountsPage);
verifyClientsAndAccountsHomeTab("Home", clientsAndAccountsPage);
verifyClientsAndAccountsTab("Clients & Accounts", clientsAndAccountsPage);
verifyClientsAndAccountsAdminTab(originalCustomText.get("admin"), clientsAndAccountsPage);
verifyClientsAndAccountsReportsTab(originalCustomText.get("reports"), clientsAndAccountsPage);
AdminPage adminHomePage = navigationHelper.navigateToAdminPage();
adminHomePage.navigateToDefineSavingsProduct();
verifyDefineNewSavingsProductText("Complete the fields below.");
verifyDefineNewSavingsProductText("Click Cancel to return");
verifyDefineNewSavingsProductText("Product category");
verifyDefineNewSavingsProductTextDate("Date");
verifyDefineNewSavingsProductTextFieldsRemoved("fields");
verifyDefineNewSavingsProductText("Targeted Deposits and Withdrawal Restrictions");
verifyDefineNewSavingsProductTextDetails("details");
verifyDefineNewSavingsProductTextDescription(originalCustomText.get("description"));
verifyDefineNewSavingsProductTextDeposit(originalCustomText.get("recommended Amount for Deposit"));
AdminPage adminHomePageAgain = navigationHelper.navigateToAdminPage();
adminHomePageAgain.navigateToCreateUserPage();
chooseOfficePage.selectOffice("branch1");
verifyDefineNewSystemUserText("Then click Preview");
verifyDefineNewSystemUserText("Fields marked with an asterisk are required.");
verifyDefineNewSystemUserText("Date of Birth");
verifyDefineNewSystemUserTextNameRemoved("Name");
verifyDefineNewSystemUserText("User");
verifyDefineNewSystemUserText("User Title");
verifyDefineNewSystemUserText("Login information");
verifyDefineNewSystemUserTextFirst(originalCustomText.get("first"));
verifyDefineNewSystemUserTextPostal(originalCustomText.get("postal code"));
}
use of org.mifos.test.acceptance.framework.ClientsAndAccountsHomepage in project head by mifos.
the class DefineHiddenMandatoryFieldsTest method verifyHiddenFields.
/**
* Verify Hidden Fields
* http://mifosforge.jira.com/browse/MIFOSTEST-1182
*
* @throws Exception
*/
@Test(enabled = true)
@SuppressWarnings("PMD")
public void verifyHiddenFields() {
//When
AdminPage adminPage = navigationHelper.navigateToAdminPage();
DefineHiddenMandatoryFieldsPage defineHiddenMandatoryFieldsPage = adminPage.navigateToDefineHiddenMandatoryFields();
defineHiddenMandatoryFieldsPage.uncheckMandatoryPovertyStatus();
defineHiddenMandatoryFieldsPage.checkHideExternalId();
defineHiddenMandatoryFieldsPage.checkHideEthnicity();
defineHiddenMandatoryFieldsPage.checkHideCitizenShip();
defineHiddenMandatoryFieldsPage.checkHideHandicapped();
defineHiddenMandatoryFieldsPage.checkHideEducationLevel();
defineHiddenMandatoryFieldsPage.checkHidePhoto();
defineHiddenMandatoryFieldsPage.checkHideAssignClientPostions();
defineHiddenMandatoryFieldsPage.checkHideAddress2();
defineHiddenMandatoryFieldsPage.checkHideAddress3();
defineHiddenMandatoryFieldsPage.checkHideCity();
defineHiddenMandatoryFieldsPage.checkHideState();
defineHiddenMandatoryFieldsPage.checkHideCountry();
defineHiddenMandatoryFieldsPage.checkHidePostalCode();
defineHiddenMandatoryFieldsPage.checkHideReceiptIdDate();
defineHiddenMandatoryFieldsPage.checkHideCollateralTypeNotes();
defineHiddenMandatoryFieldsPage.checkHideMiddleName();
defineHiddenMandatoryFieldsPage.checkHideSecondLastName();
defineHiddenMandatoryFieldsPage.checkHideGovtId();
defineHiddenMandatoryFieldsPage.checkHideRelativeMiddleName();
defineHiddenMandatoryFieldsPage.checkHideRelativeSecondLastName();
defineHiddenMandatoryFieldsPage.checkHidePhone();
defineHiddenMandatoryFieldsPage.checkHideTrained();
defineHiddenMandatoryFieldsPage.checkHideBusinessWorkActivities();
defineHiddenMandatoryFieldsPage.checkHidePovertyStatus();
defineHiddenMandatoryFieldsPage.checkHideGroupTrained();
adminPage = defineHiddenMandatoryFieldsPage.submit();
CreateClientEnterPersonalDataPage createClientEnterPersonalDataPage = adminPage.navigateToClientsAndAccountsPageUsingHeaderTab().navigateToCreateNewClientPage().navigateToCreateClientWithoutGroupPage().chooseOffice("MyOfficeDHMFT");
//Then
Assert.assertFalse(selenium.isElementPresent("create_ClientPersonalInfo.input.spouseSecondLastName"));
Assert.assertFalse(selenium.isElementPresent("create_ClientPersonalInfo.input.middleName"));
Assert.assertFalse(selenium.isElementPresent("create_ClientPersonalInfo.input.secondLastName"));
Assert.assertFalse(selenium.isElementPresent("create_ClientPersonalInfo.input.governmentId"));
Assert.assertFalse(selenium.isElementPresent("clientDetailView.citizenship"));
Assert.assertFalse(selenium.isElementPresent("clientDetailView.ethnicity"));
Assert.assertFalse(selenium.isElementPresent("clientDetailView.educationLevel"));
Assert.assertFalse(selenium.isElementPresent("clientDetailView.businessActivities"));
Assert.assertFalse(selenium.isElementPresent("clientDetailView.povertyStatus"));
Assert.assertFalse(selenium.isElementPresent("clientDetailView.handicapped"));
Assert.assertFalse(selenium.isElementPresent("create_ClientPersonalInfo.input.spouseMiddleName"));
Assert.assertFalse(selenium.isElementPresent("create_ClientPersonalInfo.input.address2"));
Assert.assertFalse(selenium.isElementPresent("create_ClientPersonalInfo.input.address3"));
Assert.assertFalse(selenium.isElementPresent("create_ClientPersonalInfo.input.city"));
Assert.assertFalse(selenium.isElementPresent("create_ClientPersonalInfo.input.state"));
Assert.assertFalse(selenium.isElementPresent("create_ClientPersonalInfo.input.country"));
Assert.assertFalse(selenium.isElementPresent("create_ClientPersonalInfo.input.postalCode"));
Assert.assertFalse(selenium.isElementPresent("create_ClientPersonalInfo.input.telephone"));
CreateClientEnterPersonalDataPage.SubmitFormParameters params = new CreateClientEnterPersonalDataPage.SubmitFormParameters();
params.setSalutation(47);
params.setFirstName("Client");
params.setLastName("Test");
params.setDateOfBirthDD("11");
params.setDateOfBirthMM("02");
params.setDateOfBirthYYYY("1981");
params.setGender(49);
createClientEnterPersonalDataPage.createWithoutSpouse(params);
createClientEnterPersonalDataPage.submitAndGotoCreateClientEnterMfiDataPage();
Assert.assertFalse(selenium.isElementPresent("trained"));
Assert.assertFalse(selenium.isElementPresent("trainedDateDD"));
ClientsAndAccountsHomepage clientsAndAccountsHomepage = navigationHelper.navigateToClientsAndAccountsPage();
CreateLoanAccountSearchPage createLoanAccountSearchPage = clientsAndAccountsHomepage.navigateToCreateLoanAccountUsingLeftMenu();
CreateLoanAccountSearchParameters params2 = new CreateLoanAccountSearchParameters();
params2.setSearchString("ClientWithLoan");
params2.setLoanProduct("ClientEmergencyLoan");
createLoanAccountSearchPage.searchAndNavigateToCreateLoanAccountPage(params2);
Assert.assertFalse(selenium.isElementPresent("collateralTypeId"));
Assert.assertFalse(selenium.isElementPresent("collateralNotes"));
Assert.assertFalse(selenium.isElementPresent("externalId"));
navigationHelper.navigateToClientsAndAccountsPage();
CreateGroupSearchPage createGroupSearchPage = clientsAndAccountsHomepage.navigateToCreateNewGroupPage();
createGroupSearchPage.searchAndNavigateToCreateGroupPage("Default Center");
Assert.assertFalse(selenium.isElementPresent("trained"));
Assert.assertFalse(selenium.isElementPresent("trainedDateDD"));
// restore original configuration
defineHiddenMandatoryFieldsPage = navigationHelper.navigateToAdminPage().navigateToDefineHiddenMandatoryFields();
defineHiddenMandatoryFieldsPage.uncheckHideExternalId();
defineHiddenMandatoryFieldsPage.uncheckHideEthnicity();
defineHiddenMandatoryFieldsPage.uncheckHideCitizenShip();
defineHiddenMandatoryFieldsPage.uncheckHideHandicapped();
defineHiddenMandatoryFieldsPage.uncheckHideEducationLevel();
defineHiddenMandatoryFieldsPage.uncheckHidePhoto();
defineHiddenMandatoryFieldsPage.uncheckHideAssignClientPostions();
defineHiddenMandatoryFieldsPage.uncheckHideAddress2();
defineHiddenMandatoryFieldsPage.uncheckHideAddress3();
defineHiddenMandatoryFieldsPage.uncheckHideCity();
defineHiddenMandatoryFieldsPage.uncheckHideState();
defineHiddenMandatoryFieldsPage.uncheckHideCountry();
defineHiddenMandatoryFieldsPage.uncheckHidePostalCode();
defineHiddenMandatoryFieldsPage.uncheckHideReceiptIdDate();
defineHiddenMandatoryFieldsPage.uncheckHideCollateralTypeNotes();
defineHiddenMandatoryFieldsPage.uncheckHideMiddleName();
defineHiddenMandatoryFieldsPage.uncheckHideSecondLastName();
defineHiddenMandatoryFieldsPage.uncheckHideGovtId();
defineHiddenMandatoryFieldsPage.uncheckHidePovertyStatus();
defineHiddenMandatoryFieldsPage.uncheckHideRelativeMiddleName();
defineHiddenMandatoryFieldsPage.uncheckHideRelativeSecondLastName();
defineHiddenMandatoryFieldsPage.uncheckHidePhone();
defineHiddenMandatoryFieldsPage.uncheckHideTrained();
defineHiddenMandatoryFieldsPage.uncheckHideBusinessWorkActivities();
defineHiddenMandatoryFieldsPage.uncheckHideGroupTrained();
defineHiddenMandatoryFieldsPage.checkMandatoryPovertyStatus();
defineHiddenMandatoryFieldsPage.submit();
}
use of org.mifos.test.acceptance.framework.ClientsAndAccountsHomepage in project head by mifos.
the class DefineHiddenMandatoryFieldsTest method verifyMandatoryFields.
/**
* Verify Mandatory Fields
* http://mifosforge.jira.com/browse/MIFOSTEST-1181
*
* @throws Exception
*/
@Test(enabled = true)
@SuppressWarnings("PMD")
public void verifyMandatoryFields() {
//When
AdminPage adminPage = navigationHelper.navigateToAdminPage();
DefineHiddenMandatoryFieldsPage defineHiddenMandatoryFieldsPage = adminPage.navigateToDefineHiddenMandatoryFields();
defineHiddenMandatoryFieldsPage.checkMandatoryExternalId();
defineHiddenMandatoryFieldsPage.checkMandatoryEthnicity();
defineHiddenMandatoryFieldsPage.checkMandatoryCitizenShip();
defineHiddenMandatoryFieldsPage.checkMandatoryHandicapped();
defineHiddenMandatoryFieldsPage.checkMandatoryEducationLevel();
// TODO: we cannot make photo as a mandatory one, because we cannot upload images in selenium tests
//defineHiddenMandatoryFieldsPage.checkMandatoryPhoto();
defineHiddenMandatoryFieldsPage.checkMandatoryAddress1();
defineHiddenMandatoryFieldsPage.checkMandatoryMiddleName();
defineHiddenMandatoryFieldsPage.checkMandatorySecondLastName();
defineHiddenMandatoryFieldsPage.checkMandatoryGovtId();
defineHiddenMandatoryFieldsPage.checkMandatoryMaritalStatus();
defineHiddenMandatoryFieldsPage.checkMandatoryRelativeSecondLastName();
defineHiddenMandatoryFieldsPage.checkMandatoryPhone();
defineHiddenMandatoryFieldsPage.checkMandatoryTrained();
defineHiddenMandatoryFieldsPage.checkMandatoryTrainedOn();
defineHiddenMandatoryFieldsPage.checkMandatoryNumberOfChildren();
defineHiddenMandatoryFieldsPage.checkMandatoryLoanAccountPurpose();
defineHiddenMandatoryFieldsPage.checkMandatoryLoanSourceOfFund();
adminPage = defineHiddenMandatoryFieldsPage.submit();
CreateClientEnterPersonalDataPage createClientEnterPersonalDataPage = adminPage.navigateToClientsAndAccountsPageUsingHeaderTab().navigateToCreateNewClientPage().navigateToCreateClientWithoutGroupPage().chooseOffice("MyOfficeDHMFT");
//Then
Assert.assertTrue(selenium.isTextPresent("*Middle Name"));
Assert.assertTrue(selenium.isTextPresent("*Second Last Name"));
Assert.assertTrue(selenium.isTextPresent("*Government ID"));
Assert.assertTrue(selenium.isTextPresent("*Marital Status"));
Assert.assertTrue(selenium.isTextPresent("*Number Of Children"));
Assert.assertTrue(selenium.isTextPresent("*Citizenship"));
Assert.assertTrue(selenium.isTextPresent("*Ethnicity"));
Assert.assertTrue(selenium.isTextPresent("*Education Level"));
Assert.assertTrue(selenium.isTextPresent("*Handicapped"));
Assert.assertTrue(selenium.isTextPresent("*Address 1"));
Assert.assertTrue(selenium.isTextPresent("*Poverty Status"));
CreateClientEnterPersonalDataPage.SubmitFormParameters params3 = new CreateClientEnterPersonalDataPage.SubmitFormParameters();
params3.setSalutation(47);
params3.setFirstName("Client");
params3.setMiddleName("Middle");
params3.setLastName("Test");
params3.setSecondLastName("Second");
params3.setGovernmentID("12345");
params3.setMaritalStatus(67);
params3.setCitizenship(131);
params3.setEthnicity(133);
params3.setHandicappedDropdown(139);
params3.setPovertyStatus(42);
params3.setEducationLevel(135);
params3.setSpouseLastName("LastName");
params3.setAddress1("address1");
params3.setNumberOfChildren("2");
params3.setDateOfBirthDD("11");
params3.setDateOfBirthMM("02");
params3.setDateOfBirthYYYY("1981");
params3.setGender(49);
params3.setPhone("123456");
params3.setSpouseNameType(2);
createClientEnterPersonalDataPage.createWithMandatoryFields(params3);
createClientEnterPersonalDataPage.submitAndGotoCreateClientEnterMfiDataPage();
Assert.assertTrue(selenium.isTextPresent("*External Id"));
Assert.assertTrue(selenium.isTextPresent("*Trained"));
Assert.assertTrue(selenium.isTextPresent("*Trained On Date"));
ClientsAndAccountsHomepage clientsAndAccountsHomepage = navigationHelper.navigateToClientsAndAccountsPage();
CreateLoanAccountSearchPage createLoanAccountSearchPage = clientsAndAccountsHomepage.navigateToCreateLoanAccountUsingLeftMenu();
CreateLoanAccountSearchParameters params4 = new CreateLoanAccountSearchParameters();
params4.setSearchString("ClientWithLoan");
params4.setLoanProduct("ClientEmergencyLoan");
createLoanAccountSearchPage.searchAndNavigateToCreateLoanAccountPage(params4);
Assert.assertTrue(selenium.isTextPresent("*External id"));
navigationHelper.navigateToClientsAndAccountsPage();
CreateGroupSearchPage createGroupSearchPage = clientsAndAccountsHomepage.navigateToCreateNewGroupPage();
createGroupSearchPage.searchAndNavigateToCreateGroupPage("Default Center");
Assert.assertTrue(selenium.isTextPresent("*External Id"));
// restore original configuration
defineHiddenMandatoryFieldsPage = navigationHelper.navigateToAdminPage().navigateToDefineHiddenMandatoryFields();
defineHiddenMandatoryFieldsPage.uncheckMandatoryExternalId();
defineHiddenMandatoryFieldsPage.uncheckMandatoryEthnicity();
defineHiddenMandatoryFieldsPage.uncheckMandatoryCitizenShip();
defineHiddenMandatoryFieldsPage.uncheckMandatoryHandicapped();
defineHiddenMandatoryFieldsPage.uncheckMandatoryEducationLevel();
//defineHiddenMandatoryFieldsPage.uncheckMandatoryPhoto();
defineHiddenMandatoryFieldsPage.uncheckMandatoryAddress1();
defineHiddenMandatoryFieldsPage.uncheckMandatoryMiddleName();
defineHiddenMandatoryFieldsPage.uncheckMandatorySecondLastName();
defineHiddenMandatoryFieldsPage.uncheckMandatoryGovtId();
defineHiddenMandatoryFieldsPage.uncheckMandatoryMaritalStatus();
defineHiddenMandatoryFieldsPage.uncheckMandatoryRelativeSecondLastName();
defineHiddenMandatoryFieldsPage.uncheckMandatoryPhone();
defineHiddenMandatoryFieldsPage.uncheckMandatoryTrained();
defineHiddenMandatoryFieldsPage.uncheckMandatoryTrainedOn();
defineHiddenMandatoryFieldsPage.uncheckMandatoryNumberOfChildren();
defineHiddenMandatoryFieldsPage.uncheckMandatoryLoanAccountPurpose();
defineHiddenMandatoryFieldsPage.uncheckMandatoryLoanSourceOfFund();
defineHiddenMandatoryFieldsPage.submit();
}
use of org.mifos.test.acceptance.framework.ClientsAndAccountsHomepage in project head by mifos.
the class AdditionalHolidayTest method navigateToCreateLoanAccountSearchPage.
private CreateLoanAccountSearchPage navigateToCreateLoanAccountSearchPage() {
LoginPage loginPage = appLauncher.launchMifos();
loginPage.verifyPage();
HomePage homePage = loginPage.loginSuccessfullyUsingDefaultCredentials();
ClientsAndAccountsHomepage clientsAndAccountsPage = homePage.navigateToClientsAndAccountsUsingHeaderTab();
return clientsAndAccountsPage.navigateToCreateLoanAccountUsingLeftMenu();
}
Aggregations