Professional Documents
Culture Documents
Use Case Name Domain Insurance Complexity Low: Investment Portfolio
Use Case Name Domain Insurance Complexity Low: Investment Portfolio
Domain Insurance
Complexity Low
Investment Portfolio
Liberty Groups - Insurance
Investment Portfolio
Liberty Groups - Insurance
Note: The use case does not support creating new agent. The existing agent can able to create new
proposal for a customer in the application.
Login
Home Page
o List of Customer Investment Policy sold by Agent
o Create a New Customer Investment policies.
View Policy Details
2. Functionality
The application provides a facility to create a new investment polices by the Agent for a customer and
view the list of policy created by Agent. The application gives the snapshot of the details of the
investment policies of a customer held by the agent.
Investment Portfolio
Liberty Groups - Insurance
Agent ID Password
Agent01 Pa55word
Agent02 Pa55word
Default selection:
Title:
Mr.
Mrs.
Default selection:
Gender:
Male
Female
Default selection:
Investment Portfolio
Liberty Groups - Insurance
First 3 Characters should always be fixed as INS and an incremental policy number to be
generated by incrementing the last digit
v. Investment Amount format: Whole number with a maximum of six digits where value
should be greater than 99 and less than or equal to 100000. Ex: 100000 and minimum
length of three digits Example: 100
vi. Preferred Retirement Age: Whole number with minimum of 2 digits where value should be
greater than 55 and less than 65. For example:56
vii. Proposal Year: Should be a running number from 1 to premium paying term
Ex: Premium paying term is 5 then Proposal year should be 1,2,3,4,5
viii. Illustration Details are given below:
Sample Data:
Customer Name: Ramakrishnan Subramanian
Preferred retirement age = 65
DOB = 23.03.1979
Current Date = 05.11.2019
Current Age in years = Current year – DOB year
Investment Portfolio
Liberty Groups - Insurance
In the above table, yearly product fund values are calculated as per the below
business logic.
Example:
Yearly Growth Value = (10000 * 0.062) + 10000 = 10620
Yearly Product Fund Value = 10620 + (1*10620*0.03) = 10938
Note: Please ignore decimal values after calculations
For e.g., the actual value is: 10938.6, but we consider it as 10938
Investment Portfolio
Liberty Groups - Insurance
Example:
Previous Year Fund Value = 10938
Yearly Growth Value = (10938*0.062) + 10938 = 11616
Yearly Product Fund Value = 11616 + (2*11616*0.03) = 12312
Note: Please ignore decimal values after calculations
For 3rd Year:
Yearly Growth Value = (Previous Year Fund Value * Constant P1 growth) + Previous Year Fund
Value
Yearly Product Fund Value = Yearly Growth Value + (Proposal year * Yearly Growth Value*3%)
Example:
Previous Year Fund Value = 12312
Yearly Growth Value = (12312*0.062) + 12312 = 13075
Yearly Product Fund Value = 13075 + (3*13075*0.03) = 14251
Investment Portfolio
Liberty Groups - Insurance
Example:
Yearly Growth Value = (10000*0.038) + 10000 = 10380
Yearly Product Fund Value = 10380 + (1*10380*0.06) = 11002
Note: Please ignore decimal values after calculations
For 2nd Year:
Yearly Growth Value = (Previous Year Fund Value * Constant P2 growth) + Previous Year Fund
Value
Yearly Product Fund Value = Yearly Growth Value + (Proposal year * Yearly Growth Value * 6%)
Example:
Last Year Fund Value = 11002
Yearly Growth Value = (11002*0.038) + 11002 = 11420
Yearly Product Fund Value = 11420 + (2*11420*0.06) = 12790
Note: Please ignore decimal values after calculations
For 3rd Year:
Last Year Fund Value = 12790
Yearly Growth Value = (12790*0.038) + 12790= 13276
Yearly Product Fund Value = 13276+ (3*13276*0.06) = 15665
Note: Please ignore decimal values after calculations
Investment Portfolio
Liberty Groups - Insurance
Java: http://localhost:8080/investmentportfolio/login
5. UI Screens / Pages
Please read the below points carefully before you start the development of the use case.
Investment Portfolio
Liberty Groups - Insurance
Investment Portfolio
Liberty Groups - Insurance
HTML
Field / Page Validation
Element Required Identifier Remarks
attribute Message
Type
URL http://host:port/contextroot/Login
Title of the page Investment Portfolio - Login
Agent Id Label
Please refer the Design
Invalid
Agent Id Text Box Yes id=”agentID” considerations/Assumptions section for
Credentials
Sample Agent Id.
Password Label
Investment Portfolio
Liberty Groups - Insurance
b. Home page
On page load, if there are customers with proposals exists for the logged-in agent, home page will
display the customer list in the Ascending Order based on the Policy Number.
Home page is shown with no customers when the agent logs-in for the first time or if there are no
proposals/customers exists for the logged-in agent.
Investment Portfolio
Liberty Groups - Insurance
Policy Search
Policy Number
Search
First Name Last Name
No Customers Found
Investment Portfolio
Liberty Groups - Insurance
Policy Search
Policy Number
Investment Portfolio
Liberty Groups - Insurance
Investment Portfolio
Liberty Groups - Insurance
For e.g.:
Id=”dob1” for row 1 <label id=”dob1”>12-11-1976</label>
DOB Label Yes
Id=”dob2” for row 2 <label id=”dob2”>25-10-2005</label>
For e.g.:
Id=”gender1” for row 1 <label id=”gender1”>Male</label>
Gender Label Yes
Id=”gender2” for row 2 <label id=”gender2”>Male</label>
Id=”btnCustomerDetails1” for
Customer row 1 Click on this button should navigate to
Button Yes
Portfolio Details Id=” btnCustomerDetails2” for Customer Portfolio details page.
row 2
Id=”btnIllustrate1” for row 1 Click on this button should navigate to
Illustrate Button Yes
Id=” btnIllustrate2” for row 2 Illustrate the proposal for the customer.
Show this div with message “No Customers
No customers Div Id=”noCustomers”
Found”
Click on this button should navigate to Add
AddProposal Button Yes Id=”btnAddProposal”
proposal page for a customer.
Label /
Policy Search
heading
Policy number Label
Policy number Text Box Yes Id=”policyNumber” Please refer design consideration /
assumptions section for Policy Number format
If user enter partial Policy Number, it should
not return the matching results of a customer
Investment Portfolio
Liberty Groups - Insurance
FirstName Label
Please refer design consideration /
assumptions section for FirstName format
If user enter partial Customer First name it
FirstName TextBox Yes Id=”firstName” should return the matching results.
E.g.: “Ramki” should not return results with
Ramakrishnan or Ramachandran but “Rama”
should return Ramakrishnan
LastName Label
Please refer design consideration /
assumptions section for Last Name format
If user enter partial Last Name, it should
return the matching results.
LastName Text Box Yes Id=”lastName”
E.g.: “Chandi” should not return results with
Chandrasekaran or Chandrakanth but search
on “Chand” should return Chandrasekaran or
Chandrakanth
Click on the button should display the results
based on matching search criteria where
values are not blank as defined in the fields
above. If user enters multiple search fields, it
Search Button Yes Id=”btnSearch” does an “AND” operation returns matching
data only which matches all the search
criteria. If no records found it should display a
message “No Customers Found” in div
tag/element.
DIV tag to display the error message:
Error Message div id=”error”
No Customers Found
Investment Portfolio
Liberty Groups - Insurance
HTML Re Validation
Field / Page
Element qui Identifier Message Remarks
attribute
Type red
URL http://host:port/contextroot/AddProposal
Title of the page Customer Investment Portfolio – Add Proposal
Product Name Label
Investment Portfolio
Liberty Groups - Insurance
DOB Label
Invalid Details Please refer design consideration /
DOB Text Box Yes Id=”dob”
assumptions section for DOB format
Gender Label
Gender Dropdown Yes Id=”gender” Invalid Details Please refer design consideration /
Investment Portfolio
Liberty Groups - Insurance
Investment Portfolio
Liberty Groups - Insurance
Agent ID Logout
Product Selection
10000
Product Name Product 1 Investment Amount
22-10-2019 22-10-2019
Creation Date Effective Date
Client Details
Mr Aravind Arulmozhi
Title First Name Last Name
Back Illustrate
HTML
Field / Page Requir
Element Identifier Remarks
attribute ed
Type
URL http://host:port/contextroot/CustomerPortfolioDetails
Title Customer Investment Portfolio – Customer Portfolio Details
FirstName Label
FirstName Label Yes Id=”firstName” Display the first name
LastName Label
LastName Label Yes Id=”lastName” Display last name
Investment
Label
Amount
Investment Label Yes Id=”investmentAmount” Display Investment Amount format
Investment Portfolio
Liberty Groups - Insurance
a. Illustration page
This page shows the Illustration details for a customer. We are showing only few rows in the below
screenshot as a mock-up. The actual number of rows depends on the premium paying term which
depends on the retirement age and date of birth. The complete details are provided in design
considerations / assumptions section.
Investment Portfolio
Liberty Groups - Insurance
Agent ID Logout
Aravind Arulmozhi 25
Customer Name Premium Paying Term
10000
Product Name Product 1 Investment Amount
1 10938
2 12312
3 14251
4 16240
5 17236
6 19235
Back
HTML
Field / Page Requir
Element Identifier Remarks
attribute ed
Type
URL http://host:port/contextroot/IllustrationDetails
Title Customer Investment Portfolio – Illustration Details
Customer Name Label
Customer Name Label Yes Id=”customerName”
Premium Paying
Label
Term
Premium Paying Label Yes Id=”premiumPayingTerm” Please refer design consideration /
Term assumptions section for Premium paying
Investment Portfolio
Liberty Groups - Insurance
Investment Portfolio
Liberty Groups - Insurance
Investment Portfolio
Liberty Groups - Insurance