Hi,

I've created a patch for issue 1651 (1651.patch) and attached it to the 
issue tracker.
Since the patch is a simple change in loanaccountdetail.jsp, I didn't run 
the full java unit tests, although I of course ran the selenium test.

For further details:
Issue Tracker: https://mifos.dev.java.net/issues/show_bug.cgi?id=1651
Mingle Card: http://mingle.mifos.org:7070/projects/mifos/cards/259 

Note, run the selenium test attached to the issue tracker (Issue1651.htm) 
to verify that the patch works. It assumes the database is in a clean 
state, that is, it was built using 'ant build_db'.

Cheers
Chico

Title: Issue1651
Issue1651
open /mifos/loginAction.do?method=load
type userName mifos
type password testmifos
clickAndWait //[EMAIL PROTECTED]'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 //[EMAIL PROTECTED]'Preview']
clickAndWait //[EMAIL PROTECTED]'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 tester
type userPassword tester
type passwordRepeat tester
clickAndWait //[EMAIL PROTECTED]'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 5
type defNoInstallments 5
select interestGLCode label=5001
select principalGLCode label=1503
clickAndWait //[EMAIL PROTECTED]'Preview']
clickAndWait submitBut
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 //[EMAIL PROTECTED]'Continue']
select loanOfficerId label=Loan Officer
clickAndWait link=Schedule Meeting
type recurWeek 1
select weekDay label=Monday
type meetingPlace MeetingLocation
clickAndWait //[EMAIL PROTECTED]'Save']
clickAndWait //[EMAIL PROTECTED]'Preview']
clickAndWait submitButton
clickAndWait link=View Client details now
clickAndWait //a[contains(text(),'Edit
Client
status')]
click document.editCustomerStatusActionForm.newStatusId[1]
type notes Activated
clickAndWait //[EMAIL PROTECTED]'Preview']
clickAndWait btn
clickAndWait link=Create Loan Account
type 111 c
clickAndWait searchButton
clickAndWait link=Client Client1:ID0002-000000001
select prdOfferingId label=LoanProduct1
clickAndWait continueBtn
select businessActivityId label=0000-Animal Husbandry
select collateralTypeId label=Type 1
clickAndWait continueButton
clickAndWait previewBtn
clickAndWait submitForApprovalButton
clickAndWait //a[contains(text(),'View
Loan
account details now')]
clickAndWait link=Edit account information
click editDetailsBtn

Attachment: 1651.patch
Description: Binary data

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Reply via email to