Issue1635 | ||
open | /mifos/loginAction.do | |
type | userName | mifos |
type | password | testmifos |
clickAndWait | //input[@value='Login'] | |
clickAndWait | link=Admin | |
clickAndWait | link=Define a new office | |
type | officeName | BranchOffice1 |
type | shortName | BO1 |
selectAndWait | officeLevel | label=Branch Office |
select | parentOfficeId | label=Head Office(Mifos HO ) |
clickAndWait | //input[@value='Preview'] | |
clickAndWait | //input[@value='Submit'] | |
clickAndWait | link=Admin | |
clickAndWait | link=Define new system user | |
clickAndWait | link=BranchOffice1 | |
type | firstName | Loan |
type | lastName | Officer |
type | dobDD | 01 |
type | dobMM | 01 |
type | dobYY | 2001 |
select | gender | label=Male |
select | level | label=Loan Officer |
type | loginName | loanofficer |
type | userPassword | loanofficer |
type | passwordRepeat | loanofficer |
clickAndWait | //input[@value='Preview'] | |
clickAndWait | submitBtn | |
clickAndWait | link=Admin | |
clickAndWait | //a[contains(text(),'Define new Loan product')] |
|
type | prdOfferingName | LoanProduct1 |
type | prdOfferingShortName | LP1 |
select | prdCategory | label=Other |
select | prdApplicableMaster | label=Clients |
type | minLoanAmount | 0 |
type | maxLoanAmount | 10 |
type | defaultLoanAmount | 10 |
select | interestTypes | label=Flat |
type | maxInterestRate | 5 |
type | minInterestRate | 0 |
type | defInterestRate | 5 |
click | freqOfInstallments | |
type | maxNoInstallments | 1 |
type | defNoInstallments | 1 |
select | interestGLCode | label=5001 |
select | principalGLCode | label=1503 |
clickAndWait | //input[@value='Preview'] | |
clickAndWait | submitBut | |
clickAndWait | link=Admin | |
clickAndWait | link=Define questions | |
type | value(shortName) | Question1 |
type | value(questionText) | What is a frinkahedron |
select | answerType | label=Free text |
clickAndWait | AddQuestionButton | |
clickAndWait | //button[@id='AddQuestionButton' and @onclick="submitQuestionForm('createQuestions')"] | |
clickAndWait | link=Admin | |
clickAndWait | link=Define new survey | |
type | value(name) | Survey1 |
select | value(appliesTo) | label=Loan accounts |
select | value(newQuestion) | label=Question1 |
clickAndWait | AddButton | |
click | value(mandatory_1) | |
clickAndWait | button | |
clickAndWait | button | |
clickAndWait | link=Admin | |
clickAndWait | link=Clients & Accounts | |
clickAndWait | link=Create new Client | |
clickAndWait | link=Click here to continue if Group membership is not required for your Client. | |
clickAndWait | link=BranchOffice1 | |
select | clientName.salutation | label=Mr |
type | clientName.firstName | Client |
type | clientName.lastName | Client1 |
type | dateOfBirthDD | 01 |
type | dateOfBirthMM | 01 |
type | dateOfBirthYY | 2001 |
select | clientDetailView.gender | label=Male |
select | clientDetailView.povertyStatus | label=Non-poor |
select | spouseName.nameType | label=Father |
type | spouseName.firstName | Father |
type | spouseName.lastName | Client1 |
clickAndWait | //input[@value='Continue'] | |
select | formedByPersonnel | label=Loan Officer |
select | loanOfficerId | label=Loan Officer |
clickAndWait | link=Schedule Meeting | |
type | recurWeek | 1 |
select | weekDay | label=Monday |
type | meetingPlace | MeetingLocation |
clickAndWait | //input[@value='Save'] | |
clickAndWait | //input[@value='Preview'] | |
clickAndWait | submitButton | |
clickAndWait | link=Clients & Accounts | |
type | searchString | c |
clickAndWait | //input[@value='Search'] | |
clickAndWait | link=Client Client1: ID 0003-000000003 | |
clickAndWait | //a[contains(text(),'Edit Client status')] |
|
click | document.editCustomerStatusActionForm.newStatusId[1] | |
type | notes | approved |
clickAndWait | //input[@value='Preview'] | |
clickAndWait | btn | |
clickAndWait | link=Loan | |
select | prdOfferingId | label=LoanProduct1 |
clickAndWait | continueBtn | |
clickAndWait | continueButton | |
clickAndWait | previewBtn | |
clickAndWait | submitForApprovalButton | |
clickAndWait | //a[contains(text(),'View Loan account details now')] |
|
clickAndWait | link=Edit account status | |
click | document.editStatusActionForm.newStatusId[1] | |
type | notes | approved |
clickAndWait | //input[@value='Preview'] | |
clickAndWait | btn | |
assertTextPresent | Application Approved | |
clickAndWait | link=Attach a survey | |
assertTextPresent | type Exception report |