Hi, 

I've created a patch for issue 1622 (1622.patch) which I've attached to 
the issue tracker.

For further details: 
https://mifos.dev.java.net/issues/show_bug.cgi?id=1622

Note, I've also included a selenium test (Issue1622.htm) to the issue 
tracker that will verify that the patch works. It assumes that the 
database is in a clean state, that is, it was built using 'ant build_db'.

Note, this patch includes database changes, which affects the following 
files:
src/org/mifos/framework/persistence/DatabaseVersionPersistence.java
sql/latest-data.sql
sql/latest-schema.sql
sql/mifosdroptables.sql
sql/mifosmasterdata.sql
sql/upgrade_to_174.sql
sql/downgrade_from_174.sql

I am not entirely sure what happens when there are other patches awaiting 
approval, which also contain database changes.
For example, this patch will conflict with patch 1621. Should the patches 
be merged?

Cheers 
Chico

Title: Issue1622
Issue1622
open /mifos/loginAction.do?method=load
type userName mifos
type password testmifos
clickAndWait //[EMAIL PROTECTED]'Login']
clickAndWait link=Admin
clickAndWait link=Define Lookup Options
clickAndWait btnAddAttendance
type lookupValue W
clickAndWait submitButton
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 Center
clickAndWait link=BranchOffice1
type displayName Center1
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=Create new Group
type searchString center1
clickAndWait //[EMAIL PROTECTED]'Search']
clickAndWait link=Center1
type displayName Group1
clickAndWait //[EMAIL PROTECTED]'Preview']
clickAndWait submitBtn2
clickAndWait //a[contains(text(),'View
    Group
                    details
                    now')]
clickAndWait //a[contains(text(),'Edit
Group
status')]
click document.editCustomerStatusActionForm.newStatusId[1]
type notes Activated
clickAndWait //[EMAIL PROTECTED]'Preview']
clickAndWait btn
clickAndWait link=Clients & Accounts
clickAndWait link=Create new Client
type searchString group1
clickAndWait //[EMAIL PROTECTED]'Proceed']
clickAndWait link=Group1
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']
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-000000003
select prdOfferingId label=LoanProduct1
clickAndWait continueBtn
clickAndWait continueButton
clickAndWait //[EMAIL PROTECTED]'Preview']
clickAndWait submitForApprovalButton
clickAndWait //a[contains(text(),'View
Loan
account details now')]
clickAndWait link=Edit account status
click document.editStatusActionForm.newStatusId[1]
type notes Activated
clickAndWait //[EMAIL PROTECTED]'Preview']
clickAndWait btn
clickAndWait link=Enter Collection Sheet Data
select officeId label=BranchOffice1
select loanOfficerId label=Loan Officer
selectAndWait customerId label=Center1
select paymentId label=Cash
clickAndWait //[EMAIL PROTECTED]'Continue']
select attendenceSelected[0] label=W
clickAndWait //[EMAIL PROTECTED]'Preview']
clickAndWait submitBttn
clickAndWait link=Logout

Attachment: 1622.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