To stay inline with the patch process, I'm resending this with the patch 
and its corresponding selenium test attached.

Cheers
Chico






Chico Charlesworth/Ireland/Contr/[EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
02/18/2008 03:54 PM
Please respond to
Developer <[email protected]>


To
[email protected]
cc

Subject
[Mifos-developer] Issue 1621 Patch and Selenium Test







Hi, 

I've created a patch for issue 1621 and attached it to the issue tracker. 

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

Note, I also included a selenium test to the issue tracker that will 
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
-------------------------------------------------------------------------
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/
Title: Issue1621
Issue1621
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 btnAddCollateralType
type lookupValue Type 3
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 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 3
clickAndWait continueButton
clickAndWait previewBtn
verifyTextPresent Type 3
clickAndWait submitForApprovalButton
clickAndWait //a[contains(text(),'View
Loan
account details now')]
verifyTextPresent Type 3
clickAndWait link=Logout

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