Anda di halaman 1dari 240

HC VIN QUC T FPT

FPT-ACADEMY INTERNATIONAL
_____________________________________________________

MySweetHome
Developments Guide

Faculty: Kieu Trong Khanh


Batch No: 2005-0709 Y2
Group No: 1
Student:
No
1
2
3
4

Full Name
Le Viet Truc
Nguyen Hai Dang
Pham Viet Hien
Tran Thanh Duy

Roll No
VN.033/200606/0259
VN.033/200605/0242
VN.033/200606/0253
VN.033/200606/0255

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

Table of contents
Table of contents......................................................................................................................... 2
Review 1..................................................................................................................................... 3
1. Introduction............................................................................................................................ 4
2. Existing Scenario................................................................................................................... 4
3. Customer Requirement Specification.....................................................................................4
4. Functional Requirement Specification....................................................................................5
5. System Requirements............................................................................................................ 9
6. Development Software........................................................................................................... 9
7. Technology............................................................................................................................ 9
Review 2................................................................................................................................... 10
8. Use Case and Sequence Diagram.......................................................................................11
9. Entity Relationship Diagram (ERD)......................................................................................73
Review 3................................................................................................................................... 78
10. Database Relationship Diagram...........................................................................................79
11. Table Definition.................................................................................................................... 80
12. Other Constraint...................................................................................................................86
13. Site map............................................................................................................................... 88
14. GUI Design.......................................................................................................................... 90
15. Report................................................................................................................................ 166
Task sheet.............................................................................................................................. 170
Task sheet............................................................................................................................... 171
Monitoring Report..................................................................................................................174
Unit Test.................................................................................................................................. 175

Project Team: 01

Prepared by: All members

Page 2 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

REVIEW 1

Project Team: 01

Prepared by: All members

Page 3 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

1. Introduction
SweetHome is a company that deals in real estate business. They started off in a city by doing lot of
surveys to get the information about the local market, available properties, rates etc. and then they started
publishing a magazine named MySweetHome in order to reach to the people.
In early days of their business they used to publish the magazine on quarterly basis but growing business
made them to publish the magazine monthly and also opened an office in the city. Now they have offices
in different other cities of the state. Because of their services they have attracted a vast number of
customers in very short duration of time.
The staff answers the simple queries of the customers on phone but for details like charges, detailed
procedures; they have to come down to the office.
The company has tie-up with certain banks in the country with the help of these it assists customers in
arranging for the loan. Each bank has its own terms and conditions about providing the loan.
The company aims to break new ground by harnessing the power of technology and revolutionizing
processes to buy a home for the customers a truly enjoyable and hassle-free experience.
So taking into consideration the expanding business, the company planned to host the primary information
via MySweetHome, where dreams come true..

2. Existing Scenario
The company deals in buying and selling the properties also assists in providing accommodation on rental
basis and as paying guests. They have large database of Residential, Commercial, Land / Plots in the
country.
If any customer walks into the office, he is required to fill an enquiry form. Then based on his preferences
properties or house or plots are shown to him and then the further processing of buying or selling takes
place.
But as the business is expanding day by day, the company has decided to reach to the people though
web-site

3. Customer Requirement Specification


A site needs to be designed where user will register either as a buyer or seller.
If registered as a seller then he will be able to advertise his property on the site mentioning the features of
the site as location, area, price, additional features etc.
If registered as a buyer, he can go through the site and perform searches based on his requirement, take
a look at various loan schemes and modes of payment available etc.
A user can also log-in to the system as a guest. A customer if using guest account will not have the
permissions to advertise or search the properties but will be able to only enquire about the services that
are provided by the company. He will be using a pre-designed Enquiry Form for this. This enquiry form will
be mailed on the companys mail-id.

4. Functional Requirement Specification


4.1. Guest can register as Buyer or Seller
4.1.1.Description
The system must provide a page to allow guest create their accounts with the following information:
User Name
Password
Name
Birthday

Project Team: 01

Prepared by: All members

Page 4 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

Sex
Address
Phone
Email
Select to be Buyer or Seller (an account cannot be Buyer and Seller)

4.1.2.Functional Requirements
REQ-01. User must provide Username, Password, Name, Birthday, Sex, Address, Phone, Email to create
an account.
REQ-02. User must select Buyer or Seller.
REQ-03. Email is unique

4.2. Guest can login as Buyer or Seller


4.2.1.Description
The system must provide a page to allow guest login as Buyer or Seller. The system must distinguish
Buyer, GoldBuyer, Seller accounts.
4.2.2.Functional Requirements
REQ-04. Customers must provide Username and Password to login into the website.
REQ-05. System must distinguish Customer type to display pages which customers can view.
REQ-06. Customers can only access to pages they have permission.

4.3. Enquiry from Guests (not registered customer)


4.3.1.Description
System must provide a page to allow guests send enquiries.
4.3.2.Functional Requirements
REQ-07. The enquiries from guests must be sent to company email.

4.4. Buyer can upgraded his account to GoldBuyer


4.4.1.Description
Buyer can upgrade his account to GoldBuyer account. With GoldBuyer account, he has much permission,
such as view property detail, sellers information. Buyer must pay a fee for upgrading. The GoldBuyer
account existed in a period time. When its expired, the Buyer must pay a fee for using continues.
4.4.2.Functional Requirements
REQ-1. Buyer can upgrade his account to GoldBuyer account.
REQ-2. Buyer must pay a fee for upgrading. The system must provide a page to allow Buyer input his
credit card information for paying.
REQ-3. Buyer can pay much times to extends his GoldBuyer expired time.

4.5. Management of Buyer


4.5.1.Description
System must provide for Buyer a management page.
4.5.2.Functional Requirements
REQ-01. Buyer can modify his profile.

4.6. Buyer can search for buying a property, renting a property, renting a room
4.6.1.Description
Only Buyer can search properties. System must provide for Buyers search function. They can search a
property for buying a property, renting a property, renting a room.

Project Team: 01

Prepared by: All members

Page 5 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

These are information Buyer should provide when search a property:


Property for sale
1. Price (minimum/maximum)
2. Square footage
3. City
4. Location/ specific area in the city
5. No. of bedrooms
6. No. of bathrooms
7. Type (i.e. Residential Land, Commercial, Condominium, Townhouse, Multi-unit dwelling)
Property for renting
1.
Amount to be paid as a deposit
2.
Rent
3.
City
4.
Location/ specific area in the city
5.
No. of bedrooms
6.
No. of bathrooms
Room for renting
1.
Deposit
2.
Rent
4.6.2.Functional Requirements
REQ-01. Buyer can search for buying a property.
REQ-02. Buyer can search for renting a property.
REQ-03. Buyer can search for renting a room.

4.7. Management of Seller


4.7.1.Description
System must provide for Seller a management page.
4.7.2.Functional Requirements
REQ.1. Seller can modify his profile.

4.8. Seller can submit a property for sale, a property for renting, a room for renting
4.8.1.Description
Only Sellers can submit a property for sale, a property for renting, and a room for renting. When they
submit, they must pay a fee. This fee depends on its position on the website, such as: normal, left, bottom,
right. Besides, Sellers can manage his properties: submit a property, modify property information, remove
property, activate or deactivate property.
These are information Seller should provide when submit a property:
Property for sale
1. City where the house is located.
2. Location/ particular area in the city.
3. Price ( fixed/ negotiable)
4. No of bedrooms.
5. No. of bathrooms.
6. Type (i.e. Residential Land, Commercial, Condominium, Townhouse, Multi-unit dwelling)
7. Extra facilities available.
8. Convenient Modes of transport.
9. With or without furniture/interiors.
10. Image.
11. Mode of payment.
12. Contact details

Project Team: 01

Prepared by: All members

Page 6 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

Property for renting


1. City
2. Location
3. Deposit
4. Rent
5. No. of bedrooms
6. No. of bathrooms
7. Image
8. Modes of payment
Room for renting
1. City
2. Location
3. Deposit
4. Rent

4.8.2.Functional Requirements
REQ-01. Seller can submit a property for sale.
REQ-02. Seller can submit a property for renting.
REQ-03. Seller can submit a room for renting.

4.9. GoldBuyer can manage their shortcuts, search queries


4.9.1.Description
System must provide for GoldBuyer a management page. In this page, GoldBuyer can modify their
information, manage their shortcuts (*), 5 latest search queries.
4.9.2.Functional Requirements
REQ-01. System must provide Modify Profile page.
REQ-02. System must provide Managing shortcuts page for GoldBuyer, they can view list of shortcuts, link
to the properties, and remove shortcuts.
REQ-03. System must provide Search queries page for GoldBuyer, they can view 5 latest search queries
and implement these.
(*): When GoldBuyer need save the property for later views, they can click on to save button to save that
property, and they can view it again in their shortcut management page.

4.10. Gold Buyer can contact to Seller through Sellers information


4.10.1. Description
System must provide for Gold Buyer Sellers information.
4.10.2. Functional Requirements
REQ-01. Gold Buyer can view Sellers information.

4.11. Supporting directories


4.11.1. Description
System must provide list of directories support for Customers. The Administrators can manage this list.
4.11.2. Functional Requirements
REQ-01. Customers can view list of directories, Directory detail.
REQ-02. Administrators can manage directories, such as add new, modify, delete.

Project Team: 01

Prepared by: All members

Page 7 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

4.12. Loan for buying from Bank


4.12.1. Description
System must provide for GoldBuyer information about loan for buying from bank, when they view a
property. Bank information is gotten through web services.
4.12.2. Functional Requirements
REQ.1. Loan for buying from bank is displayed for GoldBuyer when they view property detail.
REQ.2. The system gets Bank information through web services.

4.13. FAQs
4.13.1. Description
System must provide to Customers a page which displays frequently questions and answers.
Administrators can add, modify or delete these.
4.13.2. Functional Requirements
REQ-1. Customers can view FAQs page.
REQ-2. Administrators can add, modify or delete these.

4.14. GUI Requirements


4.14.1. Description
System should provide to Customers an attractive home page.
4.14.2. Functional Requirements
REQ-01. An attractive home page.

4.15. Administrators can manage customers


4.15.1. Description
System should provide for Administrators a page which allows they manage Customers, such block a
Customer, view Customers information, view list of Customers.
4.15.2. Functional Requirements
REQ-1. Administrators can block a Customer.
REQ-2. Administrators can view Customers information.
REQ-3. Administrators can view list of Customers.

5. System Requirements
5.1. Hardware
5.1.1.Web Server
Processor
Memory
Modem/ADSL
5.1.2.Client
Processor
Memory
Monitor
Pointing Device
Modem/ADSL

Project Team: 01

Pentium IV or higher.
512MB RAM or greater.
Connecting to internet 24/24
Pentium III or higher.
64MB RAM or greater.
Super VGA (800x600) or higher resolution with 256 colors.
Microsoft Mouse, Microsoft IntelliMouse, or compatible pointing
device.
Connecting to internet

Prepared by: All members

Page 8 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

5.2. Software
5.2.1.Web Server
Operation System
Browser
Database
Software

5.2.2.Client
Operation System
Browser

Windows 2000/XP/2003
Internet Explorer 6.0 or higher.
Microsoft SQL Server 2000
Java SDK 1.5
Apache Tomcat 5.5
ZK Framework 3.0
Jboss 4.x
Windows XP or later.
Internet Explorer 6.0 or higher.

6. Development Software

Microsoft Windows XP Professional


Eclipse SDK
Java SDK 1.5
Apache Tomcat 5.5
Microsoft SQL Server 2000 SP2
Internet Explorer 6.0
ZK Framework
Jboss 4.0

7. Techonology

ZK Framework
J2EE
Java Web Service
JSP, Servlet
HTML
EJB

Prepared by (Student)
Team leader

Approved by (Faculty)

Le Viet Truc

Kieu Trong Khanh

Signature
Date

Project Team: 01

Prepared by: All members

Page 9 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

REVIEW 2

Project Team: 01

Prepared by: All members

Page 10 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

8. Use Case and Sequence Diagram


8.1. Guest

8.1.1.Register as Buyer
Author
Use Case Name
Actors
Description
Requirements
Pre-conditions
Post-conditions
Basic flow

Alternative flow

Project Team: 01

Pham Viet Hien


Register as Buyer
Guest
Guest wants to register with the website to become a Buyer member.
Guest provides Guests information
Success: Guest creates a Buyer account in this website
Fail: Refill information
Actor Actions:
System Responses:
1. Actor clicks Register link in Home page
2. System redirects to Registration
3. Actor clicks on to Agree button.
Policy page.
4. System redirects to Register page
and displays Registration form with the
following control :
- UserName text field
- Password text field
- Confirm Password text field
- Name text field
- Birthday datebox
- Gender checkbox group
- Address text field
- Phone text field
- Email text field
- Buyer radio button
- Seller radio button
- Captcha textbox
- Refresh image button
- Register button
5. Actor inputs registers information, select
- Back to Home button
Buyer radio button and click Register
6. System checks the information
button. [Alternative 1]
[Exception 1]
7. System inserts the account into
database, show message: Your
account has been created! and then
redirects to Login page.
Actor Actions:
System Responses:
[Alternative 1]
1. Actor click Back to Home button.
2. System returns to Home page.

Prepared by: All members

Page 11 of 240

Project: My Sweet Home


Exception

Document: Development Guide

Actor Actions:
[Exception 1]
1. Actor lefts UserName text field blank.
2. UserName has already exists.
3. Actor lefts Password text field blank.
4. Actor lefts Confirm Password text field
blank.
5. Password and confirm password dont
match.
6. Actor lefts Name text field blank.
7. Actor lefts Birthday datebox blank.
8. Input age to Birthday datebox less than
16.
9. Actor lefts Address text field blank.
10. Actor lefts Phone text field blank.
11. Input phone not in numeric or phone
length not in range 8 14 character.
12. Actor lefts Email text field blank or input
an invalid email address.
13. Actor left Captcha text field blank or
input an unmatch value.

Approved by: Faculty

System Responses:
System displays message to Actor :
- UserName cannot be blank.
- This Username has already exist!.
- Password cannot be blank.
- Confirm Password cant be blank.
- Confirm password not match
password.
- Name cannot be blank.
- Birthday is invalid.
- Age must over 16.
- Address cannot be blank.
- Phone is invalid.
- The phone number should be
numeric only and must be between 8
and 14 digits.
- Email is invalid.
- Not match the image.

8.1.2.Register as Seller
Author
Pham Viet Hien
Use Case Name
Register as Seller
Actors
Guest
Description
Guest wants to register with the website to become a Seller member.
Requirements
Guest provides Guests information
Pre-conditions
Post-conditions
Success: Guest creates a Buyer account in this website
Fail: Refill information
Basic flow
Actor Actions:
System Responses:
1. Actor clicks Register link in Home page
2. System redirects to Registration
3. Actor clicks on to Agree button.
Policy page.
4. System redirects to Register page
and displays Registration form with the
following control :
- UserName text field
- Password text field
- Confirm Password text field
- Name text field
- Birthday datebox
- Gender checkbox group
- Address text field
- Phone text field
- Email text field
- Buyer radio button
- Seller radio button
- Captcha textbox
- Refresh image button
- Register button
5. Actor inputs registers information, select
- Back to Home button
Seller radio button and click Register
6. System checks the information
button. [Alternative 1]
[Exception 1]

Project Team: 01

Prepared by: All members

Page 12 of 240

Project: My Sweet Home

Alternative flow
Exception

Document: Development Guide

Actor Actions:
[Alternative 1]
1. Actor click Back to Home button.
Actor Actions:
[Exception 1]
1. Actor lefts UserName text field blank.
2. UserName has already exists.
3. Actor lefts Password text field blank.
4. Actor lefts Confirm Password text field
blank.
5. Password and confirm password dont
match.
6. Actor lefts Name text field blank.
7. Actor lefts Birthday datebox blank.
8. Input age to Birthday datebox less than
16.
9. Actor lefts Address text field blank.
10. Actor lefts Phone text field blank.
11. Input phone not in numeric or phone
length not in range 8 14 character.
12. Actor lefts Email text field blank or input
an invalid email address.
13. Actor left Captcha text field blank or
input an unmatch value.

Approved by: Faculty

7. System inserts the account into


database, show message: Your
account has been created! and then
redirects to Login page.
System Responses:
2. System returns to Home page.
System Responses:
System displays message to Actor :
- UserName cannot be blank.
- This Username has already exist!.
- Password cannot be blank.
- Confirm Password cant be blank.
- Confirm password not match
password.
- Name cannot be blank.
- Birthday is invalid.
- Age must over 16.
- Address cannot be blank.
- Phone is invalid.
- The phone number should be
numeric only and must be between 8
and 14 digits.
- Email is invalid.
- Not match the image.

8.1.3.Submit Enquiry
Author
Le Viet Truc
Use Case Name
Submit Enquiry
Actors
Guest
Description
Guest wants to enquire services.
Requirements
Guest provides enquiry
Pre-conditions
Post-conditions
Success: Guest receives an email from the company with the information about the
services.
Fail: Refill information.
Basic flow
Actor Actions:
System Responses:

Project Team: 01

Prepared by: All members

Page 13 of 240

Project: My Sweet Home

Document: Development Guide

1. Actor clicks Enquire services button in


Home page menu bar

3. Actor inputs enquirys information and


click Submit button. [Alternative 1]

Alternative flow
Exception

Actor Actions:
[Alternative 1]
1. Actor click Cancel button.
Actor Actions:
[Exception 1]
1. Actor lefts Name textfield blank.
2. Actor lefts Email text field blank or input
an invalid email address.

Approved by: Faculty

2. System redirects to Enquiry page and


displays Enquire Services form with the
following control :
- Name text field
- Address text field
- Phone text field
- Email text field
- Subject text field
- Content text field
- Submit button
- Cancel button
4. System checks the information.
[Exception 1]
5. System send an email with the
information about the service that Actor
enquires.
System Responses:
2. System returns Home page.
System Responses:
System displays message to Actor :
- Name cannot be blank.
- Email is invalid.

8.2. Buyer, GoldBuyer and Seller

Project Team: 01

Prepared by: All members

Page 14 of 240

Project: My Sweet Home


8.2.1.Login
Author
Use Case Name
Actors
Description
Requirements
Pre-conditions
Post-conditions
Basic flow

Document: Development Guide

Pham Viet Hien


Login
Buyer or GoldBuyer or Seller
Buyer or GoldBuyer or Seller wants to login to website as a Buyer or GoldBuyer or
Seller member.
Actor provides username and password
Success: User logged in to website.
Fail: Refill information
Actor Actions:
1. Actor go to Home page of website.

3. Actor inputs UserName and Password,


then click the Login button.
Alternative flow

Exception

Project Team: 01

Approved by: Faculty

Actor Actions:
[Alternative 2]
1. Actor click OK button, inputs UserName
and Password, then click the Login button.
[Alternative 1]
1. Actor click Back to Home button.
Actor Actions:
[Exception 1]
1. Actor input invalid username and
password.

System Responses:
2. System redirects to Home page and
displays Login form on the left with the
following control:
- UserName text field
- Password text field
- Go button
4. System checks the information
[Exception 1]
5. System redirects to Actors Home
page.
System Responses:
2. System checks the information
[Exception 1]
3. System redirects to Actors Home
page.
2. System returns to Home page.
System Responses:
- System redirect to Login page with the
following controls:
- UserName text field
- Password text field
- Login button.
- Back to Home button.
System show a message box: Invalid
Username and password.[Alternative 2]

Prepared by: All members

Page 15 of 240

Project: My Sweet Home


8.2.2.Logout
Author
Use Case Name
Actors
Description
Requirements
Pre-conditions
Post-conditions
Basic flow

Document: Development Guide

Approved by: Faculty

Pham Viet Hien


Login
Buyer or GoldBuyer or Seller
Buyer or GoldBuyer or Seller wants to log out of the System.
Actor has logged in.
Success: Actor Logged out.
Actor Actions:
1. Actor clicks Log out button on the
Actors Home menu.

System Responses:
2. System redirect to Logout page,
remove session, and then redirect to
Login page.

Alternative flow
Exception

8.2.3.Manage Account

8.2.3.1. Update Profile


Author
Pham Viet Hien
Use Case Name
Update Profile
Actors
Buyer or GoldBuyer or Seller
Description
Buyer or GoldBuyer or Seller wants to Update his/her profiles information.
Requirements
Actor provides profile information
Pre-conditions
Actor has logged in.
Post-conditions
Success: Profiles information of this user has been updated.
Fail: Refill information
Basic flow
Actor Actions:
System Responses:
1. Actor clicks Profile button in Actors
2. System redirects to Update Profile
Home page menu.
page and displays Update Profile form
with the following control :

Project Team: 01

Prepared by: All members

Page 16 of 240

Project: My Sweet Home

Document: Development Guide

3. Actor updates information and click


Save button. [Alternative 1]

Alternative flow
Exception

Actor Actions:
[Alternative 1]
1. Actor click Back to Home button.
Actor Actions:
[Exception 1]
1. Actor lefts New Password text field
blank.
2. Actor lefts New Confirm Password text
field blank.
3. New Password and New Password
Confirm dont match.
4. Actor lefts Name text field blank.
5. Actor lefts Birthday datebox blank.
6. Input age to Birthday datebox less than
16.
7. Actor lefts Address text field blank.
8. Actor lefts Phone text field blank.
9. Input phone not in numeric or phone
length not in range 8 14 character.
10. Actor lefts Email text field blank or
input an invalid email address.

Project Team: 01

Approved by: Faculty

- UserName text field (read only)


- Old Password text field
- New Password text field
- New Password Confirm text field
- Name text field
- Birthday text field
- Gender checkbox group
- Address text field
- Phone text field
- Email text field
- Save button
- Back to Home button
4. System checks the information
[Exception 1]
5. System update the account into
database and then redirects to Actor
Home page.
System Responses:
2. System returns to Home page.
System Responses:
System displays message to Actor :
- Password cannot be blank.
- Confirm Password cant be blank.
- Confirm password not match
Password.
- Name cannot be blank.
- Birthday is invalid.
- Age must over 16.
- Address cannot be blank.
- Phone is invalid.
- The phone number should be numeric
only and must be between 8 and 14
digits.
- Email is invalid.

Prepared by: All members

Page 17 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

8.3. Buyer and GoldBuyer

8.3.1.Buy GoldBuyer Package


Author
Pham Viet Hien
Use Case Name
Buy GoldBuyer Package
Actors
Buyer
Description
Buyer want to upgrade his/her account to GoldBuyer.
Requirements
Actor provides Credit Card information.
Pre-conditions
Actor has logged in.
Post-conditions
Success: Buyer becomes a GoldBuyer.
Fail: Refill Information.
Basic flow
Actor Actions:
System Responses:
1. Actor clicks Buy GoldBuyer Package
2. System redirect to Buy GoldBuyer
button on the Actor Home page menu.
Package and show the Buy GoldBuyer
Package form with the following controls:
- GoldBuyerPackagePrice text field.
- Credit No text field.
- Credit Expired Month combobox.
- Credit Expired Year combobox.
- Buy button.
- Back to Home button.
3. Actor inputs Credit No, Credit Expired
4. System checks the information
Month and Year, and click Buy button.
[Exception 1].
[Alternative 1]
5. System updates Actors profile to a
GoldBuyer and show Buy GoldBuyer
Package Success form.
Alternative flow
Actor Actions:
System Responses:
[Alternative 1]
1. Actor click Back to Home button.
2. System returns to Actor Home page.
Exception
[Exception 1]
System Responses:
1. Credit No is invalid.
- System shows the message: Invalid
Credit No.
2. Input credit expired month less than
- System shows the message: Credit
current month.
Expired Date is invalid.

Project Team: 01

Prepared by: All members

Page 18 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

8.4. Buyer
8.4.1.Search

Buyer Search
Property for Sale Searching

Property for Rent Searching


Buyer

Room for Rent Searching

8.4.1.1. Search Property for Sale


Author
Pham Viet Hien
Use Case Name
Property for Sale Searching
Actors
Buyer
Description
Buyer wants to perform a Property for Sale Searching.
Requirements
Actor provides search information
Pre-conditions
Actor has logged in as Buyer
Post-conditions
Success: Properties match the condition show up.
Fail: Do not have any property match the condition.
Basic flow
Actor Actions:
System Responses:
1. Actor clicks Search button on the Actor 2. System show the Search contains the
Home page menu.
following tabs:
- Property for Sale Searching tab.
- Property for Rent Searching tab.
- Room for Rent Searching tab.
3. Actor clicks on Property for Sale
4. System show Property for Sale
Searching tab.
Searching page with Property for Sale
Searching form contain the following
controls:
- Minimum Price decimal box.
- Maximum Price decimal box.

Project Team: 01

Prepared by: All members

Page 19 of 240

Project: My Sweet Home

Document: Development Guide

5. Actor inputs searchings information and


click Search button. [Alternative 1]

Alternative flow

Actor Actions:
[Alternative 1]
1. Actor click Back to Home button.

Approved by: Faculty

- Minimum Square Footage decimal


box.
- Maximum Square Footage decimal
box.
- City text field.
- Location text field.
- No. of bedrooms int box.
- No. of bathrooms int box.
- Type combo box.
- IsNegotiable checkbox.
- WithFurniture checkbox.
- Search button.
- Back to Home button.
6. System select the properties in
database that match searching condition
and display the result in the Searching
Result list below the Property for Sale
Searching form.
System Responses:
2. System returns to Actor Home page.

Exception
8.4.1.2. Search Property for Rent
Author
Pham Viet Hien
Use Case Name
Property for Rent Searching
Actors
Buyer
Description
Buyer wants to perform a Property for Rent Searching.
Requirements
Actor provides search information
Pre-conditions
Actor has logged in as Buyer
Post-conditions
Success: Properties match the condition show up.
Fail: Do not have any property match the condition.
Basic flow
Actor Actions:
System Responses:
1. Actor clicks Search button on the Actor 2. System show the Search contains the
Home page menu.
following tabs:
- Property for Sale Searching tab.
- Property for Rent Searching tab.
- Room for Rent Searching tab.
3. Actor clicks on Property for Rent
4. System show the Property for Rent
Searching tab.
Searching page with the following
controls:
- Minimum Deposit decimal box.
- Maximum Deposit decimal box.
- Minimum Rent decimal box.
- Maximum Rent decimal box.
- City text field.
- Location text field.
- No. of bedrooms int box.
- No. of bathrooms int box.
- Search button.
- Back to Home button.
5. Actor inputs searchings information and 6. System select the properties in
click Search button. [Alternative 1]
database that match searching condition
and display the result in the Searching
Result list below the Property for Rent

Project Team: 01

Prepared by: All members

Page 20 of 240

Project: My Sweet Home

Alternative flow

Document: Development Guide

Actor Actions:
[Alternative 1]
1. Actor click Back to Home button.

Approved by: Faculty

Searching form.
System Responses:
2. System returns to Actor Home page.

Exception

8.4.1.3. Search Room for Rent


Author
Pham Viet Hien
Use Case Name
Room for Rent Searching
Actors
Buyer
Description
Buyer wants to perform a Room for Rent Searching.
Requirements
Actor provides search information
Pre-conditions
Actor has logged in as Buyer
Post-conditions
Success: Properties match the condition show up.
Fail: Do not have any property match the condition.
Basic flow
Actor Actions:
System Responses:
1. Actor clicks Search button on the Actor 2. System show the Search contains the
Home page menu.
following tabs:
- Property for Sale Searching tab.
- Property for Rent Searching tab.
- Room for Rent Searching tab.
3. Actor clicks on Room for Rent
4. System show the Property for Rent
Searching tab.
Searching page with the following
controls:
- Minimum Deposit decimal box.
- Maximum Deposit decimal box.
- Minimum Rent decimal box.
- Maximum Rent decimal box.
- Search button.
- Back to Home button.
4. Actor inputs searchings information and 5. System select the properties in
click Search button. [Alternative 1]
database that match searching condition
and display the result in the Searching
Result table.
Alternative flow
Actor Actions:
System Responses:
[Alternative 1]
1. Actor click Back to Home button.
2. System returns to Actor Home page.
Exception

Project Team: 01

Prepared by: All members

Page 21 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

8.5. GoldBuyer

8.5.1.Manage Account

8.5.1.1. Manage Search Queries

GoldBuyer
extends

View Search Query Detail

View List of Search Queries


Remove Search Query

GoldBuyer

8.5.1.1.1. Manage List of Search Query


Author
Pham Viet Hien
Use Case Name
Manage List of Search Queries
Actors
GoldBuyer

Project Team: 01

Prepared by: All members

Page 22 of 240

Project: My Sweet Home


Description
Requirements
Pre-conditions
Post-conditions
Basic flow

Alternative flow

Document: Development Guide

Approved by: Faculty

GoldBuyer want to view the list of Search Queries.


Actor has logged in as GoldBuyer
Success: List of Search Queries page show up.
Actor Actions:
System Responses:
1. Actor clicks Search Queries button on
2. System redirect to List of Search
Actors Home page menu.
Queries page and show 5 Search tab.
Each tab contains 1 Search Query Detail
page, with the value of Search query of
this user (if user already has search
queries). Search Query Detail page
contains the following control:
- Property type textfield.
- Submission Type textfield.
- City textfield.
- City textfield.
- Minimum Deposit textfield.
- Maximum Deposit textfield.
- Minimum Rent textfield.
- Maximum Rent textfield.
- Minimum Price textfield.
- Maximum Price textfield.
- Minimum Square Footage textfield.
- Maximum Square Footage textfield.
- Number Of Bed Rooms textfield.
- Number Of Bath Rooms textfield.
- Is Negotiable textfield.
- With Furniture textfield.
- Search Date textfield.
- Search Again button.
- Remove Search button.
3. Actor click Search Again button.
4. System redirect to Searching page
[Alternative 1]
with the selected tab and all information
as same as in the SearchQueryDetail,
ready for actor perform this search again.
Actor Actions:
System Responses:
[Alternative 1]
1. Actor click Remove Search button.
2. System show the confirm message
box : Are you sure?.
3. Actor click Yes button.
4. System remove the selected
SearchQuery.

Exception

8.5.1.1.2. View Search Query


Author
Pham Viet Hien
Use Case Name
View Search Query
Actors
GoldBuyer

Project Team: 01

Prepared by: All members

Page 23 of 240

Project: My Sweet Home


Description
Requirements
Pre-conditions
Post-conditions
Basic flow

Document: Development Guide

Approved by: Faculty

GoldBuyer want to view Search Query.


Actor has logged in as GoldBuyer
Success: Search Query shows up.
Actor Actions:
1. Actor clicks Search No. tab on the page.

System Responses:
2. System shows the Search Query
Detail information in the selected tab.

Alternative flow
Exception

8.5.1.2. Manage Shortcut

8.5.1.2.1. List of Shortcuts


Author
Nguyen Hai Dang
Use Case Name
List of Shortcut
Actors
GoldBuyer
Description
GoldBuyer want to view the List of Shortcut.
Requirements
Pre-conditions
Actor has logged in as GoldBuyer
Post-conditions
Success: Propertys information that the user selected has been saved.
Basic flow
Actor Actions:
System Responses:
1. From Actor Home page, Actor click on
2. System redirects to Shortcut List page
View Shortcut List button in Actor Home
and list the shortcuts in Shortcut List
page menu.
table, with these control :
-Image image of property.
-Submitsion Type label
-Owner Name label
-Description label with some description

Project Team: 01

Prepared by: All members

Page 24 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

about shorcut.
- Delete button
Alternative flow
Exception

8.5.1.2.2. Save Shortcut


Author
Nguyen Hai Dang
Use Case Name
Save Shortcut
Actors
GoldBuyer
Description
GoldBuyer want to save Shortcut to this propertys information.
Requirements
Pre-conditions
Actor has logged in as GoldBuyer
Post-conditions
Success: Propertys information that the user selected has been saved.
Basic flow
Actor Actions:
System Responses:
1. Actor clicks Save Shortcut button on the 2. System show the Save Shortcut
right bottom corner of the property.
Confirm form with the following control :
- Save Shortcut to this Property? label.
- Yes button.
- No button.
3. Actor click Yes button. [Alternative 1]
4. System checks the information
[Exception 1]
5. System inserts the Property shortcut
into database and then return to View
Property List page.
Alternative flow
Actor Actions:
System Responses:
[Alternative 1]
1. Actor click No button.
2. System returns to View Property List
page.
Exception

Project Team: 01

Prepared by: All members

Page 25 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

8.5.1.2.3. Delete Shortcut


Author
Nguyen Hai Dang
Use Case Name
Delete Shortcut
Actors
GoldBuyer
Description
GoldBuyer want to save Shortcut to this propertys information.
Requirements
Pre-conditions
Actor has logged in as GoldBuyer
Post-conditions
Success: Propertys information that the user selected has been saved.
Basic flow
Actor Actions:
System Responses:
1. From Actor Home page, Actor click on
2. System redirects to Shortcut List page
Shortcut List button in Actor Home page
and list the shortcuts in Shortcut List
menu.
table, with these control :
-Image image of property.
-Submitsion Type label
-Owner Name label
-Description label with some description
about shorcut.
- Delete button
3. Actor clicks on Delete button on the
4. System show the Delete Shortcut
shortcut he/she wish to delete.
Confirm form with the following control :
- Do you want to delete this shortcut?
label.
- Yes button.
- No button.
5. Actor click Yes button. [Alternative 1]
6. System deletes the selected shortcut
from database and return to Shortcut List
page.
Alternative flow
Actor Actions:
System Responses:
[Alternative 1]
1. Actor click No button.
2. System returns to Shortcut List page.
Exception

Project Team: 01

Prepared by: All members

Page 26 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

8.5.2.Search

GoldBuyer Search
Property for Sale Searching

Property for Rent Searching


GoldBuyer

Room for Rent Searching

8.5.2.1. Search Property for Sale


Author
Pham Viet Hien
Use Case Name
Property for Sale Searching
Actors
GoldBuyer
Description
GoldBuyer want to perform a Property for Sale Searching.
Requirements
Actor provides search information.
Pre-conditions
Actor has logged in as GoldBuyer
Post-conditions
Success: Properties match the condition show up.
Fail: Do not have any property match the condition.
Basic flow
Actor Actions:
System Responses:
1. Actor clicks Search button on the Actor 2. System show the Search contains the
Home page menu.
following tabs:
- Property for Sale Searching tab.
- Property for Rent Searching tab.
- Room for Rent Searching tab.
3. Actor click on Property for Sale
4. System show Property for Sale
Searching tab.
Searching page with Property for Sale
Searching form contain the following
controls:
- Minimum Price decimal box.
- Maximum Price decimal box.
- Minimum Square Footage decimal
box.
- Maximum Square Footage decimal
box.
- City text field.
- Location text field.
- No. of bedrooms int box.
- No. of bathrooms int box.
- Type combo box.
- IsNegotiable checkbox.
- WithFurniture checkbox.
- Search button.
5. Actor inputs searchings information and - Back to Home button.
click Search button. [Alternative 1]
6. System saves the search query into
database.

Project Team: 01

Prepared by: All members

Page 27 of 240

Project: My Sweet Home

Alternative flow

Document: Development Guide

Actor Actions:
[Alternative 1]
1. Actor click Back to Home button.
[Alternative 2]
1. Actor click No button.
[Alternative 3]
1. Theres no property that match the
searching condition.

3. Actor click Yes button. [Alternative 2]

Approved by: Faculty

7. System select the properties in


database that match searching condition
and display the result in the Searching
Result table. [Alternative 3]
System Responses:
2. System returns to Actors Home page.
2. System returns to Searching page.
2. System show the Save searching
form with the following controls:
- There is no result match your searching
condition. Do you want to receive an
email when we have a matching one?
label.
- Yes button.
- No button.
4. System saves the searched query into
database and return to the Searching
page.

Exception

8.5.2.2. Search Property for Rent


Author
Pham Viet Hien
Use Case Name
Property for Rent Searching
Actors
GoldBuyer
Description
GoldBuyer want to perform a Property for Rent Searching.
Requirements
Actor provides search information.
Pre-conditions
Actor has logged in as GoldBuyer
Post-conditions
Success: Properties match the condition show up.
Fail: Do not have any property match the condition.
Basic flow
Actor Actions:
System Responses:
1. Actor clicks Search button on the Actor
2. System show the Search contains the
Home page menu.
following tabs:
- Property for Sale Searching tab.
- Property for Rent Searching tab.
- Room for Rent Searching tab.
3. Actor clicks on Property for Rent
4. System show the Property for Rent
Searching tab.
Searching page with the following
controls:
- Minimum Deposit decimal box.
- Maximum Deposit decimal box.
- Minimum Rent decimal box.
- Maximum Rent decimal box.
- City text field.
- Location text field.
- No. of bedrooms int box.
- No. of bathrooms int box.
- Search button.
- Back to Home button.
5. Actor inputs searchings information and
6. System saves the search query into
click Search button. [Alternative 1]
database.

Project Team: 01

Prepared by: All members

Page 28 of 240

Project: My Sweet Home

Alternative flow

Document: Development Guide

Actor Actions:
[Alternative 1]
1. Actor click Back button.
[Alternative 2]
1. Actor click No button.
[Alternative 3]
1. Theres no property that match the
searching condition.

3. Actor click Yes button. [Alternative 2]

Approved by: Faculty

7. System select the properties in


database that match searching condition
and display the result in the Searching
Result table. [Alternative 3]
System Responses:
2. System returns to Actor Home page.
2. System returns to Searching page.
2. System show the Save searching
form with the following controls:
- There is no result match your searching
condition. Do you want to receive an
email when we have a matching one?
label.
- Yes button.
- No button.
4. System saves the searched query into
database and return to the Searching
page.

Exception
8.5.2.3. Search Room for rent
Author
Pham Viet Hien
Use Case Name
Room for Rent Searching
Actors
GoldBuyer
Description
GoldBuyer wants to perform a Room for Rent Searching.
Requirements
Actor provides search information.
Pre-conditions
Actor has logged in as GoldBuyer
Post-conditions
Success: Properties match the condition show up.
Fail: Do not have any property match the condition.
Basic flow
Actor Actions:
System Responses:
1. Actor clicks Search button on the Actor
2. System show the Search contains the
Home page menu.
following tabs:
- Property for Sale Searching tab.
- Property for Rent Searching tab.
- Room for Rent Searching tab.
3. Actor clicks on Room for Rent Searching 4. System show the Property for Rent
tab.
Searching page with the following
controls:
- Minimum Deposit decimal box.
- Maximum Deposit decimal box.
- Minimum Rent decimal box.
- Maximum Rent decimal box.
- Search button.
- Back to Home button.
4. Actor inputs searchings information and
5. System saves the search query into
click Search button. [Alternative 1]
database.
6. System select the properties in
database that match searching condition
and display the result in the Searching
Result table. [Exception 1]
Alternative flow
Actor Actions:
System Responses:
[Alternative 1]

Project Team: 01

Prepared by: All members

Page 29 of 240

Project: My Sweet Home

Document: Development Guide

1. Actor click Back to Home button.


[Alternative 2]
1. Actor click No button.
[Alternative 3]
1. Theres no property that match the
searching condition.

3. Actor click Yes button. [Alternative 2]

Approved by: Faculty

2. System returns to Actor Home page.


2. System returns to Searching page.
2. System show the Save searching
form with the following controls:
- There is no result match your searching
condition. Do you want to receive an
email when we have a matching one?
label.
- Yes button.
- No button.
4. System saves the searched query into
database and return to the Searching
page.

Exception

8.5.3.Send Message to Seller


Author
Nguyen Hai Dang
Use Case Name
Send message to Seller
Actors
Gold Buyer
Description
Gold Buyer wish to send message to Seller
Requirements
Gold Buyer should provide subject , content of the message
Pre-conditions
Actor has logged in as GoldBuyer
Post-conditions
Success: send message to Seller
Fail: Refill information
Basic flow
Actor Actions:
System Responses:
1. Actor clicks Sellers Email button on
2. System redirects to SendMessage
PropertyDetail page
page and displays form for Actor to input
information with the following control :
- Subject text field
- Content text area
- Send Message button
- Cancel button
3. Actor inputs information and submit:
4. System checks the information
- Provide subject in Subject text field
[Exception 1]
- Provide content of the message in
5. System send a message to Sellers
Content text area
email and displays a message Your
- Actor clicks Send Message button.
message have been sent to Seller

Project Team: 01

Prepared by: All members

Page 30 of 240

Project: My Sweet Home

Alternative flow
Exceptions

Document: Development Guide

Approved by: Faculty

[Alternative 1]

successful

Actor Actions:
[Alternative 1]
1. Actor click Cancel button
Actor Actions:
[Exception 1]
1. Actor lefts Subject text field blank

System Responses:

2. Actor lefts Content text field blank

- Content cannot be blank. Please input


content

- System returns previous page


System Responses:
System displays message to Actor :
- Subject cannot be blank. Please input
subject

8.5.4.View Property Detail


Author
Nguyen Hai Dang
Use Case Name
View Property Detail
Actors
Administrator or Gold Buyer
Description
Administrator or Gold Buyer wish to view property detail
Requirements
Administrator or Gold Buyer chooses property to view.
Pre-conditions
Actor has logged in as Administrator or GoldBuyer
Post-conditions
Success: Details of property show
Fail: Error Page show
Basic flow
Actor Actions:
System Response:
1. Actor clicks View Details button on
1. System displays information of
Property Page. [Alternative1] [Alternative2] property by these control:
[Alternative3] [Alternative4]
- Views label: display views number of
[Alternative5][Alternative6]
property
- Image to show Google map of this
property or propertys image.
- Square Footage label
- Property Type label
- Min Price label
- Max Price label
- Loan information table with : Bank
Name and Loan Percentage label
- Negotiable label
- City label
- Address label
- Number of Bedroom label
- Number of Bathroom label
-Extra facilities label

Project Team: 01

Prepared by: All members

Page 31 of 240

Project: My Sweet Home

Alternative flow

Document: Development Guide

Approved by: Faculty

-With furniture/interiors label


- Mode of transport label
- Mode of payment label
- Contact name label
- Contact email label
- Contact phone label
- Contact address label
-Submitted Date label
-Advertisements Days label
-Save Shortcut button
-Send Email to Seller button
System Response:

Actor Actions:
[Alternative1] Submission Type is
propertyForRent
[Alternative2] Submission Type is room for
rent
[Alternative3] If Actor is a Buyer not a Gold
Buyer
[Alternative4] Actor click Send Email to
Seller
[Alternative5] Actor click Save Shortcut
[Alternative6] Actor click Bank Name label

1.Loan information table is invisible.


2.Loan information table, Number of
Bedroom label, Number of Bathroom
label is invisible.
3.Save Shortcut and Send Email to Seller
button will disable
4.System redirects to Send Email to
Seller page.
5.View Save Shortcut User Case.
6.Show popup with address and phone of
bank.

Exceptions

Project Team: 01

Prepared by: All members

Page 32 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

8.6. Seller

8.6.1.Manage Properties

8.6.1.1. Post Property

Project Team: 01

Prepared by: All members

Page 33 of 240

Project: My Sweet Home


Author
Use Case Name
Actors
Description
Requirements
Pre-conditions
Post-conditions
Basic flow

Project Team: 01

Document: Development Guide

Approved by: Faculty

Tran Thanh Duy


Post Property
Seller
Seller want to submit a house for sale, rent and room for rent
Actor provides Property information and Credit Card information
Actor has logged in as seller
Success: Sellers house entry information will be inserted into the database
Fail: Refill information
Actor Actions:
System Response:
1. Actor clicks Post Properties button on
2. System displays Post Property page
Seller menu.
3. Actor chooses house for sale tab.
4. System displays form for Actor to input
[Alternative 1][Alternative 2]
information with the following control:
- Button Browse to upload image
- Price text field
- Negotiable checkbox
- City text field
- Address text field
- Google Map button
- Number of Bedroom text field
- Number of Bathroom text field
- Square Footage text field
- Type of Property combo box
- Extra facilities text field
- With furniture/interiors radio button
- Mode of transport text field
- Mode of payment combo box
- Contact name text field
- Contact email text field
- Contact phone text field
- Contact address text field
- Price of Advertisement label
- Position label
- Position button
- Number Of Advertisement Days Text
field
-Your fee is: label
- Credit Card No text field
- Submit button
- Cancel button
-Preview button
5. Actor inputs house for sale information
- Click Browse button and choose
houses image to upload
- Provide price in Price text field and
check in Negotiable checkbox if the
price can be negotiable
- Type city where the house located in
City auto complete text field. The data
of this auto complete box will be retrieve
from the table contain house properties
information
- Provide the houses address in
Address text field. [Alternative 3]
- Provide number of bedroom and
bathroom in the respective text

Prepared by: All members

Page 34 of 240

Project: My Sweet Home

Document: Development Guide

field :Number of Bedroom and Number


of Bathroom
- Provide square footage (feet) in
Square Footage text field
- Choose a type property from Type of
Property combo box. This combo box
contain five value : Residential Land,
Commercial, Condominium, Townhouse,
Multi-unit dwelling
- Provides extra facilities available in
Extra facilities text field
- Choose with or without
furniture/interiors (Yes/No) by ticking on
With furniture/interiors radio button
- Provide convenient mode of transport
in Mode of transport text field
- Choose mode of payment from a Mode
of payment combo box. This combo box
contain three value : Cash, Credit Card,
Money Transfer
- Edit contact detail (option/using seller
info by default)
+ Contact name in Contact Name
text field
+ Contact email in Contact Email text
field
+ Contact phone in Contact Phone
text field
+ Contact address in Contact
Address text field
- Enter Number Of Advertisement Days.
- Choose position of advertisement,
default is normal.
- Finally provide credit card no for paying
fee in Credit Card No text field
6. Seller clicks Submit button
[Alternative 4][Alternative 5]

Alternative flow

Project Team: 01

Actor Actions:
[Alternative 1]
1. Actor chooses house for rent tab

Approved by: Faculty

7. System checks the information and calls


a web service to verify credit card status
[Exception1]
8. System inserts houses information into
the database then display message Your
property has been submitted on Post
Property page.
System Response:
2. System displays form for Actor to input
information with the following control:
- Button Browse to upload image
- Deposit text field
- Rent price text field
- Negotiable checkbox
- City text field
- Address text field
- Google Map button
- Number of Bedroom text field
- Number of Bathroom text field

Prepared by: All members

Page 35 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

- Mode of payment combo box


- Contact name text field
- Contact email text field
- Contact phone text field
- Contact address text field
- Price of Advertisement label
- Position label
- Choose Special Position button
- Number Of Advertisement Days Text
field
-Your fee is: label
- Credit Card No text field
- Submit button
- Cancel button
-Preview button
3. Actor inputs house for rent information
- Click Browse button and choose
houses image to upload
- Provide price in Deposit text field and
check in Negotiable checkbox if the
price can be negotiable
- Provide price in Rent price text field
and check in Negotiable checkbox if the
price can be negotiable
- Type city where the house located in
City auto complete text field. The data
of this auto complete box will be retrieve
from the table contain house properties
information
- Provide the houses address in
Address text field [Alternative6]
- Provide number of bedroom and
bathroom in the respective text
field :Number of Bedroom and Number
of Bathroom
- Choose mode of payment from a Mode
of payment combo box. This combo box
contain three value : Cash, Credit Card,
Money Transfer
- Edit contact detail (option/using Seller
info by default)
+ Contact name in Contact Name
text field
+ Contact email in Contact Email text
field
+ Contact phone in Contact Phone
text field
+ Contact address in Contact
Address text field
- Enter Number of Advertisement Days.
- Choose Position of advertisement,
default is normal.
- Finally provide credit card no for paying
fee
4. Actor clicks Submit button
[Alternative 7] [Alternative 8]

Project Team: 01

5. System checks the information and calls

Prepared by: All members

Page 36 of 240

Project: My Sweet Home

Document: Development Guide

[Alternative 2]
1. Actor chooses room for rent tab

3. Actor inputs room for rent information


- Provide price in Deposit text field and
check in Negotiable checkbox if the
price can be negotiable
- Provide price in Rent price text field
and check in Negotiable checkbox if the
price can be negotiable
- Type city where the house located in
City auto complete text field. The data
of this auto complete box will be retrieve
from the table contain house properties
information
- Provide the houses address in
Address text field [alternative9]
- Edit contact detail (option/using Actor
info by default)
+ Contact name in Contact Name
text field
+ Contact email in Contact Email text
field
+ Contact phone in Contact Phone
text field
+ Contact address in Contact
Address text field
- Enter number of Advertisement days.
- Choose position of advertisement,
default is normal.
- Finally provide credit card no for paying

Project Team: 01

Approved by: Faculty

a web service to verify credit card status


[Exception 2]
6. System inserts houses information into
the database then display message Your
property has been submitted on Sell
page.
2. System displays form for Actor to input
information with the following control:
- Deposit text field
- Rent price text field
- Negotiable checkbox
- City field
- Address text field
- Map with Google button
- Contact name text field
- Contact email text field
- Contact phone text field
- Contact address text field
- Credit Card No text field
- Price of Advertisement label
- Position label
- Choose Special Position button
- Number Of Advertisement Days Text
field
- Credit Card No text field
- Submit button
- Cancel button
-Preview button

Prepared by: All members

Page 37 of 240

Project: My Sweet Home

Document: Development Guide

fee
4. Actor clicks Submit button
[Alternative 10] [Alternative 11]

[Alternative3][Alternative6][Alternative9] Actor can click on Map with Google


button to check the houses location in
Google Map. If internet is not available
actor can choose 1 picture for this.
[Alternative4][Alternative7][Alternative10]
- Actor clicks Cancel button
[Alternative5][Alternative8][Alternative11]
Actor clicks Preview button
Exceptions

5. System checks the information and calls


a web service to verify credit card status
[Exception 3]
6. System inserts houses information into
the database then display message Your
property has been submitted on Post
Property page.
- System display Google map with the point
corresponding with the address provided
by Actor or display picture actor had
chosen.
- System returns to Actor page.
- System redirect to Preview page.
System Response: System display
message to Actor:

Actor Actions:
[Exception 1]
- Actor left Property Price field or
provided an invalid price (not a number
or negative number)
- Actor left Number of bedroom field or
provided an invalid number of bedroom
(not a number or negative number)
- Actor left Number of bathroom field or
provided an invalid number of bathroom
(not a number or negative number)
-Actor left Square Footage field or
Provided an invalid square footage (not a
number or negative number)
[Exception 2]
- Actor left Deposit field or provided an
invalid number of deposit (not a number
or negative number)
- Actor left Rent Price field or provided
an invalid number of rent price (not a
number or negative number)
[Exception1] [Exception 2] [Exception 3]
-Actor clicks Upload button but upload
process fail because some unknown
problem.
- Actor left Number of Advertisement
days field or provided an invalid number
of Advertisement days (not a number or
negative number)
- Actor left Credit Card No field or
provided an invalid credit card
or The credit card has been expired or
not enough cash
- Actor left City field blank
- Actor left Address field blank

Project Team: 01

Approved by: Faculty

-The price provided is invalid. Only


positive number is allowed
- The number of bedroom provided is
invalid. Only positive integer number is
allowed
- The square footage provided is invalid.
Only positive number is allowed
- The square footage provided is invalid.
Only positive number is allowed.
- The deposit provided is invalid. Only
positive number is allowed.
- The rent price provided is invalid. Only
positive number is allowed.

- Uploading image has failed, Please try


again
- The days provided is invalid. Only
positive number is allowed
- Credit card cannot be blank or The
credit card no provided is invalid!
- City cant be blank.
- Address cant be blank

Prepared by: All members

Page 38 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

8.6.1.2. Modify Property


Author
Tran Thanh Duy
Use Case Name
Modify Property
Actors
Seller
Description
Seller want to view property detail
Requirements
Actor provides Property information
Pre-conditions
Actor has logged in as seller
Post-conditions
Success: Sellers house entry information will be update into the database
Fail: Refill information
Basic flow
Actor Actions:
System Response:
1. Actor clicks Edit button in House
2. System displays form for Actor to
properties grid table.
change information. Old house properties
info is already loaded. Depend on the
house mode, which form will be loaded.
The form can contain some of following
control :
- Button Browse to upload image
- Price text field
- Negotiable checkbox
- City auto complete text field
- Address text field
- Number of Bedroom text field
- Number of Bathroom text field
- Square Footage text field
- Type of Property combo box
- Extra facilities text field
- With furniture/interiors radio button
- Mode of transport text field
- Mode of payment combo box
- Contact name text field
- Contact email text field
- Contact phone text field
- Contact address text field
- Save button

Project Team: 01

Prepared by: All members

Page 39 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

- Cancel button
- Preview button
3. Actor changes house properties
information, house information is loaded
from database.
- Click Browse button and choose houses
image to upload(not for room for rent
mode)
- Change price in Price text field and
check in Negotiable checkbox if the price
can be negotiable (for sale mode only)
- Change city where the house located in
-City text field.
- Change the houses address in Address
text field. [Alternative 1]
- Change number of bedroom and
bathroom in the respective text
field :Number of Bedroom and Number of
Bathroom (for sale mode only)
- Change square footage (feet) in Square
Footage text field (for sale mode only)
- Change a type property from Type of
Property combo box(for sale mode only)
- Change extra facilities available text field
(for sale mode only)
- Change with or without furniture/interiors
(Yes/No) by ticking on With
furniture/interiors radio button (for sale
mode only)
- Change mode of transport in Mode of
transport text field (for sale mode only)
- Change price in Deposit text field and
check in Negotiable checkbox if the price
can be negotiable (for house rent and
room for rent mode only)
- Change price in Rent price text field (for
house rent and room for rent mode only)
- Edit contact detail (option/using seller info
by default)
+ Contact name in Contact Name text
field
+ Contact email in Contact Email text
field
+ Contact phone in Contact Phone text
field
+ Contact address in Contact Address
text field
4. Seller clicks Save button [Alternative 2]
[Alternative 3]

Alternative flow

Project Team: 01

Actor Actions:
[Alternative 1] Actor can click on Google
Map button to check the houses location

5. System checks the information


[Exception 5]
6. System updates houses information
into the database then display message
Your property has been updated
successful on Edit property page
System Response:
System display Google map with the
point corresponding with the address

Prepared by: All members

Page 40 of 240

Project: My Sweet Home

Exceptions

Document: Development Guide

in Google Map. If internet is not available


actor can choose 1 picture for this.
[Alternative 2] Actor clicks Preview button
[Alternative 3] Actor clicks Cancel button
Actor Actions:
[Exception 1]
- Actor left Number of bedroom field or
provided an invalid number of bedroom
(not a number or negative number)
- Actor left Number of bathroom field or
provided an invalid number of bathroom
(not a number or negative number)
-Actor left Square Footage field or
Provided an invalid square footage (not a
number or negative number)
- Actor left Deposit field or provided an
invalid number of deposit (not a number or
negative number)
- Actor left Rent Price field or provided an
invalid number of rent price (not a number
or negative number)
-Actor clicks Upload button but upload
process fail because some unknown
problem.
- Actor left Price field or provided an
invalid price (not a number or negative
number)
- Actor left Number of Advertisement days
field or provided an invalid number of
Advertisement days(not a number or
negative number)
- Actor left Credit Card No field or
provided an invalid credit card
- Actor left City field blank
- Actor left Address field blank

Project Team: 01

Approved by: Faculty

provided by Actor
System redirect to Preview page.
System returns to list of properties page.
System Response: System display
message to Actor:
- The number of bedroom provided is
invalid. Only positive integer number is
allowed
- The square footage provided is invalid.
Only positive number is allowed
- The square footage provided is invalid.
Only positive number is allowed.
- The deposit provided is invalid. Only
positive number is allowed.
- The rent price provided is invalid. Only
positive number is allowed.
- Uploading image has failed, Please try
again
- The price provided is invalid. Only
positive number is allowed
- The days provided is invalid. Only
positive number is allowed
- Credit card cant be blank or The
credit card no provided is invalid.
- City cant be blank.
- Address cannot be blank.

Prepared by: All members

Page 41 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

8.6.1.3. Delete Property


Author
Use case name
Actors
Description
Requirements
Pre-conditions
Post-conditions
Basic flow

Alternative flow

Tran Thanh Duy


Delete Properties
Seller
Seller wants to Delete Properties.
Actor has logged in as seller
Success: Sellers properties removed form list of properties
Failed: Refill information
Actor actions:
System response:
1. From list of Properties page, actor
2. System Display Message: Do you want
clicks on Delete button to Delete
to delete this Property? .
properties.
3. Actor click Yes button to delete.
4. System removes this property from list
[Alternative 1]
of properties and update information into
database.
Actor actions:
System response:
[Alternative 1]
Actor click No button
System redirects to current page and this
property is not removed.

Exception

8.6.1.4. Activate Property

Author
Use Case Name
Actors
Description
Requirements
Pre-conditions
Post-conditions

Project Team: 01

Tran Thanh Duy


Activate Property
Seller
Seller wants to active the property that has suspended
The property which needs to be refresh must be suspended
Actor has logged in as seller
Success: House entrys information will be turned back into active from suspend

Prepared by: All members

Page 42 of 240

Project: My Sweet Home

Basic flow

Document: Development Guide

Fail: Refill information


Actor Actions:
1. Actor clicks Activate button in house
properties table.
3. Actor provide some information
required for activate process :
- Provide credit card no in Credit Card
No text field [Exception 1]
5. Actor clicks Submit button
[Alternative 1]

Alternative flow

Actor Actions:
[Alternative 1] Actor clicks Cancel
button

Exceptions

Actor Actions:
[Exception 1] Actor provide invalid credit
card no
[Exception 2] The credit card has been
expired or not enough cash

Approved by: Faculty

System Response:
2. System displays Paying Fee page.
4. System calls a web service method to
check credit card status [Exception 2]
6. System updates the information and
displays Actor page with updated
information
System Response:
System returns to Actor page
System Response:
System displayed message to notice
Actor :
The credit card no provided is invalid
Your card has been expired or not enough
cash

8.6.1.5. Deactivate Property


*Note: if expired date of properties equals current date, the system will deactivate properties automatic.
Author
Tran Thanh Duy
Use Case Name
Deactivate Properties
Actors
Seller
Description
Seller deactivate house entry
Requirements
Seller must choose the correct property which is needed to be suspended
Pre-conditions
Actor has logged in as seller
Post-conditions
Success: House entrys information will be updated in the database
Basic flow
Actor Actions:
System Response:
1. Actor clicks Deactivate button in
2. System display a message to confirm:
house properties table.
Are you sure that you want to Deactivate
this property?
3. Actor clicks Yes button [Alternative 1] 4. System updates the information and

Project Team: 01

Prepared by: All members

Page 43 of 240

Project: My Sweet Home

Alternative flow

Document: Development Guide

Actor Actions:
[Alternative 1] Actor clicks No button

Approved by: Faculty

displays Actor page with updated


information
System Response:
System returns current page without
changing anything

Exceptions

8.6.1.6. View List of Properties (owner only)


Author
Use Case Name
Actors
Description
Requirements
Pre-conditions
Post-conditions
Basic flow

Tran Thanh Duy


View List of Properties
Seller
Seller want to view list of Properties
Actor has logged in as seller
Seller can view Owner Properties
Actor Actions:
1. Actor link to View List of Properties page.

System Responses:
2. System redirects to list of Properties
page.
Display information in table format
include these columns:
- ID
- Property
- Property Type
- Submitted Date
- Expired Date
- Modify
- Delete
- Status

Alternative flow
Exception

Project Team: 01

Prepared by: All members

Page 44 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

8.6.1.7. View Property Detail (owner only)


Author
Use Case Name
Actors
Description
Requirements
Pre-conditions
Post-conditions
Basic flow

Tran Thanh Duy


View Property Detail
Seller
Seller want to view property detail
Actor has logged in as seller
Success: Details of property show
Actor Actions:
1. Actor clicks Preview button on Post
Properties or Edit Properties Page or
Clicks Details button in List of Properties
page.

System Response:
2. System displays information of
property by these control :
- Image to show Google map of this
property or propertys image.
- Square Footage label
- Property Type label
- Min Price label
- Max Price label
- Negotiable label
- City label
- Address label
- Number of Bedroom label
- Number of Bathroom label
-Extra facilities label
-With furniture/interiors label
- Mode of transport label
- Mode of payment label
- Contact name label
- Contact email label
- Contact phone label
- Contact address label
-Submitted Date label
-Expired Date label
-Back button

Alternative flow
Exceptions

Project Team: 01

Prepared by: All members

Page 45 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

8.7. Administrators

8.7.1.Login
Author
Use Case Name
Actors
Description
Requirements
Pre-conditions
Post-conditions
Basic flow

Alternative flow
Exception

Project Team: 01

Le Viet Truc
Login
Administrator
Administrator wants to login to Admin page.
Actor provides username and password
Success: Administrator logged in to website.
Fail: Refill information
Actor Actions:
System Responses:
1. Actor inputs Admin page URL in
2. System redirects to Login page and
Address bar of Browser.
displays Login form with the following
control:
- UserName text field
- Password text field
- Login button
3. Actor inputs UserName and Password,
4. System checks the information
then click the Login button. [Alternative 1]
[Exception 1]
5. System redirects to Admin Home
page.
Actor Actions:
[Exception 1]
1. Actor lefts UserName text field blank. 2.
Actor lefts Password text field blank.

System Responses:
System displays message to Guest :
- UserName cannot be blank.
- Password cannot be blank.

Prepared by: All members

Page 46 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

8.7.2.Change Password
Author
Le Viet Truc
Use case name
Change Password
Actors
Administrator
Description
Change Password
Requirements
Actor provides Username and Password
Pre-conditions
Actor has logged in as Administrator
Post-conditions
Success: The password of Administrator has changed.
Basic flow
Actor actions:
System response:
1. From Admin page, actor clicks on to
2. System redirects to Change Password
the Change Password button.
page and display form with the following
controls:
Old Password textfield.
New Password textfield.
Confirm New Password textfield.
Save button.
3. Actor clicks on to Save button to finish 4. System checks input information.
adding. [Alternative 1]
[Exception 1]
5. System adds new Administrator into the
database.
Alternative flow
[Alternative 1]
1. Actor clicks on to Admin Home Page
2. System redirects to Admin page.
button.
Exception

[Exception 1]
1. Actor lefts Old Password textfield.
2. Actor lefts New Password textfield.
3. Actor lefts Confirm New Password
textfield.
4. New Password textfield is not same as
Confirm New Password textfield.

Project Team: 01

System displays a message to notice


actor:
Old Password cannot be blank. Please
input Old Password.
New Password cannot be blank. Please
input New Password.
Confirm New Password cannot be blank.
Please input Confirm Password.
New Password and Confirm New
Password must be same.

Prepared by: All members

Page 47 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

8.7.3.Manage List of Properties


Author
Tran Thanh Duy
Use case name
View List of Properties
Actors
Administrator
Description
View List of Properties
Requirements
Pre-conditions
Actor has already logged into the System as Administrator and Full Control property is
true.
Post-conditions
Success: View List of Properties
Basic flow
Actor actions:
System response:
1. From Admin page, actor clicks on to
2. System redirects to Managing List of
the Managing List of Properties button.
properties page and display list of all of
Property in table form:
- Property
- Property Type
- Submitted Date
- Expired Date
- Owner
- Status
Alternative flow
Exception

Project Team: 01

Prepared by: All members

Page 48 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

8.7.4.Manage Administrators

8.7.4.1. View List of Administrators


Author
Le Viet Truc
Use case name
View List of Administrators
Actors
Administrator
Description
View List of Administrators
Requirements
Pre-conditions
Actor has already logged into the System as Administrator and Full Control property is
true.
Post-conditions
Success: View List of Administrators
Basic flow
Actor actions:
System response:
1. From Admin page, actor clicks on to
2. System redirects to Managing
the Managing Administrators button.
Administrators page and display list of all
of Administrators in table form:
- No.
- Username
- FullControl
- Delete button
The current Administrator record will not
appear in this table.
Alternative flow
Exception

8.7.4.2. Add Administrator


Author
Le Viet Truc
Use case name
Add Administrator
Actors
Administrator
Description
Add a Administrator
Requirements
Actor provides Username, Password and Full Control property
Pre-conditions
Actor has already logged into the System as Administrator and Full Control property is

Project Team: 01

Prepared by: All members

Page 49 of 240

Project: My Sweet Home

Post-conditions
Basic flow

Alternative flow
Exception

Document: Development Guide

Approved by: Faculty

true.
Success: An Administrator is added into the database.
Failed: Refill information
Actor actions:
System response:
1. From View List of Administrators
2. System redirects to Add Administrator
page, actor clicks on to the Add
page and display form with the following
Administrator button.
controls:
Username textfield.
Password textfield.
Confirm Password textfield.
Add button.
3. Actor clicks on to Add button to finish
4. System checks input information.
adding. [Alternative 1]
[Exception 1]
5. System adds new Administrator into the
database.
[Alternative 1]
1. Actor clicks on to Back button.
2. System redirects to View List of
Administrators page.
[Exception 1]
System displays a message to notice
actor:
1. Actor lefts Username textfield.
Username cannot be blank. Please input
Username.
2. Actor lefts Password textfield.
Password cannot be blank. Please input
Password.
3. Actor lefts Confirm Password textfield. Confirm Password cannot be blank.
Please input Confirm Password.
4. Password textfield is not same as
Password and Confirm Password must be
Confirm Password textfield.
same.
5. Username has already existed in the
The username has already existed.
database.
Please input another username.

8.7.4.3. Delete Administrator


Author
Le Viet Truc
Use case name
Delete Administrator
Actors
Administrator
Description
Delete an Administrator
Requirements
Pre-conditions
Actor has already logged into the System as Administrator and Full Control property is
true.
Post-conditions
Success: Deleted an Administrator
Basic flow
Actor actions:
System response:
1. From View List of Administrators
2. A confirms message box appears:Are
page, actor clicks on to the Delete button you sure that you want to delete this

Project Team: 01

Prepared by: All members

Page 50 of 240

Project: My Sweet Home

Document: Development Guide

of Administrator which actor wants to


delete.
3. Actor clicks Yes button.[Alternative 1]
Alternative flow

[Alternative 1]
1. Actor clicks on to No button

Approved by: Faculty

Administrator?
4. System deletes the administrator in the
database.
2. System redirects to View List of
Administrators page

Exception

8.7.5.Update Advertisement Price


Author
Le Viet Truc
Use case name
Update Advertisement Price
Actors
Administrator
Description
Update Advertisement Price
Requirements
Actor provides Advertisements price
Pre-conditions
Actor has already logged into the System as Administrator
Post-conditions
Success: Manage Advertisement Price
Failed: Refill information
Basic flow
Actor actions:
System response:
1. From Admin page, actor clicks on to a 2. System redirects to Update
Update Advertisement Price hyperlink.
Advertisement Price page and display
information in table form:
Position (include: Top Left, Left, Top
Right, Right, Bottom) label
Price textfield
Save button
3. Actor changes Price and then clicks on 4. System checks information.
to Save button.
[Exception 1]
5. System updates information into
database.
Alternative flow
Exception
[Exception 1]
System display a message to notice actor:
1. Actor lefts Price textfields
Price cannot be blank. Please input the
Price.
2. Actor input alpha data into Price
Price is numeric only.
textfield

Project Team: 01

Prepared by: All members

Page 51 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

8.7.6.Manage Banks

8.7.6.1. View List of Banks


Author
Nguyen Hai Dang
Use Case Name
View List of Banks
Actors
Administrator
Description
Administrator wish to view list of banks
Requirements
Pre-conditions
Actor has logged in as Administrator
Post-conditions
Success: List of bank show successful
Basic flow
Actor Actions:
1. Actor clicks Managing Bank button on
Admin page

Alternative flow

Project Team: 01

Actor Actions:
[Alternative1]
Actor clicks Add button on View List of
Banks page

System Responses:
2. System redirects to View List of Banks
page and displays form for Actor :
-Name label
-Address label
-Phone label
-Add Date label
-Activate button
-Add button
-Modify button
-Delete button
[Alternative 1] [Alternative 2] [Alternative
3] [Alternative 4]
System Responses:
System redirects to Add Banks page

Prepared by: All members

Page 52 of 240

Project: My Sweet Home

Document: Development Guide

[Alternative 2]
Actor clicks Modify button on View List of
Banks page
[Alternative 3]
Actor clicks Activate button on View List of
Banks page
[Alternative 4]
Actor clicks Delete button on View List of
Banks page

Approved by: Faculty

System redirects to Modify Banks page

System change status of bank to


deactivate and change label of button to
Deactivate
View in Delete Banks usecase

Exceptions

8.7.6.2. Add Bank


Author
Use Case Name
Actors
Description
Requirements
Pre-conditions
Post-conditions
Basic flow

Project Team: 01

Nguyen Hai Dang


Add Bank
Administrator
Admonistrator wish to add new Bank
Administrator must be provide name of bank and correct min and max price to add new
bank
Actor has logged in as Administrator
Success: Add bank successful
Fail: Refill information
Actor Actions:
System Responses:
1. Actor clicks Add button on View list of
2. System redirects to this page and
banks page
displays form for Actor to input
information with the following control :
-Name text field
-Status list box (Activate/Deactivate)
-URL text field
-Add Date textfield (auto fill with current
date)
-Add button
-Cancel button
-Clear button
3. Actor inputs property type information :
4. System checks information input
- Provide the banks name in Name text
[Exception 1]
field.
- Provide the banks address in Address
text field.
- Provide the Url of banks webservice in
URL text field.
-Choose status of bank in Status list box
5. Actor click Add button.
6. System add bank into database then

Prepared by: All members

Page 53 of 240

Project: My Sweet Home

Alternative flow

Exceptions

Document: Development Guide

[Alternative 1]
[Alternative 2]
Actor Actions:
[Alternative 1]
Actor click Clear button
[Alternative 2]
Actor click Cancel button
Actor Actions:
[Exception 1]
1. Buyer left Name text field blank

2. Length of name >50 char


3. Value in Name text field has been in
database
4. Buyer lefts Url text field blank

Approved by: Faculty

display message Your bank has been


add successful.
System Response:
All field will blank
System redirects to View List of Bank
page.
System Response:
1. System displays message to notice
seller: Name of bank cant be blank.
Please enter name for bank.
2. System displays message to notice
seller: Length of banks name cant be
large than 50 char.
3. System displays message to notice
seller: This name of bank has been in
database. Please check and enter
another name.
4. System displays message to notice
seller: URL of bank cant be blank.
Please enter Url of banks webservice.

8.7.6.3. Modify Bank


Author
Use Case Name
Actors
Description
Requirements
Pre-conditions
Post-conditions
Basic flow

Project Team: 01

Nguyen Hai Dang


Modify Bank
Administrator
Administrator wish to modify bank
Administrator must be provide name of bank and correct min and max price to modify
bank
Actor has logged in as Administrator
Success: Modify bank successful
Fail: Refill information
Actor Actions:
System Responses:
1. Actor clicks Modify button on View list of 2. System redirects to this page and
banks page
displays form for Actor to input
information with the following control :
-Name text field
-Status list box (Activate/Deactivate)
-URL text field

Prepared by: All members

Page 54 of 240

Project: My Sweet Home

Alternative flow

Exceptions

Document: Development Guide

3. Actor inputs property type information :


- Provide the banks name in Name text
field.
- Provide the banks address in Address
text field.
- Provide the Url of banks webservice in
URL text field.
-Choose status of bank in Status list box
5. Actor click Modify button.
[Alternative 1]
[Alternative 2]
Actor Actions:
[Alternative 1]
Actor click Refill Data button
[Alternative 2]
Actor click Cancel button
Actor Actions:
[Exception 1]
1. Buyer left Name text field blank

2. Length of name >50 char


3. Value in Name text field has been in
database
4. Buyer lefts Url text field blank

Project Team: 01

Approved by: Faculty

-Add Date textfield (auto fill with value in


table Banks)
-Modify button
-Cancel button
-Refill Data button
System fill name , url, status for bank
4. System checks information input
[Exception 1]

6. System add bank into database then


display message Your bank has been
add successful.
System Response:
All field wil reload data
System redirects to View List of Bank
page.
System Response:
1. System displays message to notice
seller: Name of bank cant be blank.
Please enter name for bank.
2. System displays message to notice
seller: Length of banks name cant be
large than 50 char.
3. System displays message to notice
seller: This name of bank has been in
database. Please check and enter
another name.
4. System displays message to notice
seller: URL of bank cant be blank.
Please enter Url of banks webservice.

Prepared by: All members

Page 55 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

8.7.6.4. Delete Bank


Author
Use Case Name
Actors
Description
Requirements
Pre-conditions
Post-conditions
Basic flow

Alternative flow

Nguyen Hai Dang


Delete Bank
Administrator
Administrator wish to delete bank
Administrator must be choose bank to delete
Actor has logged in as Administrator
Success: Delete bank successful
Fail: Error Page show
Actor Actions:
System Responses:
1. Actor clicks Delete button on View list of 2. System show popup message :Do
banks page
you want to remove this bank : + banks
name. With Yes and No button
3. Actor clicks Yes button on popup
4. System delete bank from database
message
then display message Your bank has
[Alternative 1]
been delete successful.
Actor Actions:
[Alternative 1]
Actor clicks No button on popup message

System Responses:
System returns to current page.

Exceptions

8.7.7.Manage Customers

8.7.7.1. View List of Customers


Author
Le Viet Truc
Use case name
View List of Customers
Actors
Administrator

Project Team: 01

Prepared by: All members

Page 56 of 240

Project: My Sweet Home


Description
Requirements
Pre-conditions
Post-conditions
Basic flow

Document: Development Guide

Approved by: Faculty

View List of Customers


Actor has already logged into the System as Administrator
Success: View List of Customers
Actor actions:
System response:
1. From Admin page, actor clicks on to
2. System redirects to Managing
Managing Customers button.
Customers page and display list of
Customers in table form:
- No.
- Name
- Customer Type
- GoldBuyer
- Status (Active/Deactivate button)

Alternative flow
Exception

8.7.7.2. View Customer Detail


Author
Le Viet Truc
Use case name
View Customer Detail
Actors
Administrator
Description
View Customer Detail
Requirements
Pre-conditions
Actor has already logged into the System as Administrator
Post-conditions
Success: View Customer Detail
Basic flow
Actor actions:
System response:
1. From View List of Customers page,
2. System redirects to Customer Detail
actor clicks on to a Customer Name
page and display Customer information:
hyperlink.
- Name
- Type
- Birthday
- Sex
- Address
- Phone
- Email
- Username
- GoldExpiredDate
- Status
Alternative flow
Exception

Project Team: 01

Prepared by: All members

Page 57 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

8.7.7.3. Ban Customer


Author
Le Viet Truc
Use case name
Ban Customer
Actors
Administrator
Description
Ban Customer
Requirements
Pre-conditions
Actor has already logged into the System as Administrator
Post-conditions
Success: A Customer is banned
Basic flow
Actor actions:
System response:
1. From View List of Customers page,
2. A confirms message box appears:Are
actor clicks on to the Status button of the you sure that you want to ban this
Customer whom actor wants to ban
Customer?
(symbol of Status button is activate).
[Alternative 1]
3. Actor clicks Yes button.[Alternative 2]
4. The symbol of Status button will
change to Activate symbol.
5. System saves Customers information.
Alternative flow
[Alternative 1]
1. The symbol of Status button is
2. A confirms message box appears:Are
deactivate, Actor clicks on to Status
you sure that you want to activate this
button.
Customer?
3. Actor clicks Yes button.[Alternative 2]
4. The symbol of Status button will
change to Deactivate symbol.
5. System saves Customers information.
[Alternative 2]
1. Actor clicks No button.
2. System redirects to List of Customers
page.
Exception

Project Team: 01

Prepared by: All members

Page 58 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

8.7.8.Manage Directories

8.7.8.1. View List of Directories


Author
Le Viet Truc
Use case name
View List of Directories
Actors
Administrator
Description
View List of Directories
Requirements
Pre-conditions
Actor has already logged into the System as Administrator
Post-conditions
Success: View List of Directories
Basic flow
Actor actions:
System response:
1. From Admin page, actor clicks on to
2. System redirects to Managing
the Managing Directories button.
Directories page and display Directory
Category combobox (All, Category Name)
and list of all of Directories in table form:
- No.
- Name
- Category
- Status (Visible/Invisible)
- Delete (Delete button)
[Alternative 1]
Alternative flow
[Alternative 1]
1. Actor selects a Directory Category at
2. System display list of Directories of the
Directory Category combobox.
Directory Category in table form.
Exception

8.7.8.2. Add Directory


Author
Le Viet Truc
Use case name
Add Directory
Actors
Administrator
Description
Add a Directory

Project Team: 01

Prepared by: All members

Page 59 of 240

Project: My Sweet Home


Requirements
Pre-conditions
Post-conditions
Basic flow

Alternative flow

Exception

Document: Development Guide

Actor provides Directory information


Actor has already logged into the System as Administrator
Success: A Directory is added into the database.
Failed: Refill information.
Actor actions:
System response:
1. From View List of Directories page,
2. System redirects to Add Directory page
actor clicks on to the Add Directory
and display form with the following
button.
controls:
Directory Category combobox.
Other Directory Category button.
Directory Name textfield.
Description textfield.
Directory Website textfield.
Directory Image image.
Directory Image Path textfield (disabled,
actor cannot inputs this textfield).
Browse button.
Add button.
3. Actor:
4. System checks input information.
- Select Directory Category in Directory
[Exception 1]
Category combobox. [Alternative 1]
5. System adds new Directory into the
- Inputs Directory Name into Directory
database.[Alternative 3]
Name textfield.
- Inputs Description into Description
textfield.
- Inputs Directory Website into Directory
Website textfield.
- Clicks on to Browse button to select
path of Directory Image, this path is
displayed in Directory Image Path
textfield.
- Clicks on to Add button to finish
adding. [Alternative 2]
[Alternative 1]
1. Actor clicks on to Other Directory
2. The Directory Category Name text field
Category button.
appears.
3. Actor inputs Directory Category Name
into Directory Category Name text field.
[Alternative 2]
1. Actor clicks on to Back button.

2. System redirects to View List of


Directories page.

[Alternative 3]
1. Actor has inputted Directory Category
Name into Directory Category Name text
field.
[Exception 1]

2. System adds new Directory and new


Directory Category into the database.

1. Actor doesnt select Directory Category


in Directory Category combobox.
2. Actor lefts Directory Name textfield.
3. Actor lefts Description textfield.

Project Team: 01

Approved by: Faculty

System displays a message to notice


actor:
Please select a Directory Category.
Directory Name cannot be blank. Please
input Directory Name.
Description cannot be blank. Please input
Description.

Prepared by: All members

Page 60 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

8.7.8.3. Modify Directory


Author
Le Viet Truc
Use case name
Modify Directory
Actors
Administrator
Description
Modify a Directory
Requirements
Actor provides Directory information
Pre-conditions
Actor has already logged into the System as Administrator
Post-conditions
Success: A Directory is updated in the database.
Failed: Refill information.
Basic flow
Actor actions:
System response:
1. From View List of Directories page,
2. System redirects to Modify Directory
actor clicks on to the Directory Name
page and display form with the following
hyperlink which wants to modify.
controls:
Directory Category combobox.
Other Directory Category button.
Directory Name textfield.
Description textfield.
Directory Website textfield.
Directory Image image.
Directory Image Path textfield (disabled,
actor cannot inputs this textfield).
Browse button.
Save button.
3. Actor:
4. System checks input information.
- Select Directory Category in Directory
[Exception 1]
Category combobox. [Alternative 1]
5. System updates information into the
- Inputs Directory Name into Directory
database.[Alternative 3]
Name textfield.
- Inputs Description into Description
textfield.
- Inputs Directory Website into Directory
Website textfield.
- Clicks on to Browse button to select
path of Directory Image, this path is
displayed in Directory Image Path
textfield.
- Clicks on to Save button to finish
adding. [Alternative 2]
Alternative flow
[Alternative 1]
1. Actor clicks on to Other Directory
2. The Directory Category Name text field
Category button.
appears.
3. Actor inputs Directory Category Name

Project Team: 01

Prepared by: All members

Page 61 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

into Directory Category Name text field.

Exception

[Alternative 2]
1. Actor clicks on to Back button.

2. System redirects to View List of


Directories page.

[Alternative 3]
1. Actor has inputted Directory Category
Name into Directory Category Name text
field.
[Exception 1]

2. System updates Directory and adds


new Directory Category into the database.

1. Actor lefts Directory Name textfield.


2. Actor lefts Description textfield.

System displays a message to notice


actor:
Directory Name cannot be blank. Please
input Directory Name.
Description cannot be blank. Please input
Description.

8.7.8.4. Delete Directory


Author
Le Viet Truc
Use case name
Delete Directory
Actors
Administrator
Description
Delete a Directory
Requirements
Pre-conditions
Actor has already logged into the System as Administrator
Post-conditions
Success: A Directory is deleted in the database.
Basic flow
Actor actions:
System response:
1. From View List of Directories page,
2. A confirms message box appears:Do
actor clicks on to the Delete hyperlink of
you want to delete this directory?
Directory which actor wants to delete.
3. Actor clicks Yes button.[Alternative 1]
4. System deletes the directory in the
database.
Alternative flow
[Alternative 1]
1. Actor clicks on to No button
2. System redirects to View List of
Directories page
Exception

Project Team: 01

Prepared by: All members

Page 62 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

8.7.9.Manage Directory Categories

8.7.9.1. View List of Directory Categories


Author
Le Viet Truc
Use case name
View List of Directory Categories
Actors
Administrator
Description
View List of Directory Categories
Requirements
Pre-conditions
Actor has already logged into the System as Administrator
Post-conditions
Success: View List of Directory Categories
Basic flow
Actor actions:
System response:
1. From Admin page, actor clicks on to
2. System redirects to Managing
the Managing Directory Categories
Directories page and display list of all of
button.
Directory Categories in table form:
- No.
- Name
- Status (Visible/Invisible)
- Delete (Delete button)
Alternative flow
Exception

Project Team: 01

Prepared by: All members

Page 63 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

8.7.9.2. Add Directory Category


Author
Le Viet Truc
Use case name
Add Directory
Actors
Administrator
Description
Add a Directory
Requirements
Actor provides Directory Category information
Pre-conditions
Actor has already logged into the System as Administrator
Post-conditions
Success: A Directory is added into the database.
Failed: Refill information
Basic flow
Actor actions:
System response:
1. From View List of Directories page,
2. System redirects to Add Directory page
actor clicks on to the Add Directory
and display form with the following
button.
controls:
Directory Category combobox.
Other Directory Category button.
Directory Name textfield.
Description textfield.
Directory Website textfield.
Directory Image image.
Directory Image Path textfield (disabled,
actor cannot inputs this textfield).
Browse button.
Add button.
3. Actor:
4. System checks input information.
- Select Directory Category in Directory
[Exception 1]
Category combobox. [Alternative 1]
5. System adds new Directory into the
- Inputs Directory Name into Directory
database.[Alternative 3]
Name textfield.
- Inputs Description into Description
textfield.
- Inputs Directory Website into Directory
Website textfield.
- Clicks on to Browse button to select
path of Directory Image, this path is
displayed in Directory Image Path
textfield.
- Clicks on to Add button to finish
adding. [Alternative 2]
Alternative flow
[Alternative 1]
1. Actor clicks on to Other Directory
2. The Directory Category Name text field
Category button.
appears.
3. Actor inputs Directory Category Name
into Directory Category Name text field.

Exception

[Alternative 2]
1. Actor clicks on to Back button.

2. System redirects to View List of


Directories page.

[Alternative 3]
1. Actor has inputted Directory Category
Name into Directory Category Name text
field.
[Exception 1]

2. System adds new Directory and new


Directory Category into the database.

1. Actor doesnt select Directory Category


in Directory Category combobox.

Project Team: 01

System displays a message to notice


actor:
Please select a Directory Category.

Prepared by: All members

Page 64 of 240

Project: My Sweet Home

Document: Development Guide

2. Actor lefts Directory Name textfield.


3. Actor lefts Description textfield.

Approved by: Faculty

Directory Name cannot be blank. Please


input Directory Name.
Description cannot be blank. Please input
Description.

8.7.9.3. Modify Directory Category


Author
Le Viet Truc
Use case name
Modify Directory
Actors
Administrator
Description
Modify a Directory
Requirements
Actor provides Directory Category information
Pre-conditions
Actor has already logged into the System as Administrator
Post-conditions
Success: A Directory is updated in the database.
Failed: Refill information
Basic flow
Actor actions:
System response:
1. From View List of Directories page,
2. System redirects to Modify Directory
actor clicks on to the Directory Name
page and display form with the following
hyperlink which wants to modify.
controls:
Directory Category combobox.
Other Directory Category button.
Directory Name textfield.
Description textfield.
Directory Website textfield.
Directory Image image.
Directory Image Path textfield (disabled,
actor cannot inputs this textfield).
Browse button.
Save button.
3. Actor:
4. System checks input information.
- Select Directory Category in Directory
[Exception 1]
Category combobox. [Alternative 1]
5. System updates information into the
- Inputs Directory Name into Directory
database.[Alternative 3]
Name textfield.
- Inputs Description into Description
textfield.
- Inputs Directory Website into Directory
Website textfield.
- Clicks on to Browse button to select
path of Directory Image, this path is
displayed in Directory Image Path
textfield.
- Clicks on to Save button to finish
adding. [Alternative 2]

Project Team: 01

Prepared by: All members

Page 65 of 240

Project: My Sweet Home


Alternative flow

Exception

Document: Development Guide

[Alternative 1]
1. Actor clicks on to Other Directory
Category button.
3. Actor inputs Directory Category Name
into Directory Category Name text field.

Approved by: Faculty

2. The Directory Category Name text field


appears.

[Alternative 2]
1. Actor clicks on to Back button.

2. System redirects to View List of


Directories page.

[Alternative 3]
1. Actor has inputted Directory Category
Name into Directory Category Name text
field.
[Exception 1]

2. System updates Directory and adds


new Directory Category into the database.

1. Actor lefts Directory Name textfield.


2. Actor lefts Description textfield.

System displays a message to notice


actor:
Directory Name cannot be blank. Please
input Directory Name.
Description cannot be blank. Please input
Description.

8.7.9.4. Delete Directory Category


Author
Le Viet Truc
Use case name
Delete Directory
Actors
Administrator
Description
Delete a Directory
Requirements
Pre-conditions
Actor has already logged into the System as Administrator
Post-conditions
Success: A Directory is deleted in the database.
Basic flow
Actor actions:
System response:
1. From View List of Directories page,
2. A confirms message box appears:Are
actor clicks on to the Delete hyperlink of
you sure that you want to delete this
Directory which actor wants to delete.
directory category?
3. Actor clicks Yes button.[Alternative 1]
4. System checks input information.
[Exception 1]
5. System deletes the directory category in
the database.
Alternative flow
[Alternative 1]
1. Actor clicks on to No button
2. System redirects to View List of
Directories page
Exception
[Exception 1]
System displays a message to notice
actor:
The Directory Category has referenced to The Directory Category has referenced to
a Directory
a Directory.

Project Team: 01

Prepared by: All members

Page 66 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

8.7.10. Manage FAQs

8.7.10.1.
View List of Questions
Author
Nguyen Hai Dang
Use case name
View List of Questions
Actors
Administrator
Description
View List of Questions
Requirements
Pre-conditions
Already login into the System as Administrator
Post-conditions
Success: View List of Questions
Basic flow
Actor actions:
System response:
1. From Admin page, actor clicks on to
2. System redirects to Managing
the Managing Questions button.
Questions page and display list of all of
Questions in table form with control :
Question label
Modify button
Delete button
Add Question button
Alternative flow
Exception

Project Team: 01

Prepared by: All members

Page 67 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

8.7.10.2.
Add Question
Author
Nguyen Hai Dang
Use case name
Add Question
Actors
Administrator
Description
Add a Question
Requirements
Pre-conditions
Already login into the System as Administrator
Post-conditions
Success: A Question is added into the database.
Basic flow
Actor actions:
System response:
1. From View List of Questions page,
2. System redirects to Add Question page
actor clicks on to the Add Question
and display form with the following
button.
controls:
Question textfield.
Answer textfield.
Add button.
Clear button
Cancel
3. Actor:
4. System checks information.
- Inputs Question into Question textfield. [Exception 1]
- Inputs Answer into Answer textfield.
- Clicks on to Add button to finish
adding. [Alternative 1] [Alternative 2]
Alternative flow
[Alternative 1]
1. Actor clicks on to Cancel button
1. System redirects to View List of
Questions page
[Alternative 2]
1. Actor clicks on to Clear button
2. All field will clear
Exception
[Exception 1]
System displays a message to notice
actor:
1. Actor lefts Question textfield.
Question cannot be blank. Please input
Question.
2. Actor lefts Answer textfield.
Answer cannot be blank. Please input
Answer.

Project Team: 01

Prepared by: All members

Page 68 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

8.7.10.3.
Modify Question
Author
Nguyen Hai Dang
Use case name
Modify Question
Actors
Administrator
Description
Modify a Question
Requirements
Pre-conditions
Already login into the System as Administrator
Post-conditions
Success: A Question is updated in the database.
Basic flow
Actor actions:
System response:
1. From View List of Questions page,
2. System redirects to Modify Question
actor clicks on to the Modify button
page and display form with the following
controls:
Question textfield.
Answer textfield.
Modify button.
Refill Data button
Cancel button
3. Actor:
4. System checks information.
- Inputs Question into Question textfield. [Exception 1]
- Inputs Answer into Answer textfield.
- Clicks on to Save button to finish
adding. [Alternative 1] [Alternative 2]
Alternative flow
[Alternative 1]
1. Actor clicks on to Cancel button
1. System redirects to View List of
Questions page
[Alternative 2]
1. Actor clicks on to Refill Data button
2. Reload data to all field
Exception
[Exception 1]
System displays a message to notice
actor:
1. Actor lefts Question textfield.
Question cannot be blank. Please input
Question.
2. Actor lefts Answer textfield.
Answer cannot be blank. Please input
Answer.

8.7.10.4.
Delete Question
Author
Nguyen Hai Dang
Use case name
Delete Question
Actors
Administrator
Description
Delete a Question
Requirements
Pre-conditions
Already login into the System as Administrator
Post-conditions
Success: A Question is deleted in the database.

Project Team: 01

Prepared by: All members

Page 69 of 240

Project: My Sweet Home


Basic flow

Alternative flow

Document: Development Guide

Actor actions:
1. From View List of Questions page,
actor clicks on to the Delete hyperlink of
Question which actor wants to delete.
3. Actor clicks Yes button.[Alternative 1]
[Alternative 1]
1. Actor clicks on to No button

Approved by: Faculty

System response:
2. A confirms message box appears:Do
you want to delete this Question?
4. System deletes the question in the
database.
2. System redirects to View List of
Questions page

Exception

Project Team: 01

Prepared by: All members

Page 70 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

9. Entity Relationship Diagram (ERD)


9.1. Conceptual

9.2. Logical

Project Team: 01

Prepared by: All members

Page 71 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

9.3. Table
9.3.1.Admin

9.3.2.Bank

9.3.3.Customer
Status

CustomerID

GoldExpiredDate

CustomerType

CreditExpiredDate

Name
Customer

CardName

Birthday

CreditNo

Sex
Password

Address
Username

Phone
Email

Project Team: 01

Prepared by: All members

Page 72 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

9.3.4.Directory

9.3.5.DirectoryCategory

9.3.6.FAQ

Project Team: 01

Prepared by: All members

Page 73 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

9.3.7.Property
NumberOfBathRooms
NumberOfBedRooms

Deponsit

IsNegotiable

Rent

Status

Price

PaymentMode

Location

TransportMode

City

ExtraFacilitiesAvailable

SqureFootable
Property

WithFuniture

SumittionType

Views

PropertyPossisionID

ContactName

CustomerID

ContactExpress
PropertyTypeID
ContactPhone
PropertyID
ContactEmail
SubmittedDate

NumberOfAdvsDays

IsDeleted

Longtitude
Latitude

9.3.8.PropertyPosition

9.3.9.PropertyType

Project Team: 01

Prepared by: All members

Page 74 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

9.3.10. SearchQuery
SearchDate
WithFurniture

IsNotFound

IsNegotiable

SearchQueryID

NumberOfBathRooms

CustomerID

NumberOfBedRooms

PropertyType

MaxPrice

SubmissionType
Customer
MinPrice

MinSquareFootage

MaxRent

MaxSquareFootage
MinRent

City
MaxDeposit

Location
MinDeposit

9.3.11. Shortcut

Prepared by (Student)
Team leader

Approved by (Faculty)

Le Viet Truc

Kieu Trong Khanh

Signature
Date

Project Team: 01

Prepared by: All members

Page 75 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

REVIEW 3

Project Team: 01

Prepared by: All members

Page 76 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

10. Database Relationship Diagram

Project Team: 01

Prepared by: All members

Page 77 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

11. Table Definition


11.1. Admin
Key

Field Name

PK Username
Password

Data
Allow Default
Length
Type
Null
value
nvarchar
30
No
nvarchar
30
No

FullControl

bit

Contrainst:
Name
Admin

No

Table-FieldRef

Username
Password
Permission of administrators:
0: Low Permission
1: High Permission

Add
+
(FullControl=true)

Description

Delete
+
(FullControl=true)

Update
+
(Total, FullControl=true
only can update
FullControl field)

11.2. Banks
Key

Field Name

PK BankID
Name
Address
Phone
Status
Contrainst:
Name
Banks

Data
Lengt Allow Default
Type
h
Null
value
int
4
No
nvarchar
50
No
nvarchar 200
No
nvarchar
14
No
Bit
1
No
Add
+

Table-FieldRef

Description
Bank ID, FK of Banks table
Name of bank
Address of bank
Max of Price
Status of bank

Delete
+
(no percentage
references to this bank)

Update
+
(no percentage
references to this bank)

11.3. Customers
Key

Field Name

PK CustomerID
CustomerType
Name
Birthday
Sex
Address
Phone
Email
Username
Password
CreditNo
CardName

Project Team: 01

Data
Type
int

Length
4

Allow Default
Null
value
No

bit

No

nvarchar
datetime

30
8

No
No

tinyint

No

nvarchar
nvarchar
nvarchar
nvarchar
nvarchar
nvarchar
nvarchar

200
14
30
30
30
16
30

No
No
No
No
No
Yes
Yes

TableField-Ref

Prepared by: All members

Description
Customer ID Identity
Type of Customer
0: Buyer
1: Seller
Customers Name
Customers Birthday
Customers Sex:
0: Female
1: Male
2: Others
Customers Address
Customers Phone
Customers Email
Customers Username
Customers Password
Customers Credit No
Customers Card Name

Page 78 of 240

Project: My Sweet Home

Document: Development Guide

CreditExpiredDate datetime
GoldExpiredDate datetime

8
8

Yes
Yes

Status

No

bit

Contrainst:
Name
Customer

Approved by: Faculty

Customers Credit Expired Date


Customers Gold Expired Date
Customers Status
1: Active
0: Banned

Add
+

Delete
-

Update
+

11.4. Directories
Data
Type

Length

PK DirectoryID

int

No

FK DirectoryCategoryID

int

No

nvarchar
nvarchar
ntext
nvarchar
nvarchar
nvarchar

30
200
16
14
255
30

No
No
No
No
Yes
No

bit

No

Key

Field Name

Name
Address
Description
Phone
Website
Email
Status
Contrainst:
Name
Directory

Allow Default
Null
value

Table-Field-Ref

Description

Directory ID
Identity
DirectoryCategories. Directory Category ID, FK of
DirectoryCategoryID Directory Categories table
Directory Category Name
Directory Address
Directory Description
Directory Phone
Directory Website
Directory Email
Status of Directory
0: Invisible
1: Visible

Add
+

Delete
+

Update
+

11.5. DirectoryCategories
Data
Type

Length

int

No

Name

nvarchar

30

No

Status

bit

No

Key

Field Name

PK DirectoryCategoryID

Contrainst:
Name
DirectoryCategory

Allow Default
Null
value

Add
+

Table-FieldRef

Description
Directory Category ID
Identity
Directory Category Name
Status of Directory Category
0: Invisible
1: Visible

Delete
+
(no directory references
to this
directoryCategory)

Update
+
(no directory references
to this
directoryCategory)

11.6. FAQs
Key

Field Name

PK FAQID

Project Team: 01

Data
Type

Length

nvarchar

Allow Default
Null
value

Table-FieldRef

No

Prepared by: All members

Description
FAQ ID
Identity

Page 79 of 240

Project: My Sweet Home


Question
Answer
Contrainst:
Name
FAQ

Project Team: 01

nvarchar
nvarchar

Document: Development Guide


30
30
Add
+

No
No

Approved by: Faculty


Question
Answer

Delete
+

Prepared by: All members

Update
+

Page 80 of 240

Project: My Sweet Home

11.7.

Document: Development Guide

Properties
Data
Type

Length

PK PropertyID

int

No

FK CustomerID

int

No

FK PropertyTypeID

int

Yes

FK PropertyPositionID

Int

No

tinyint

Yes

float
nvarchar
nvarchar
float
float
float
tinyint
tinyint

8
30
200
8
8
8
1
1

Yes
No
No
Yes
Yes
Yes
Yes
Yes

bit

Yes

PaymentMode

tinyint

No

TransportMode

nvarchar

100

Yes

ExtraFacilitiesAvailable nvarchar

100

Yes

bit

Yes

int
nvarchar
nvarchar
nvarchar
nvarchar
datetime

4
30
200
14
25
8

No
Yes
Yes
Yes
Yes
No

NumberOfAdvsDays

int

No

Status

bit

No

IsDeleted

Bit

Yes

Lattitude
Longtitude

Float
Float

8
8

Yes
yes

Key

Approved by: Faculty

Field Name

SubmissionType
SquareFootage
City
Location
Deposit
Rent
Price
NumberOfBedRooms
NumberOfBathRooms
IsNegotiable

WithFurniture
Views
ContactName
ContactAddress
Contact Phone
Contact Email
SubmittedDate

Project Team: 01

Allow Default
Null
value

Table-Field-Ref

Description

Search Query ID
Identity
Customer ID, FK of
Customers.CustomerID
Customers table
PropertyTypes.Property
Type of Property
TypeID
Property Position ID,FK
PropertyPosition.Proper
of Property Position
tyPositionID
table
Type of Submission:
0: House for Sell
1: House for Rent
2: Room for Rent
Square Footage
City
Location
Deposit
Rent
Property Price
Number Of Bed Rooms
Number Of Bath Rooms
Is Negotiable:
0: No
1: Yes
Payment mode
0:Cash
1:Creditcard
2:Money Transfer
Transport Mode
Extra Facilities
available
With Furniture:
0: No
1: Yes
Number of view times
Contact Name
Contact Address
Contact Phone
Contact Email
Submitted Date
Number of
advertisement Days
Status:
0:active
1:deactive
2:deleted
IsDeleted
0:No
1:Yes
Latitude of google map
Longtitude of google

Prepared by: All members

Page 81 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty


map

Contrainst:
Name
Property

Add
+

Delete
+

Update
+

11.8. PropertyPositions
Key

Data
Type

Length

int

No

nvarchar
float

30
8

No
No

Field Name

PK PropertyPositionID
Name
Price
Contrainst:
Name
PropertyPosition

Allow Default
Null
value

Table-FieldRef

Property Position ID
Identity
Property Position Name
Price of the Property Position

Add
-

Description

Delete
-

Update
+

11.9. PropertyTypes
Key

Field Name

PK PropertyTypeID
Name
Contrainst:
Name
PropertyTypes

Data
Lengt Allow Default
Type
h
Null
value
int
4
No
nvarchar
30
No
Add
+

Table-FieldRef

Description
Property Type ID
Name of Property Type

Delete
+
(No Property references
to this type)

Update
+
(No Property references
to this type)

11.10. SearchQueries
Key

Field Name

PK SearchQueryID

Data
Type
int

Length
4

Allow Default
Null
value
No

FK CustomerID

int

No

FK PropertyTypeID

int

No

tinyint

Yes

MinSquareFootage

float

Yes

MaxSquareFootage

float

Yes

nvarchar
nvarchar
float
float
float
float
float

30
200
8
8
8
8
8

Yes
Yes
Yes
Yes
Yes
Yes
Yes

SubmissionType

City
Location
MinDeposit
MaxDeposit
MinRent
MaxRent
MinPrice

Project Team: 01

Table-Field-Ref

Description

Search Query ID Identity


Customer ID, FK of
Customers.CustomerID
Customers table
PropertyTypes.Property
Type of Property
TypeID
Type of Submission:
0: Property for Sale
1: Property for Rent
2: Room for Rent
Minimum Square Footage
Maximum Square
Footage
City
Location
Minimum Deposit
Maximum Deposit
Minimum Rent
Maximum Rent
Minimum Price

Prepared by: All members

Page 82 of 240

Project: My Sweet Home


MaxPrice
NumberOfBedRooms
NumberOfBathRooms

Document: Development Guide

float
tinyint
tinyint

8
1
1

Yes
Yes
Yes

IsNegotiable

bit

Yes

WithFurniture

bit

Yes

SearchDate

datetime

No

IsNotFound

bit

No

Contrainst:
Name
SearchQuery

Add
+

Approved by: Faculty


Maximum Price
Number Of Bed Rooms
Number Of Bath Rooms
Is Negotiable:
0: No
1: Yes
With Furniture:
0: No
1: Yes
Date of Search Query
Search Queries Result:
0: Found
1: Not found

Delete
+
(if reach 5 records per
customer, auto delete
the first one)

Update
-

11.11. Shortcuts
Data
Type

Length

FK CustomerID

int

No

FK PropertyID

int

No

AddedDate
Contrainst:
Name
Shortcut

datetime

No

Key

Field Name

Project Team: 01

Add
+

Allow Default
Null
value

Table-Field-Ref

Description

Customer ID, FK of
Customers table
Property ID, FK of
Properties.PropertyID
Properties table
Type of Property

Customer.CustomerID

Delete
+

Prepared by: All members

Update
-

Page 83 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12. Other constrains:


12.1. Customers and SearchQueries
Name
Customers

Add
+

Delete
-

SearchQueries

+
(Customers. CustomerID
must exist)

Update
+
(Customers.CustomerID,
Customers.UserName,
Customers.CustomerTyp
e cannot be changed)
-

12.2. Customers and Shortcuts


Name
Customers

Add
-

Delete
-

Shortcuts

+
(Customers.CustomerID
must exist)

Update
+
(Customers.CustomerID,
Customers.UserName,
Customers.CustomerTyp
e cannot be changed)
-

12.3. Customers and Properties


Name
Customers

Add
+

Delete
-

Properties

+
(Customers. CustomerID
must exist)

Update
+
(Customers.CustomerID,
Customers.UserName,
Customers.CustomerTyp
e cannot be changed)
+
(Properties.PropertyID,
Properties.CustomerID
cannot be changed)

12.4. Properties and Shortcuts


Name
Properties

Add
+

Delete
+

Shortcuts

+
(Properties. PropertyID
must exist)

Update
+
(Properties.PropertyID,
Properties.CustomerID
cannot be changed)
-

Delete
-

Update
-

12.5.

PropertyTypes and Properties

Name
PropertyTypes

Project Team: 01

Add
-

Prepared by: All members

Page 84 of 240

Project: My Sweet Home


Properties

Document: Development Guide

+
(PropertyTypes.
PropertyTypeID must exist)

Approved by: Faculty

+
(Properties.PropertyID,
Properties.CustomerID
cannot be changed)

Update
+
(PropertyPositions.
PropertyPositionID,
PropertyPositions.Name
cannot be changed)
+
(Properties.PropertyID,
Properties.CustomerID
cannot be changed)

12.6. PropertyPositions and Properties


Name
PropertyPositions

Add
-

Delete
-

Properties

+
(PropertyTypes.
PropertyTypeID must exist)

12.7. DirectoryCategories Directories


Name
DirectoryCategories

Add
+

Directories

+
(DirectoryCategories.Direct
oryCategoryID must exist)

Project Team: 01

Delete
+
(Directories.
DirectoryID is not exist
in Directories)
+

Prepared by: All members

Update
+
(DirectoryCategories.
DirectoryCategoryID
cannot be changed)
+
(Directories.DirectoryID
cannot be changed)

Page 85 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

13. Site map


13.1. Home Side

Project Team: 01

Prepared by: All members

Page 86 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

13.2. Admin Side

Project Team: 01

Prepared by: All members

Page 87 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

14. GUI Design


14.1. Home side
14.1.1. Home page:
This is Home page of the website, the customers will go to this page first.

No.

Name

Type

Validation

Event

btnHome

Button

Click

btnSiteMap

Button

Click

btnAboutUs

Button

Click

btnSearch

Button

Click

btnSellProperty

Button

Click

Project Team: 01

Prepared by: All members

Description
Redirect to Home
page
Redirect to Site
Map page
Redirect to About
Us page
Redirect to Search
page
Redirect to Sell
Property page

Status

Page 88 of 240

Project: My Sweet Home

Document: Development Guide

btnRentProperty

Button

Click

btnServices

Button

Click

btnFAQs

Button

Click

btnMyAccount

Button

Click

10

btnContactUs

Button

Click

11
12

txtUsername
txtPassword

Text field
Text field

13

btnLogin

Button

Click

14

imgLatestProperty

Image

Click

15

lblAuthor

Label

16

lblPrice

Label

17

lblSubmittedDate

Label

18

btnMore

Button

Project Team: 01

6<=length<=30
6<=length<=30

Prepared by: All members

Approved by: Faculty


Redirect to Rent
Property page
Redirect to
Services page
Redirect to FAQs
page
Redirect to
MyAccount page
Redirect to
ContactUs page
Username
Password
Login to the
system and
redirect to Users
Home page.
Check
txtUsername,
txtPassword
validation
Redirect to
Property Detail
page
Sellers name
Latest Property
Price
Submitted Date of
Property
Redirect to
Property Detail

Page 89 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

14.1.2. Login page


The Customers can login into the system by this page.

No.
1
2

Name
txtUserName
txtPassword

Type
Text field
Text field

Validation
Not null
Not null

Event

btnLogin

Button

Click

btnBack

Button

Click

Project Team: 01

Prepared by: All members

Description
User name
Password
Login to the
system and
redirect to
Users Home
page
Back to
Home page

Status

Page 90 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

14.1.3. Register page


The Customers can register an account by this page.

No.

Name

Type

gridRegister

Grid

txtUsername

Text field

txtPassword
txtConfirm
Password
txtName

Text field

6<=length<=30
Not exist in the database
0<length<=30

Text field

same as txtPassword

Confirm Password

Text field

0<length<=30

Users Name

4
5

Project Team: 01

Validation

Prepared by: All members

Event

Description
Grid contains
controls: 2, 3, 4, 5,
6, 7, 8, 9, 10, 11,
12, 13, 14, 15, 16,
17, 18.

Status

Username
Users Password

Page 91 of 240

Project: My Sweet Home

Not null
Date<=current year - 16

dbBirthday

rbMale

rbFemale

rbOther

10

txtAddress

Radio
button
Radio
button
Radio
button
Text field

11

ibPhone

Text field

12

txtEmail

Text field

13

rbBuyer

14

rbSeller

15

txtCaptcha

16

btnRefreshImag
e

Button

Click

17

btnRegister

Button

Click

18

btnBack

Button

Click

Project Team: 01

Date box

Document: Development Guide

Text field

Click

Users Birthday

Click

Gender selection

Click

Gender selection

Click

Gender selection

0<length<=200
8<length<=14
[0-9]
0<length<=30
/.+@.+\.[a-z]+/

Radio
button
Radio
button

Users Address
Users Phone
Users Email
Click
Click

Not null

Prepared by: All members

Approved by: Faculty

Customer Type
selection
Customer Type
selection
Security text to
compare with the
image
Refresh the image
to show a clearly
text
Register user with
the system and
redirect to home
page
Back to Home page

Page 92 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

14.1.4. Register Policy page


This is the policy of the website, the customers must agree before register.

No.
1

Name
gridRegistrationPolic
y

Project Team: 01

Type
Grid

Validation

Event

Prepared by: All members

Description
Grid
contains

Status

Page 93 of 240

Project: My Sweet Home

Document: Development Guide

lblRegistrationPolicy

Label

btnAgree

Button

Click

btnDisagree

Button

Click

Project Team: 01

Prepared by: All members

Approved by: Faculty


controls: 2,
3, 4.
Registration
Policy
Agree the
policy,
redirect to
register
page
Back to
Home page

Page 94 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

14.1.5. Send Enquiry page


The Customers can send an enquiry by this page.

No.

Name

Type

Validation

Event

gridEnquiry

Grid

2
3

txtName
txtAddress

Text field
Text field

txtPhone

Text field

txtEmail

Text field

txtSubject

txtContent

Text field
Text
Field

btnSubmit

Button

Click

btnBack

Button

Click

Project Team: 01

6<=length<=30
0<=length<255
8<=length<=14
[0-9], allow null
6<=length<=30
/.+@.+\.[a-z]+/
0<length<=30

Description
Grid contains controls:
2, 3, 4, 5, 6, 7, 8, 9.
Guests Name
Guests Address

Status

Guests Phone
Guests Email
Subject

0<length<=3000

Content

Prepared by: All members

Send mail to Directory


email, redirect to List
of Services page
Back to List of
Services page

Page 95 of 240

Project: My Sweet Home


14.1.6.

Document: Development Guide

Approved by: Faculty

My Account

14.1.6.1. Update Profile page


The Buyer or Seller can update their profile in this page.

No.

Name

gridUpdateProfile

txtUsername

txtOldPassword

4
5

Type

Validation

Grid

Text field

Readonly

txtNewPassword

Text field

0<length<=30

txtNew Confirm Password

Text field

Same as txtPassword

Project Team: 01

Prepared by: All members

Event

Description
Grid
contains
controls: 2,
3, 4, 5, 6, 7,
8, 9, 10, 11,
12, 13, 14.
Username
Users old
Password
Users new
Password
Confirm new

Status

Page 96 of 240

Project: My Sweet Home

Document: Development Guide

0<length<=30
Not null
Date<=current year - 16

Approved by: Faculty

txtName

Text field

dbBirthday

Date box

rbMale

Radio button

Click

rbFemale

Radio button

Click

10

rbOther

Radio button

Click

11

txtAddress

Text field

12

ibPhone

Text field

13

txtEmail

Text field

Click

0<length<=255
8<length<=14
[0-9]
0<length<=30
/.+@.+\.[a-z]+/

Users Email

14

btnUpdate

Button

Click

15

btnBack

Button

Click

Project Team: 01

Prepared by: All members

Password
Users Name
Users
Birthday
Gender
selection
Gender
selection
Gender
selection
Users
Address
Users
Phone
Update
users
profile, and
redirect to
login page
Back to
Home page

Page 97 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.1.6.2. Buy GoldBuyer Package page


The Buyer can buy a GoldBuyer package to become a GoldBuyer in this page

No.

Name

Type

gridBuyGoldBuyerPackag
e

Grid

txtPrice

Text field

Readonly

txtGoldBuyerExpiredDate

Text field

Readonly

txtCredit1

Int box

txtCredit2

Int box

txtCredit3

Int box

txtCredit4

Int box

cbbMonth

Combobo

Project Team: 01

Validation

Event

length=4
[0-9]
length=4
[0-9]
length=4
[0-9]
length=4
[0-9]
>current

Prepared by: All members

Description

Status
Grid
contains
controls:
2, 3, 4,
5, 6, 7,
8.

GoldBuyer Price
Gold Buyer
Expired Date
Credit 1
Credit 1
Credit 1
Credit 1
Credit Expired

Page 98 of 240

Project: My Sweet Home

Document: Development Guide


x
Combobo
x

month

cbbYear

10

btnBuy

Button

Click

11

btnBack

Button

Click

Project Team: 01

Prepared by: All members

Approved by: Faculty


Month
Credit Expired
Year
Show message:
Congratulation,
GoldBuyer!
Redirect to Home
page.
Back to Home
page

Page 99 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.1.6.3. List of Search Queries page


This is list of 5 latest Search Quries which GoldBuyer has searched.

No.
1

Name
gridSearchQueryDeta
il

Project Team: 01

Type
Grid

Validation

Event

Description
Grid contains
controls: 2, 3, 4, 5, 6,
7, 8, 9, 10,
11,12,13,14,15,16,17,
18,19,20 data get

Prepared by: All members

Status

Page 100 of 240

Project: My Sweet Home

Document: Development Guide

from SearchQueries
table
Type of property
Type of submission
City
Location
Minimum Deposit
Maximum Deposit
Minimum Rent
Maximum Rent
MinimumPrice
MaximumPrice
Minimum
SquareFootage
Maximum
SquareFootage
Number Of
BedRooms
Number Of
BathRooms

2
3
4
5
6
7
8
9
10
11

cbbPropertyType.
cbbSubmissionType.
txtCity.
txtLocation
txtMinimumDeposit
txtMaximumDeposit
txtMinimumRent
txtMaximumRent
txtMinimumPrice
txtMaximumPrice

Text field
Text field
Text field
Text field
Text field
Text field
Text field
Text field
Text field
Text field

12

txtMinSquareFootage.

Text field

13

txtMaxSquareFootage
.

Text field

14

txtNoOfBedRooms.

15

txtNoOfBathRooms.

16

cbIsNegotiable.

17

cbWithFurniture.

18

dbSearchDate

19

btnSearchAgain

Button

Click

20

btnBack

Button

Click

Project Team: 01

Approved by: Faculty

Positive
Int box
Positive
Int box
Checkbo
x
Checkbo
x
Datebox

Negotiable
Have Furniture
Search date
Go to search page
with the information
Back to Home page

Prepared by: All members

Page 101 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.1.6.4. List of Shortcuts page


This is list of shorcuts which the GoldBuyer has saved.

No.

Name

Type

Validation

gridListOfShorcut

imgProperty

Image

lblSubmissionType

Label

lblOwner

Label

lblDescription

Labe

6
7
86

lblAddedDate
btnDelete
paging

Label
Button
Paging

Project Team: 01

Event

Click

Click
Click

Description
Grid contains controls: 2, 3,
4, 5, 6, data get from
Shorcuts table
Image of property, Redirect
to property deatial page
Submission Type of
property
Who post this property
Description about this
property
Day add property
Delete this shortcut
Go to page

Prepared by: All members

Status

Page 102 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.1.6.5. List of Properties page


This is list of Properties of Seller. They can view their Properties in this page.

No.

Name

Type

ListProperties

cbStatus

lcID

ListCell

imgProperty

Image

lcSubmissionType

ListCell

lcSubmittedDate

ListCell

Project Team: 01

Validation

ListBox

Combobox

Prepared by: All members

Event

Description
Grid contains
controls:2,3,4,5,6,
7,8,9, data get
from Properties
table
Select status of
property:
All
Activated
Deactivated
Id of property
Preview property
image
Submission type:
PropertyForSale
PropertyForRent
RoomForRent
Date of submit

Status

Page 103 of 240

Project: My Sweet Home

Document: Development Guide

lclExpireDate

ListCell

lclPosition

ListCell

btnEdit

button

10

btnDelete

Button

11

btnStatus

Button

12

paging

Paging

Project Team: 01

Prepared by: All members

Approved by: Faculty

Click

Date of expired
advertise
Position of
property
Redirect to
modifyProperty
page
Show popup:
Delete Confirm
form:
- Are you sure?
label.
- Yes button.
- No button.
Switch status of
property:
- Active
- Deactive
Go to page

Page 104 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.1.6.6. Activate Property page


From List of Properties page, Seller clicks on to Active button, this popup will be appeared. Seller will fill
information for advertising his advertisements continue.

No.

Name

Type

Validation

Even
t

gridActivate

Grid

lblPosition

label

btnPosition

Button

lblPrice

Label

txtDays

Int box

lblFree

Label

txtCredit1

Int box

txtCredit2

Int box

txtCredit3

Int box

10

txtCredit4

Int box

11

btnSubmit

Button

Click

12

BtnCancel

Button

click

0<n<=30
Length=4
[0-9]
Length=4
[0-9]
Length=4
[0-9]
Length=4
[0-9]

Prepared by: All members

Status

Grid contains
controls:2,3,4,5,6,
7,8, data get from
Properties table
Curent Position
Popup Position
Panel to choose
position
Advertisement
Price
Advertisement
days
Fee you must pay

Project Team: 01

Description

Credit card
Credit card
Credit card
Credit card
Activate property
and redirect to List
of Properties page
redirect to List of
Properties page

Page 105 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.1.6.7. Post Property page


Seller can post his property in this page.
12.1.6.7.1.

Property for Sale

Project Team: 01

Prepared by: All members

Page 106 of 240

Project: My Sweet Home


No.

Name

gridHouseforSale

imgBrower

imgPre

cbbProType

txtPropertyPrice

cbNegotiable

7
8
9

txtPropertyAddress
City
btnGoogle

Document: Development Guide


Type

Validation

File field

Event

Click

Image

Combobox

Decimal box
Checkbox
Text Field
Text Field
Button

Description
Grid contains controls:
1,2,3,4,5,6,7,8
9,10,11,12,13,14
15,16,17,18,19,
20,21,22,23,24,25,26,
27,28,29,30,31,32,
data get from
Properties table
Brower picture for
property
Preview property
image
Property type:
Residential
Commercial
Condominium
Townhouse
Multi-unit dwelling

Not null
0<n<100.000.000
0<length<=200
0<length<=20
Click
Not null
0<n<=255
Not null
0<n<=255
Not null
38<=n<1000000

10

txtBedRoom

int box

11

txtBathRoom

Int box

12

txtSquare

Decimal box

13

radfuniture

Radio button

14
15

txtExtra
txtTransport

Text field
Text field

16

cbbPayment

Combobox

17

txtName

Text box

0<=length<=30

18

txtEmail

Text box

/.+@.+\.[a-z]+/

19

txtPhone

Int box

10<=length<=14
(if length>0)

20

txtAddress

Text box

0<=length<255

21
22
23

lblPosition
btnPosition
lblAvdPrice

Label
Button
Label

Project Team: 01

Approved by: Faculty

Number of bedroom
Number of bathroom

Click

Prepared by: All members

Property price can


negotiate or not
Address of property
City of property
Show google map

Click

Property Square
footage
Property with furniture
or not
Property extra facilities
Mode of transport
Mode of Payment:
Cash
Credit card
Money transfer
Contact name. If it is
null, data get from
database
Contact mail. If it is
null, data get from
database
Contact phone. If it is
null, data get from
database
Contact address. If it is
null, data get from
database
Property position
Popup position panel
Advertisement price

Page 107 of 240

Status

Project: My Sweet Home

24

txtAdvDays

25

lblFee

Document: Development Guide

Text field

Approved by: Faculty

Not null
0<n<=30

Advertisement days

Label

Your fee you must pay


length=4
[0-9]
length=4
[0-9]
length=4
[0-9]
length=4
[0-9]

26

txtCredit1

Int box

27

txtCredit2

Int box

28

txtCredit3

Int box

29

txtCredit4

Int box

30

btnSubmit

Button

Click

31

btnCancel

Button

Click

32

btnPreview

Button

Click

Project Team: 01

Prepared by: All members

Credit card No 1
Credit card No 2
Credit card No 3
Credit card No 4
Submit property
redirect to List of
Properties page
Redirect to Preview
property page

Page 108 of 240

Project: My Sweet Home

12.1.6.7.2.

Document: Development Guide

Approved by: Faculty

Property for Rent

Project Team: 01

Prepared by: All members

Page 109 of 240

Project: My Sweet Home


No.

Name

Document: Development Guide


Type

gridHouseforrent

imgBrower

imgPre

txtDeposit

Decimal box

txtRentPrice

Decimal box

txtPropertyAddress

txtCity

btnGoogle

Button

txtBedRoom

int box

10

txtBathRoom

int box

11

cbbPayment

Combobox

12
13

txtName
txtMail

Text box
Text box

14

txtPhone

Int box

15
16

txtAddress
lblPosition

Text box
Label

17

btnPosition

Button

18

lblAvdPrice

Label

19

txtAdvDays

Text field

20

lblFee

Label

21

txtCredit1

Int box

22

txtCredit2

Int box

23

txtCredit3

Int box

24

txtCredit4

Int box

25

btnSubmit

Button

Project Team: 01

Validation

File field

Approved by: Faculty

Event

Click

Image

Text Field
Text Field

Not null
0<n<100.000.000
Not null
0<n<100.000.000
Not Null
0<length<=200
0<length<=20

Status

Property deposit
Rent rice

Click
Not null
0<n<=255
Not null
0<n<=255
Click
0<=length<=30
/.+@.+\.[a-z]+/
10<=length<=14
(if length>0)
0<=length<255

Address of
property
City of property
Show Google
map
Number of
bedroom
Number of
bathroom
Mode of
Payment:
Cash
Credit card
Money transfer
Contact name
Contact mail
Contact phone

Click

Not null
0<n<=30
length=4
[0-9]
length=4
[0-9]
length=4
[0-9]
length=4
[0-9]

Prepared by: All members

Description
Grid contains
controls:
1,2,3,4,5,6,7,8
9,10,11,12,13,14
15,16,17,18,19,
20,21,22,23,24,2
5,26,27, data get
from Properties
table
Brower picture for
property
Preview property
image

Contact address
Property position
Popup position
panel
Advertisement
price
Advertisement
days
Your fee you
must pay
Credit card No 1
Credit card No 2
Credit card No 3
Credit card No 4

Click

Submit property

Page 110 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

26

btnCancel

Button

Click

27

btnPreview

Button

Click

Project Team: 01

Prepared by: All members

redirect to List of
Properties page
Redirect to
Preview property
page

Page 111 of 240

Project: My Sweet Home

12.1.6.7.3.

No.
1

Document: Development Guide

Approved by: Faculty

Room for Rent

Name
gridRoomforSale

Project Team: 01

Type

Validation

Prepared by: All members

Event

Description
Grid contains
controls:
1,2,3,4,5,6,7,8
9,10,11,12,13,14
15,16,17,18,19,

Status

Page 112 of 240

Project: My Sweet Home

Document: Development Guide

imgBrower

imgPre

txtDeposit

Decimal box

txtRentPrice

Decimal box

txtPropertyAddress

7
8
9
10

City
btnGoogle
txtName
txtEmail

11

txtPhone

12
13

txtAddress
lblPosition

Text box
Label

14

btnPosition

Button

15

lblAvdPrice

Label

16

txtAdvDays

Text field

17

lblFee

Label

18

txtCredit1

Int box

19

txtCredit2

Int box

20

txtCredit3

Int box

21

txtCredit4

Int box

22

btnSubmit

Button

Click

23

btnCancel

Button

Click

24

btnPreview

Button

Click

Project Team: 01

File field

Approved by: Faculty

Click

Image

Text Field
Text Field
Button
Text box
Text box
Int box

Not null
0<n<100.000.000
Not null
0<n<100.000.000

Property deposit
Rent rice

0<length<=200
0<length<=20
Click
0<=length<=30
/.+@.+\.[a-z]+/
10<=length<=14
(if length>0)
0<=length<255

Address of
property
City of property
Show googel map
Contact name
Contact mail
Contact phone

Click

Not null
0<n<=30
length=4
[0-9]
length=4
[0-9]
length=4
[0-9]
length=4
[0-9]

Prepared by: All members

20,21,22,23,24,2
5,26,27, data get
from Properties
table
Brower picture for
property
Preview property
image

Contact address
Property position
Popup position
panel
Advertisement
price
Advertisement
days
Your fee you
must pay
Credit card No 1
Credit card No 2
Credit card No 3
Credit card No 4
Submit property
redirect to List of
Properties page
Redirect to
Preview property
page

Page 113 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.1.6.8. Modify Property page


Seller can modify property in this page.
12.1.6.8.1.

Property for Sale

Project Team: 01

Prepared by: All members

Page 114 of 240

Project: My Sweet Home

Document: Development Guide

No.

Name

Type

gridModifyHouseforSale

imgBrower

imgPre

cbbProType

txtPropertyPrice

cbNegotiable

Checkbox

txtPropertyAddress

Text Field

8
9

City
btnGoogle

Validation

File field

Event

Click

Image

Combobox

Decimal box

Text Field
Button

0<length<=200
0<length<=20
Click
Not null
0<n<=255
Not null
0<n<=255
Not null
38<=n<1000000

txtBedRoom

int box

11

txtBathRoom

Int box

12

txtSquare

Decimal box

13

radfuniture

Radio button

14

txtExtra

Text field

15

txtTransport

Text field

16

cbbPayment

Combobox

17
18

txtName
txtEmail

Text box
Text box

19

txtPhone

Int box

20

txtAddress

21

btnSave

Button

Click

22

btnCancel

Button

Click

23

btnPreview

Button

Click

Project Team: 01

Description
Grid contains
controls:
1,2,3,4,5,6,7,8
9,10,11,12,13,14
15,16,17,18,19,
20,21,22,23, data
get from
Properties table
Brower picture for
property
Preview property
image
Property type:
Residential
Commercial
Condominium
Townhouse
Multi-unit dwelling

Status

Not null
0<n<100.000.000

10

Text box

Approved by: Faculty

Click
0<=length<=30
/.+@.+\.[a-z]+/
10<=length<=14
(if length>0)
0<=length<255

Prepared by: All members

Property price
can negotiate or
not
Address of
property
City of property
Show googel map
Number of
bedroom
Number of
bathroom
Property Square
footage
Property with
furniture or not
Property extra
facilities
Mode of transport
Mode of
Payment:
Cash
Credit card
Money transfer
Contact name
Contact mail
Contact phone
Contact address
Save property,
redirect to List of
Properties page
redirect to List of
Properties page
Redirect to

Page 115 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty


Preview property
page

Project Team: 01

Prepared by: All members

Page 116 of 240

Project: My Sweet Home

12.1.6.8.2.

Property for Rent

No.

Name

Document: Development Guide

Type

Validation

gridRoomforSale

Project Team: 01

Prepared by: All members

Event

Approved by: Faculty

Description
Grid contains
controls:
1,2,3,4,5,6,7,8
9,10,11,12,13,14
15,16,17,18,19,
20,21,22,23,24,2
5,26,27, data get
from Properties
table

Status

Page 117 of 240

Project: My Sweet Home

Document: Development Guide

imgBrower

imgPre

txtDeposit

Decimal box

txtRentPrice

Decimal box

txtPropertyAddress

7
8
9
10

City
btnGoogle
txtName
txtEmail

11

txtPhone

12
13

txtAddress
btnSubmit

Text box
Button

14

btnCancel

Button

Click

15

btnPreview

Button

Click

Project Team: 01

File field

Approved by: Faculty

Click

Image

Text Field
Text Field
Button
Text box
Text box
Int box

Not null
0<n<100.000.000
Not null
0<n<100.000.000

Property deposit
Rent rice

0<length<=200
0<length<=20
Click
0<=length<=30
/.+@.+\.[a-z]+/
10<=length<=14
(if length>0)
0<=length<255

Prepared by: All members

Brower picture for


property
Preview property
image

Address of
property
City of property
Show googel map
Contact name
Contact mail
Contact phone

Click

Contact address
Submit property
redirect to List of
Properties page
Redirect to
Preview property
page

Page 118 of 240

Project: My Sweet Home

12.1.6.8.3.

Document: Development Guide

Approved by: Faculty

Room for Rent

\
No.

Name

Type

Validation

gridModifyRoom

txtDeposit

decimal box

txtRentPrice

decimal box

txtPropertyAddress

5
6

City
btnGoogle

Project Team: 01

Text Field
Text Field
Button

Event

Not null
0<n<100.000.000
Not null
0<n<100.000.000

Description
Grid contains
controls:
2,3,4,5,6,7,8,9,10,
11,12,13, data get
from properties
tables
Deposit of
property

Status

Rent Rice

0<length<=200
0<length<=20
Click

Prepared by: All members

Address of
property
City of property
Show google map

Page 119 of 240

Project: My Sweet Home

Document: Development Guide

7
8

txtName
txtEmail

Text box
Text box

txtPhone

Int box

10

txtAddress

Text box

11

btnSubmit

Button

Click

12

btnCancel

Button

Click

13

btnPreview

Button

Click

Project Team: 01

0<=length<=30
/.+@.+\.[a-z]+/
10<=length<=14
(if length>0)
0<=length<255

Approved by: Faculty


Contact name
Contact mail
Contact phone

Prepared by: All members

Contact address
Save property,
redirect to List of
Properties page
redirect to List of
Properties page
Redirect to
Preview property
page

Page 120 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.1.6.9. Position Panels page


From Post Property or Activate Property page, Seller click on to Position button, this page will be
appeared for choosing the position of Advertisement.

No.

Name

Type

tblPosition

2
3

lblName
lblSize

Label
Label

LblAdv

label

5
6

lblExpireddate
btnChoose

Label
Button

btnNormal

Button

Project Team: 01

Validation

Event

window

Prepared by: All members

Description
Table contains controls:
2,3,4,5,6
Name of advertisement
Size of Advertisement
Had or not advertise in
this position
ExpiredDate of property
Choose this position
Choose normal position
and Close position panel

Status

Page 121 of 240

Project: My Sweet Home

12.1.6.10.

No.

Document: Development Guide

Approved by: Faculty

Google Map page

Name

Type

Validation

Event

girdAddGoogleMap

2
3

txtCountryCode
txtAddress

btnGo

Button

Click

btnMap

Button

Click

Project Team: 01

Grid
Text box
Text box

Prepared by: All members

Description
Grid contains controls:
2,3,4,5,6,7,8,9,10,11,12,13
Country Code
Address of property
Show Address on Google
Map
Show Google Map with
default view

Status

Page 122 of 240

Project: My Sweet Home

Document: Development Guide

btnSattelite

Button

Click

btnHydrid

Button

Click

btnPlaceMarket

Button

Click

btnHand

Button

Click

10
11
12
13

txtLat
txtLong
btnSave
btnClose

Text box
Text box
Button
Button

Click
Click
Click
Click

Project Team: 01

Prepared by: All members

Approved by: Faculty

Show Google Map with


terrian view
Show Google Map with
advande view
Click for use make points
tool
Click to use Drag and Drog
and Zoom tool
Lattitude of place
Longtitude of place
Save place in Google Map
Close this windown

Page 123 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.1.7. Property Detail page


This is Property Detail page; Buyer and Seller can view Property detail in this page.

*Note: controls 10, 11 are available when submission Type of property is Property for Rent or Room for
Rent
No.
Name
Type
Validation Event
Description
Status
1
gridProInfo
Grid
Grid contains controls:
1,2,3,4,5,6,7,8

Project Team: 01

Prepared by: All members

Page 124 of 240

Project: My Sweet Home

Document: Development Guide

gridContactInfo

Grid

gridLoanInfo

Grid

gridAdvertiseInfo

Grid

5
6

Image
Image

8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

imgProperty
imgGooglemap
lblSubmissionTyp
e
lblProType
lblProPrice
lblDeposit
lblRent
lblIsNegotiable
lblCity
lblAddress
lblBed
lblBath
lblSquare
lblFuniture
lblExtra
lblTransport
lblPayment
lblContactName
lblContactEmail
lblContactPhone
lblContactAddress

26

lblBank

Label

27
28
29

lblLoanPercent
lblSubmitDate
lblExpiredDate

Label
Label
Label

30

btnEdit

Button

Click

31

BtnCancel

Button

Click

Project Team: 01

Label
Label
Label
Label
Label
Label
Label
Label
Label
Label
Label
Label
Label
Label
Label
Label
Label
Label
Label
Click

Approved by: Faculty

9,10,11,12,13,14,15,16,17,
data get from Properties
table
Grid contains controls: 18,
19, 20, 21, data get from
Customers table
Grid contains controls: 22,
23, data get from Banks
table
Grid contains controls: 24,
25, data get from
Properties table
Image of property
Image of googleMap
SubmissionType of
property
Property type
Property Price
Deposit
Rent Price
Negotiable
City of property
Location of Property
Number of bedroom
Number of bathroom
Square footage of Property
With funiture
Extra facilities of property
Mode of transport
Mode of payment
Contact name
ContactEmail
ContactPhone
Contact Address
Show popup have Bank
name, address and phone
Bank percentage
Submit Date
Expired Date
Redirect to Modify
Property page
Redirect to list of
properties page

Prepared by: All members

Page 125 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.1.8. Send Message to Seller page


GoldBuyer can send to Seller a message by this page.

No.
1
2

Name
txtSubject
txtContent

Type
Text field
Text field

Validation
Not null
Not null

Event

btnSend

Button

Click

btnCancel

Button

Click

Project Team: 01

Prepared by: All members

Description
Subject
Content
Send email
to Seller
Back

Status

Page 126 of 240

Project: My Sweet Home


12.1.9.

No.

Document: Development Guide

Approved by: Faculty

Preview property

Name

Type

gridProInfo

Grid

gridContactInfo

Grid

gridLoanInfo

Grid

gridAdvertiseInfo

Grid

Project Team: 01

Validation

Event

Description
Grid contains controls:
1,2,3,4,5,6,7,8
9,10,11,12,13,14,15,16,17,
data get from Properties
table
Grid contains controls: 18,
19, 20, 21, data get from
Customers table
Grid contains controls: 22,
23, data get from Banks
table
Grid contains controls: 24,
25, data get from

Prepared by: All members

Status

Page 127 of 240

Project: My Sweet Home

5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

imgProperty
iFgoogle
lblProType
lblProPrice
lblDeposit
lblCity
lblAddress
lblCity
lblIsNegotiable
lblBed
lblBath
lblSquare
lblFuniture
lblExtra
lblTransport
lblPayment
lblContactName
lblContactEmail
lblContactPhone
lblContactAddres
s

Label

lblBank

Label

26
27
28

lblLoanPercent
lblSubmitDate
lblExpiredDate

Label
Label
Label

29

btnback

Button

Approved by: Faculty

Properties table
image of property
google map
Property type
Property Price
Deposit
City of property
Location of Property
City of property
Negotiable
Number of bedroom
Number of bathroom
Square footage of Property
With funiture
Extra facilities of property
Mode of transport
Mode of payment
Contact name
ContactEmail
ContactPhone

image
iFrame
Label
Label
Label
Label
Label
Label
Label
Label
Label
Label
Label
Label
Label
Label
Label
Label
Label

25

Project Team: 01

Document: Development Guide

Contact Address
Click

Click

Show popup have Bank


name, address and phone
Bank percentage
Submit Date
Expired Date
Redirect to Modify
Property or post Property
page

Prepared by: All members

Page 128 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.1.10. Buy Property

No.

Name

Type

gridProperties

imgProperty

Image

lblDescryption

Label

lblPrice

Label

lblViews

Label

6
7

btnSubmiited
paging

Validation

Event

Grid

Button
Paging

Click

Description
Grid contains
controls:2,3,4,5,6,
7 data get from
Properties table
Preview property
image
Description of
Property
Price of Property
Views times of
property
Submitted date
Go to page

Status

12.1.11. Search page


Buyer can search Property information in this page.

Project Team: 01

Prepared by: All members

Page 129 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.1.11.1. Property for Sale

No.

Name

Type

gridPropertyForSaleSearchin
g

Grid

txtMinPrice.

txtMaxPrice

txtMinSquareFootage

Project Team: 01

Decimal
box
Decimal
box
Decimal

Validation

Event

Max length
10 digits
Max length
10 digits
Max length

Prepared by: All members

Description
Grid contains
controls: 2, 3, 4,
5, 6, 7, 8, 9, 10,
11, 12, 13,
14,15

Status

Minimum Price
Maximum Price
Minimum

Page 130 of 240

Project: My Sweet Home

Document: Development Guide

box

10 digits
Max length
10 digits

Square
Footage
Maximum
Square
Footage

txtMaxSquareFootage

Decimal
box

txtCity.

Text field

txtLocation

Text field

txtNoOfBedRooms

txtNoOfBathRooms

10

cbbType

Combobox

Click

11

cbIsNegotiable

Checkbox

Click

12

cbWithFurniture

Checkbox

Click

13

btnSearch

Button

Click

14

btnBack

Button

Click

15

lstSearchResult

Listbox

Click

Project Team: 01

Positive Int
box
Positive Int
box

Max length
30
character
Max length
30
character

City
Location

0<n<255
0<n<255

Prepared by: All members

Approved by: Faculty

Number Of Bed
Rooms
Number Of
Bath Rooms
Propertys type:
- Residential
- Commercial
- Condominium
- Townhouse
- Multi-unit
dwelling
Propertys price
can be
Negotiate or not
Have furniture
or not
Submit search
and display
result in Search
Result listbox
Back to Home
page
Go to Property
Detail page with
the selected ID

Page 131 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.1.11.2. Property for Rent

No.

Name

Type

gridPropertyForRentSearchin
g

Grid

txtMinDeposit
txtMaxDeposit
2

txtMinRent

txtMaxRent

Project Team: 01

Decimal
box
Decimal
box
Decimal
box
Decimal

Validation

Max length
10 digits
Max length
10 digits
Max length
10 digits
Max length

Prepared by: All members

Event

Description
Grid
contains
controls: 2,
3, 4, 5, 6, 7,
8, 9, 10,
11,12
Minimum
Deposit
Maximum
Deposit
Minimum
Rent
Maximum

Status

Page 132 of 240

Project: My Sweet Home

Document: Development Guide


box

10 digits

txtMinSquareFootage

Decimal
box

Max length
10 digits

txtMaxSquareFootage

Decimal
box

Max length
10 digits

txtCity.

Text
field

txtLocation.

Text
field

txtNoOfBedRooms.

txtNoOfBathRooms.

10

btnSearch.

11

12

btnBack

lstSearchResult

Project Team: 01

Positive
Int box
Positive
Int box

Rent
Minimum
Square
Footage
Maximum
Square
Footage

Max length
30
character
Max length
30
character

City
Location

0<n<255
0<n<255

Button

Click

Button

Click

Listbox

Click

Prepared by: All members

Approved by: Faculty

Number Of
Bed Rooms
Number Of
Bath Rooms
Submit
search and
display result
in Search
Result
listbox
Back to
Home page
Go to
Property
Detail page
with the
selected ID

Page 133 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.1.11.3. Room for Rent

No.

Name

Type

gridRoomForRentSearchin
g

Grid

txtMinDeposit.

txtMaxDeposit.

Validation

Decimal
box
Decimal
box

Max length
10 digits
Max length
10 digits

txtMinRent

Decimal
box

Max length
10 digits

txtMaxRent

Decimal
box

Max length
10 digits

btnSearch.

Button

Project Team: 01

Event

Click

Prepared by: All members

Description
Grid contains
controls: 2,
3, 4, 5, 6, 7,8
Minimum
Deposit
Maximum
Deposit
Minimum
Rent price
per month
Maximum
Rent price
per month
Submit
search and
display result
in Search

Status

Page 134 of 240

Project: My Sweet Home

Document: Development Guide

btnBack

Button

Click

lstSearchResult

Listbox

Click

Project Team: 01

Prepared by: All members

Approved by: Faculty


Result listbox
Back to
Home page
Go to
Property
Detail page
with the
selected ID

Page 135 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.1.12. FAQs page


Customers can view FAQs in this page.

No.

Name

Type

gridFAQ

Grid

2
3

lblQuestion
lblAnswer

Label
Label

Project Team: 01

Validation

Event

Prepared by: All members

Description
Grid contains the
question labels get
from FAQs table.
Question
Answer

Status

Page 136 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.2. Admin side


Administrators can use this page to manage the website.
12.2.1. Login page
Administrator can login into the system in this page.

No.

Name

gridLogin

2
3

txtUsername
txtPassword

btnLogin

Project Team: 01

Type

Validation

Event

Grid
Text Field
Text Field

Not null
Not null

Button

Prepared by: All members

Description
Grid contains controls:
2,3,4
Username
Password
Check Username and
password and if they are
correct, redirect to
Admin Home page

Status

Page 137 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.2.2. Admin Home page


When the Administrators has logged in, the system will redirect to List of Customers page.

No.

Name

gridListofCustomers

btnCustomers

btnProperties

btnAdvertisements
Price

btnDirectories

btnDirectoryCategorie
s

btnBanks

btnFAQs

btnAdministrators

10

btnReports

11

btnChangePassword

12
13
14
15

btnAdminHome
btnMySweetHome
btnLogout
lblUsername

Project Team: 01

Type

Validation

Event

Description
Grid List of Customers, include List
of Customers controls

Click

Redirect to List of Customers page

Grid
Hyperlin
k
Hyperlin
k
Hyperlin
k
Hyperlin
k
Hyperlin
k
Hyperlin
k
Hyperlin
k
Hyperlin
k
Hyperlin
k
Hyperlin
k
Button
Button
Button
Label

Click
Click

Redirect to List of Properties for


Administrators page
Redirect to Update Advertisement
Price page

Click

Redirect to List of Directories page

Click

Redirect to List of Directory


Categories page

Click

Redirect to List of Banks page

Click

Redirect to List of FAQs page

Click

Redirect to List of Administrators


page

Click

Redirect to List of Reports page

Click

Redirect to Change Password page

Click
Click
Click

Redirect to Admin Home page


Redirect to Change Home page
Logout current account
Current Username

Prepared by: All members

Page 138 of 240

Status

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.2.3. List of Properties page


This is list of Properties. Admin can view Property in this page.

No.

Name

Type

Validation

gridFilter

cbbSubmissionType

Combobo
x

cbbPropertyType

Combobo
x

cbbPropertyStatus

Combobo
x

5
6

txtOwner
btnFilter

Text field
Button

gridListofProperties

Grid

lblNo

Label

lblID

Label

10
11
12

imgProperty
lblSubmissionType
lblPropertyType

Image
Label
Label

Project Team: 01

Grid

Event

Description
Grid contains controls:
2,3,4,5,6
SubmissionType:
All
Property for Sale
Property for Rent
Room for Rent

Status

Property Type
Property Status:
All
Activated
Deactivated
Owner name
Filter by owners name
Grid contains controls:
7,8,9,10,11,12,13,14,15,16,17
data get from properties,
customers table
Ordinal number
Property ID for Customer:
P + PropertyID
Property image
SubmissionType
Property type

Prepared by: All members

Page 139 of 240

Project: My Sweet Home

Document: Development Guide

13
14
15

lblSubmittedDate
lblExpiredDate
lblOwner

Label
Label
Label

16

imgStatus

Image

17

paging

Paging

Click

Approved by: Faculty

Property Submitted date


Property Expired Date
Owners name
Property status:
Activated
Deactivated
Go to page

12.2.4. List of Customers page


This is list of Customers.

No.

Name

Type

gridListofCustomers

Grid

cbbCustomerType

lblNo.

Label

btnName

Button

5
6
7
8
9

lblCustomerType
lblUsername
lblSex
lblBirthDay
lblAddress

Label
Label
Label
Label
Label

10

lblGoldExperiedDate

Label

11

btnStatus

Button

Click

12

paging

Paging

Click

Project Team: 01

Validation

Event

Combobox

Prepared by: All members

Description
Grid contains List of
Customers, data get
from Customers table
and controls:
2,3,4,5,6,7,8,9,10,11,12
CustomerType:
Buyer
Seller
Ordinal number
Redirect to Customer
Detail page
Customer type
Customer Username
Customer sex
Customer birthday
Customer Address
Customer Gold Expired
Date
Save Status property of
Customer into database
and then change to
Deactivated/Activated
symbol
Go to page

Status

Page 140 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.2.5. Customer Detail page


This is Customer Detail page. Admin can view information of Customer in this page.

No.

Name

Type

gridCustomerDetail

Grid

2
3
4
5
6
7
8
9

lblName
lblUsername
lblCustomerType
lblSex
lblBirthDay
lblAddress
lblphone
lblEmail

Label
Label
Label
Label
Label
Label
Label
Label

10

lblGoldExpriedDate

Label

11

lblStatus
btnViewListOfPropertie
s

Label

12

Validation

Event

Button

13

btnBan

Button

Click

14

btnBack

Button

Click

Project Team: 01

Description
Grid contains controls:
2,3,4,5,6,7,8,9,10,11,12,13,
14, data get from
Customers table
Customer name
Customer user name
Customer type
Customer sex
Customer birthday
Customer address
Customer phone
Customer email
Customer Gold Expired
Date
Customer status
Redirect to ListOfProperties
page of Admin
Save Status property of
Customer into database
and then redirect to List of
Customers
Redirect to List of
Customers

Prepared by: All members

Status

Page 141 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.2.6. Update Advertisements Price page


Administrator can update Advertisement Price in this page.

No.

Name

Type

gridUpdatePrice

txtLeft1

Text field

txtLeft2

Text field

txtLeft3

Text field

txtBottom1

Text field

txtBottom2

Text field

txtRight1

Text field

txtRight2

Text field

txtRight3

Text field

10

txtNormal

Text field

11

btnSave

Project Team: 01

Validation

Event

Grid

Button

Not null,
0<n<=10000
Not null,
0<n<=10000
Not null,
0<n<=10000
Not null,
0<n<=10000
Not null,
0<n<=10000
Not null,
0<n<=10000
Not null,
0<n<=10000
Not null,
0<n<=10000
Not null,
0<n<=10000

Description
Grid contains controls:
2,3,4,5

Status

Price of Position left 1


Price of Position left 2
Price of Position left 3
Price of Position bottom 1
Price of Position bottom 2
Price of Position right 1
Price of Position right 2
Price of Position right 3
Price of Position normal
Click

Prepared by: All members

Save price.

Page 142 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.2.7. List of Directories page


Administrator can view list of Directories in this page.

No.

Name

Type

Validation

Event

gridListofDirectories

Grid

cbbDirectoryCategor
y

Combobo
x

3
4
5
6
7

lblNo
lblName
lblCategoryName
lblAddress
lblPhone

Label
Label
Label
Label
Label

btnStatus

Label

btnDelete

Button

10

paging

Paging

Click

11

btnAddDirectory

Button

Click

Project Team: 01

Click

Prepared by: All members

Description
Grid contains controls:
2,3,4,5,6,7,8,9,10
Directory Category include
values: All, Directory
Category Name
Ordinal number
Directory name
Directory Category
Directory address
Directory phone
Directory Status:
0: invisible
1: visible
Delete directory then
update List of Directories
Go to page
Redirect to Add Directory
page

Status

Page 143 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.2.8. Add Directory page


Administrator can add Directory in this page.

No.

Name

Type

Validation

Event

gridAddDirectory

Grid

txtDirectoryName

Textfield

cbbDirectoryCategor
y

txtAddress

Textfield

0<length<=200

txtDescription

Textfield

0<length<=2000

txtPhone

Textfield

txtWebsite

Textfield

txtEmail

Textfield

rdStatus

Radio
Button

10

btnAdd

Button

Click

11

btnBack

Button

Click

Project Team: 01

0<length<=30
Not exist in the
databse

Combobox

Description
Grid contains
controls:
2,3,4,5,6,7,8,9,10,11

Status

Directory Name
Click

8<=length<=14
[0-9]
0<length<=255
/.+@.+\.[a-z]+/
0<length<=30

Data get from


DirectoryCategories
table
Directory Address
Directory
Description
Directory Phone
Directory Website
Directory Email
Directory Status

Prepared by: All members

Add directory into


database and reopen this page.
Redirect to List of
Directories

Page 144 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.2.9. Modify Directory page


Administrator can modify Directory in this page.

No.

Name

Type

girdModifyDirectory

Grid

txtName

cbbCategory

Combobox

4
5

txtAddress
txtDescription

Textfield
Textfield

txtPhone

Textfield

7
8

txtWebsite
txtEmail

rdStatus

Textfield
Textfield
Radio
Button

10

btnSave

Button

Click

11

btnBack

Button

Click

Project Team: 01

Validation

Textfield

Event

0<length<=30
Not exist in the
database

Description
Grid contains controls:
2,3,4,5,6,7,8,9,10,11

Status

Directory Name
Click

0<length<=200
0<length<=2000
Not null
8<length<=14
[0-9]
0<length<=255
"/.+@.+\.[a-z]+/

Data get from


categories table
Directory Address
Directory Description
Directory Phone
Directory Website
Directory Email
Directory Status

Prepared by: All members

Save information, and


then redirect to List of
Directories page
Redirect to List of
Directories page

Page 145 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.2.10. List of Directory Categories page


Administrator can view list of Directory Categories in this page.

No.

Name

Type

girdListofDirectoryCategorie
s

Grid

2
3

lblNo
lblName

Label
Label

lblStatus

Label

Validation

Event

The directory
category cannot
reference to any
Directory

Click

btnDelete

Button

paging

Paging

Click

btnAddDirectory

Button

Click

Project Team: 01

Prepared by: All members

Description
Gird contains
controls: 2,3,4,5,6
and data get from
DirectoryCategories
table
Ordinal number
Directory Name
Directory category
status:
0: Invisible
1: visible
Delete Directory
Category, update List
of Directory
categories
Go to page
Redirect to Add
Directory Category
page

Status

Page 146 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.2.11. Add Directory Category page


Administrator can add Directory Category in this page.

No.
1

Name
gridAddDirectoryCategor
y

Type

Validation

Event

Grid
0<length<=30
Not exist in
the database

Status

Directory category
Name

txtName

Textfield

rdStatus

Radio
button

btnAdd

Button

Click

btnBack

Button

Click

Project Team: 01

Description
Grid contains controls :
2,3,4,5

Prepared by: All members

Directory Category
status
Add Directory Category
into database and then
redirect to List of
Directory Categories
Redirect to List of
Directory Categories

Page 147 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.2.12. Modify Directory Category page


Administrator can modify Directory Category in this page.

No.
1

Name
girdModifyDirCategor
y

Type

Validation

Event

Grid
0<length<=30
Not exist in
the database

txtName

Textfield

rdStatus

Radio
button

btnSave

Button

Click

btnBack

Button

Click

Project Team: 01

Description
Grid contains controls :
2,3,4,5

Status

Directory Category Name

Prepared by: All members

Directory Category
status
Save changes into
database and then
redirect to List of
Directory Categories
Back, redirect to List of
Directory Categories

Page 148 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.2.13. List of Banks page


Administrator can view list of Banks which connected in this page.

No.

Name

Type

Validation

Event

gridListofBank

Grid

lblBankName

Label

lblBankAddress

Label

lblBankPhone

Label

lblAddDate

Label

btnModify

Button

Click

btnDelete

Button

Click

btnAdd

Button

Click

paging

Paging

Click

Project Team: 01

Prepared by: All members

Description
Grid contains controls:
2,3,4,5,6,7,8,9,10
Bank Name
Banks Address load form
Web service
Banks phone load form
Web service
Banks Add Date
Redirect to Modify Bank
page
Delete Bank then update
list of Banks
Redirect to Add Bank
Page
Go to page

Status

Page 149 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.2.14. Add Bank page


Administrator can add a bank in this page.

No.

Name

Type

gridAddBank

Grid

txtBankName

Text box

txtBankUrl

Text box

txtAddDate

Textbox

cbbStatus

Combobox

btnAdd

Button

Click

btnCancel

Button

Click

btnClear

Button

Click

Project Team: 01

Validation

Event

0<length<50
Not exist in
the database
0<length

Description
Grid contains controls:
2,3,4,5,6,7

Status

Bank Name
Url of Banks Webservice

Prepared by: All members

Current Date
Status of bank:
0: Invisible
1: visible
Modify Bank
Reload data to field from
banks table
Redirect to View List Of
Bank Page

Page 150 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.2.15. Modify Bank page


Administrator can modify a bank in this page.

No.

Name

Type

Validation

Event

gridModifyBank

txtBankName

Text box

3
4

txtBankUrl
lblAddDate

Text box
Label

cbbStatus

Combobox

btnModify

Button

Click

btnRefillData

Button

Click

btnCancel

Button

Click

Project Team: 01

Grid
0<length<50
Not exist in
the database
0<length

Description
Grid contains controls:
2,3,4,5,6,7

Status

Bank Name

Prepared by: All members

Url of Banks Webservice


Banks Add Date
Status of bank:
0: Invisible
1: visible
Modify Bank
Reload data to field from
banks table
Redirect to View List Of
Bank Page

Page 151 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.2.16. Bank Detail

No.

Name

Type

girdBank

Grid

lblName

Label

lblAddress

Label

lblPhone

Lable

btnClose

Button

Project Team: 01

Validation

Event

Click

Prepared by: All members

Description
Grid contains controls:
2,3,4,5
Name of Bank get from
Webservice
Address of Bank get from
Webservice
Phone number of Bank
get from Webservice
Close this Windown

Status

Page 152 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.2.17. List of FAQs page


Administrator can view llist of FAQs in this page.

No.

Name

Type

girdListofFAQ

Gird

2
3

lblQuestion
lblAnswer

Label
Label

btnModify

Button

Click

btnDelete

Button

Click

6
7

btnAdd
paging

Button
Paging

Click
Click

Project Team: 01

Validation

Event

Prepared by: All members

Description
Gird contains list of FAQ,
data get from FAQs table,
and controls: 2,3,4,5,6,7
FAQ Question
FAQ Answer
Redirect to Modify FAQ
page
Delete FAQ then update
list of FAQs
Redirect to Add FAQ Page
Go to page

Status

Page 153 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.2.18. Add FAQ page


Administrator can add Question and Answer in this page.

No.

Name

Type

gridAddFAQ

Grid

2
3
4
5

txtQuestion
txtAnswer
btnAdd
btnClear

Text box
Text box
Button
Button

btnCancel

Button

Project Team: 01

Validation

Event

0<length<=3000
0<length<=3000
Click
Click
Click

Prepared by: All members

Description
Grid contains controls:
2,3,4,5,6
FAQ Question
FAQ Answer
Add FAQ
Clear all field
Redirect to View List Of
FAQ Page

Status

Page 154 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.2.19. Modify FAQ page


Administrator can modify Question and Answer in this page.

No.

Name

Type

Validation

Event

girdModifyFAQ

2
3

txtQuestion
txtAnswer

btnModify

Button

Click

btnRefillData

Button

Click

btnCancel

Button

Click

Project Team: 01

Grid
Text box
Text box

0<length<=3000
0<length<=3000

Prepared by: All members

Description
Grid contains controls:
2,3,4,5,6
FAQ Question
FAQ Answer
Modify FAQ, redirect to
List of FAQs page
Reload data for all field
Redirect to View List Of
FAQ Page

Status

Page 155 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.2.20. List of Administrators page


Administrator can view list of Administrators in this page.

No.

Name

Type

gridListOfAdministrator
s

Grid

2
3

lblNo
lblName

Label
Label

btnFullControl

Button

Click

btnDelete

Button

Click

paging

Paging

Click

btnAdd

Button

Click

Project Team: 01

Validation

Event

Prepared by: All members

Description
Grid contains controls:
2,3,4,5,6 data get from
admin table
Ordinal number
Admin name
Update to full control
admin
Delete admin then
update List of
Administrator
Go to page
Redirect to Add
Administrator page

Status

Page 156 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.2.21. Add Administrator page


Administrator can add an Administrator in this page.

No.

Name

Type

gridAddAdministrato
r

Grid

txtUsername

txtPassword

txtConfirm

Permission

btnAdd

Button

Click

btnBack

Button

Click

Project Team: 01

Textfield
Passwordfiel
d
Passwordfiel
d

Validation

Event

Description
Grid contains
controls:
2,3,4,5,6,7

6<=length<=30
Not exist in the
database

Admin Name

0<length<=30

Password

Same as
txtPassword

Confirm
password
Permission:
Normal
FullControl
Add Administartor
into database and
then redirect to
List of
Administrators
Redirect to List of
Administrators

Radio Button

Prepared by: All members

Status

Page 157 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.2.22. Reports
Administrator can view reports. There are many types of reports.
12.2.22.1. Banks

No.

Name

Type

girdReportBank

cldFrom

Calendar

cldTo

Calendar

cbAllDate

Checkbox

cbbStatus

Combobox

btnReport

Button

rpBank

Report

Project Team: 01

Validation

Event

Grid
Choos
e
Choos
e
Click
Choos
e
Click

Prepared by: All members

Description
Grid contains controls:
2,3,4,5,6

Status

From Date Add


To Date Add
Checke
d

Choose All Date


Choose Status of bank
Show Report
Show Report in this
component

Page 158 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.2.22.2. Customers

No.

Name

Type

tabCustomers

Tab

gridCustomerReport

Grid

cbbCustomerType

Combobox

cbbGender

Combobox

chkbBirthday

Checkbox

Project Team: 01

Validation

Event

Prepared by: All members

Description
Contains controls:
2
Grid contains
controls:
3,4,5,6,7,8
Customer type:
+ All
+ Seller
+ Buyer
+ GoldBuyer
Customers
Gender:
+ All
+ Male
+ Female
+ Other
Check to select
birthday filter

Status

Page 159 of 240

Project: My Sweet Home

Document: Development Guide

cbbBirthFrom

intbox

cbbBirthTo

intbox

8
9

btnReport
btnReset

10

jpCustomerReport

Button
Button
JasperRepor
t

Project Team: 01

Click
Click

Prepared by: All members

Approved by: Faculty


Input customer
birthday from year
Input customer
birthday to year
Perform report
Reset the form
Control contains
the report

Page 160 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.2.22.3. Directories

No.

Name

Type

tabDirectories

Tab

gridDirectories

Grid

cbbDirectoryCategor
y

btnReport

jasperreport

Project Team: 01

Validation

Event

Combobox
Button
JasperReportTo
ol

Click

Prepared by: All members

Description
Contains controls:
2
Contains controls:
3,4
Directory
Category: All,
Directory
Category Name
Show report

Status

Page 161 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.2.22.4. Properties

No.

Name

gridPropertiesReport

2
3
4
5
6
7

dtFrom
dtTo
chkAll
cbUsername
cbSubmissionType
cbPropertyType

btnReport

jsProperties

Project Team: 01

Type

Validation

Grid
Datebox
Datebox
Checkbox
Combobox
combobox
Combobox
button
Jasper report

Prepared by: All members

Even
t

Description

Status

Grid contains
controls:2,3,4,5,6,
7, control 5: data
get from Customer
table
From date
To Date
Check box all date
Seller username
SubmissionType
Property Type
Make report
button
Jasper report

Page 162 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12.2.23. Change Password page


Administrator can change his password in this page.

No.

Name

gridChangePass

txtOldPassword

txtNewPassword

txtConfirm

btnSave

Project Team: 01

Type

Password
field
Password
field
Password
field

Button

Validation

Event

0<length<=30
0<length<=30
Same as
txtNewPasswor
d

Description
Grid
contains
controls:
2,3,4,5
Old
Password
New
Password

Status

Confirm
password

Click

Prepared by: All members

Save Admin
password
then redirect
to Admin
home

Page 163 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

15. Report
15.1. Banks

Report Resources
Table name
Bank
webservices
Banks

Project Team: 01

Field name
Address, Phone
Name, Status, AddedDate

Prepared by: All members

Page 164 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

15.2. Customers

Table name
Customers

Project Team: 01

Report Resources
Field name
No., CustomerType, Username, Name, Birthday, Sex, Phone, Email, Total Number of
Customers

Prepared by: All members

Page 165 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

15.3. Directories

Table name
Directories
DirectoryCategorie
s

Project Team: 01

Report Resources
Field name
Name, Address, Phone, Website, Email
Name

Prepared by: All members

Page 166 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

15.4. Properties

Table name
Properties
PropertyTypes

Report Resources
Field name
PropertyID, PropertyType, SubmissionType, SubmittedDate, ExpiredDate, AdvsDays,
Price, Status,
Name

Prepared by (Student)
Team leader

Approved by (Faculty)

Le Viet Truc

Kieu Trong Khanh

Signature
Date

Project Team: 01

Prepared by: All members

Page 167 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

TASK SHEET

Project Team: 01

Prepared by: All members

Page 168 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

TASK SHEET
Sr. No

Project Ref. No 1
Task

Project Title

Activity
Plan
Prepared By

Start
Date

Date of Preparation of Activity Plan


End
Actual
Members name
Date
Days

Status

CRS document
1

Introduction

Existing Scenario

3
4

Customer Requirement
Specification
Functional Requirement
Specification

System Requirements

Development Software

MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e

Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc

06/22/20
08
06/22/20
08
06/22/20
08
06/22/20
08
06/22/20
08
06/22/20
08

06/24/20
08
06/24/20
08
06/24/20
08
06/24/20
08
06/24/20
08
06/24/20
08

06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08

06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08

06/25/20
08

06/28/20
08

06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08

06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08

06/25/20
08

06/28/20
08

06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08

06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08

All of Team

FINISH

All of Team

FINISH

All of Team

FINISH

All of Team

FINISH

All of Team

FINISH

All of Team

FINISH

Pham Viet Hien

FINISH

Pham Viet Hien

FINISH

Le Viet Truc

FINISH

Pham Viet Hien

FINISH

Pham Viet Hien

FINISH

Pham Viet Hien

FINISH

Pham Viet Hien

FINISH

Pham Viet Hien

FINISH

Pham Viet Hien

FINISH

Pham Viet Hien

FINISH

Nguyen Hai Dang

FINISH

Nguyen Hai Dang

FINISH

Nguyen Hai Dang

FINISH

Pham Viet Hien

FINISH

Nguyen Hai Dang

FINISH

Nguyen Hai Dang

FINISH

Nguyen Hai Dang

FINISH

Nguyen Hai Dang

FINISH

Nguyen Hai Dang

FINISH

Use Case and Sequence Diagrams


7

Register as Buyer

Register as Seller

Submit Enquiry

10

Login

11

Logout

12

Update Profile

13

Buy GoldBuyer Package

14
15

Buyer Search: House for


sale, House for rent, room
for rent
View List of Search
Queries

16

View Search Query

17

View List of Shortcuts

18

Save Shortcut

19

Delete Shorcut

20

GoldBuyer Search:
House for sale, House for
rent, room for rent

21

Send Message to Seller

22
22
23
24
25
26

View Property Detail as


GoldBuyer
View List of Propertis for
Sale (buyProperites.jsp)
View List of Propertis for
Rent (rentProperites.jsp)
View List of Rooms for
Rent (rentRooms.jsp)
Post Property: House for
sale, House for rent, room
for rent
Modify Property: House
for sale, House for rent,
room for rent

27

Delete Property

28

Activate Property

Project Team: 01

MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e

Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc

MySweetHom
e

Le Viet Truc

06/25/20
08

06/28/20
08

Tran Thanh Duy

FINISH

MySweetHom
e

Le Viet Truc

06/25/20
08

06/28/20
08

Tran Thanh Duy

FINISH

06/25/20
08
06/25/20

06/28/20
08
06/28/20

Tran Thanh Duy

FINISH

Tran Thanh Duy

FINISH

MySweetHom
e
MySweetHom

Le Viet Truc
Le Viet Truc

Prepared by: All members

Page 169 of 240

Project: My Sweet Home

29
30
31

Deactivate Property
View List of Properties
(owner only)
View Property Detail
(owner only)

32

Change Password

33

View List of
Administrators

34

Add Administrator

35

Delete Administrator

36

Update Advertisement
Price

37

View List of Banks

38

Add Bank

39

Modify Bank

40

Delete Bank

41

View List of Properties


(for Administrators)

42

View List of Customers

43

Ban Customer

44

View Customer Detail

45

View List of Directories

46

Add Directory

47

Modify Directory

48

Delete Directory

49

View List of Directory


Categories

50

Add Directory Category

51

Modify Directory Category

52

Delete Directory Category

53

View List of FAQs

54

Add Question

55

Modify Question

56

Delete Question

Document: Development Guide


e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e

Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc

08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08

08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08

06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08
06/25/20
08

06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08
06/28/20
08

Approved by: Faculty

Tran Thanh Duy

FINISH

Tran Thanh Duy

FINISH

Tran Thanh Duy

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Nguyen Hai Dang

FINISH

Nguyen Hai Dang

FINISH

Nguyen Hai Dang

FINISH

Nguyen Hai Dang

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Nguyen Hai Dang

FINISH

Nguyen Hai Dang

FINISH

Nguyen Hai Dang

FINISH

Nguyen Hai Dang

FINISH

All of Team

FINISH

All of Team

FINISH

All of Team

FINISH

All of Team

FINISH

All of Team

FINISH

ERD
57

Conceptual

58

Logical

59

Table

60

Database Relationship

61

Table Definition

Project Team: 01

MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e

Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc

Prepared by: All members

Page 170 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

GUI
62

home

63

Display advertisement on
Home page

64

login

65

registerPolicy

66

sendEnquiry

67

updateProfile

68

buyGoldBuyerPackage

69

listOfSearchQueries

70

listOfShortcuts

71

listOfProperties

72

activateProperty

73

postProperty

74

positionPanels

75

modifyProperty

76

propertyDetail

77

Loan information

78

view Google Map

79
80

Choose Google Map for


Property
Choose position for
property

81

sendMessageToSeller

82

search

83

faq

84

adminHome

85

loginAdmin

86

listOfCustomers

87

customerDetail

88

updateAdvsPrice

89

listOfDirectories

90

addDirectory

91

modifyDirectory

92

listOfDirectoryCategories

93

addDirectoryCategory

94

modifyDirectoryCategory

Project Team: 01

MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e

Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc

06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08

07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08

06/29/20
08

07/02/20
08

06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08

07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08

Prepared by: All members

All of Team

FINISH

Tran Thanh Duy

FINISH

Pham Viet Hien

FINISH

Pham Viet Hien

FINISH

Le Viet Truc

FINISH

Pham Viet Hien

FINISH

Pham Viet Hien

FINISH

Pham Viet Hien

FINISH

Nguyen Hai Dang

FINISH

Tran Thanh Duy

FINISH

Tran Thanh Duy

FINISH

Tran Thanh Duy

FINISH

Tran Thanh Duy

FINISH

Tran Thanh Duy

FINISH

Nguyen Hai Dang


& Tran Thanh
Duy

FINISH

Nguyen Hai Dang

FINISH

Nguyen Hai Dang

FINISH

Nguyen Hai Dang

FINISH

Tran Thanh Duy

FINISH

Nguyen Hai Dang

FINISH

Pham Viet Hien

FINISH

Nguyen Hai Dang

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Page 171 of 240

Project: My Sweet Home


95

listOfBanks

96

addBank

97

modifyBank

98

listOfFAQs

99

addFAQ

100

modifyFAQ

101

listOfAdministrators

102

addAdministrator

104

report

105

changePassowrd

Document: Development Guide


MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e

Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc

06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08

07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08

06/29/20
08
06/29/20
08
06/29/20
08
06/29/20
08

07/02/20
08
07/02/20
08
07/02/20
08
07/02/20
08

06/29/20
08
06/29/20
08

07/02/20
08
07/02/20
08

07/02/20
08

07/02/20
08

Approved by: Faculty


4

Nguyen Hai Dang

FINISH

Nguyen Hai Dang

FINISH

Nguyen Hai Dang

FINISH

Nguyen Hai Dang

FINISH

Nguyen Hai Dang

FINISH

Nguyen Hai Dang

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

All of Team

FINISH

Le Viet Truc

FINISH

Pham Viet Hien

FINISH

Tran Thanh Duy

FINISH

Nguyen Hai Dang

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Le Viet Truc

FINISH

Report
106

reportCustomers

107

reportProperties

108

reportBanks

109

reportDirectories

MySweetHom
e
MySweetHom
e
MySweetHom
e
MySweetHom
e

Le Viet Truc
Le Viet Truc
Le Viet Truc
Le Viet Truc

Permission Security
110

Home page

111

Admin page

MySweetHom
e
MySweetHom
e

Le Viet Truc
Le Viet Truc

Task sheet
112

Task sheet

Project Team: 01

MySweetHom
e

Le Viet Truc

Prepared by: All members

Page 172 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

Prepared by (Student)
Team leader

Approved by (Faculty)

Le Viet Truc

Kieu Trong Khanh

Signature
Date

Project Team: 01

Prepared by: All members

Page 173 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

MONITORING
REPORT

Project Team: 01

Prepared by: All members

Page 174 of 240

Unit Test
1. Login
Author
Test case name
Actor
Pre-requisite
Process

Pham Viet Hien


Login
Customer
Step
No.
1
2

3
Login
4

Action/Description
From Login page, left all textfield
blank and then click on to the Login
button.
Enter UserName in UserName
textfield and then click Login button.

Input Data

Expected Result

Enter Password in Password


textfield and then click Login button.

Abcdef

Enter UserName in UserName


textfield, enter Password in
Password textfield (with UserName
and Password of an Buyer account)
and then click Login button.

UserName: hienhien
Password: hienhien

A message box appears


with content: UserName
and Password is invalid
A message box appears
with content: UserName
and Password is invalid
A message box appears
with content: The Address
cannot be blank. Please
input the Address.
Redirect to Home page of
Buyer.

Enter UserName in UserName


textfield, enter Password in
Password textfield (with UserName
and Password of an Seller account)
and then click Login button.

UserName: viethien
Password: viethien

Redirect to List of
Properties page.

Abcdef

Actual Result

Pass/F
ail
DONE
DONE
DONE

DONE

DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

2. Register
Author
Test case name
Actor
Pre-requisite
Process
Register

Pham Viet Hien


Register
Customer
Step
No.
1
2

7
8

Project Team: 01

Action/Description

Input Data

Expected Result

From Home page, click on to the


Register button.
From Register page, left all textfield
blank and then click on to the
Register button.
Enter UserName in UserName
textfield and then click Register
button.

Hien

Enter Password in Password


textfield and then click Register
button.

Hien

Enter Confirm Password in ConFirm


Password textfield and then click
Register button.

hien1

Enter Name in Name textfield and


then click Register button.

Hien

Select current date from the


Birthday datebox and then click
Register button.

17-07-08

Enter Address in Address textfield


and then click Register button.

02VP, Chau Thoi street,


10 Dist, HCM City

Prepared by: All members

Redirect to Register
page.
A validation message point
to UserName text field
with content: UserName
cannot be blank
A validation message point
to Password text field
with content: Password
cannot be blank
A validation message point
to ConFirm Password text
field with content:
Password Confirm cannot
be blank
A validation message point
to Name text field with
content: Name cannot be
blank
A validation message point
to Birthday datebox with
content: Birthday cannot
be blank
A validation message point
to Address text field with
content: Address cannot
be blank
A validation message point
to Phone int box with
content: Phone cannot be
blank

Page 176 of 240

Actual Result

Pass/F
ail
DONE
DONE

DONE

DONE

DONE

DONE

DONE

DONE

Project: My Sweet Home

10

Document: Development Guide


Enter Phone in Phone int box and
then click Register button.

Enter Email in Email text field and


then click Register button.

Hien

Enter Email in Email text field and


then click Register button.

hien@yahoo.com

Enter another UserName in


UserName textfield and then click
Register button.

Hienhien

Enter another Confirm Password in


ConFirm Password textfield and
then click Register button.

hien

Select another date from the


Birthday datebox and then click
Register button.

01-01-92

Enter the string in the Image Viewer


captcha field

EMEHe

Enter another UserName in


UserName textfield and then click
Register button.

hienhien1

11

12

13

14

15
16

Project Team: 01

Approved by: Faculty

Prepared by: All members

A validation message point


to Email text field with
content: Email cannot be
blank
A validation message point
to Email text field with
content: Email is invalid
A validation message point
to Username text field
with content: UserName
must be 6 to 30
characters
A validation message point
to Confirm Password text
field with content: Confirm
Password not match
Password
A validation message point
to Birthday datebox with
content: Age must be
over 16
A validation message point
to Repeat Image text field
with content: Repeat
Image not match Image
A message box appears
with content: This
Username has already
exist!
The new User account, as
a Buyer (default Customer
Type when not select
Customer Type in
Customer Type Radio
Group), and Gender is
Male (default Gender
when not select Gender in
Gender Radio Group) is
added into the database,
and a message box

Page 177 of 240

DONE

DONE
DONE

DONE

DONE

DONE

DONE

DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty


appears with content:
Your account has been
created!. Then redirect to
Login page.

Project Team: 01

Prepared by: All members

Page 178 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

3. Update Profile
Author
Test case name
Actor
Pre-requisite
Process
Update Profile

Pham Viet Hien


Update Profile
Customer
Actor has already logged into the System as a Customer
Step
Action/Description
Input Data
No.
From Home page, click on to the
UpdateProfle button.
1

Clear the New Password text field


and then click on to the Save
button.

6
7

Project Team: 01

Redirect to Update Profile


page, load all User profile
information, and fill onto
the form.
A validation message point
to New Password text
field with content: New
Password cannot be
blank
A validation message point
to New Password
Confirm text field with
content: New Password
Confirm cannot be blank
A validation message point
to New Password
Confirm text field with
content: New Password
Confirm not match New
Password
A validation message point
to Name text field with
content: Name cannot be
blank

Actual Result

Pass/F
ail
DONE

DONE

Enter New Password and clear the


New Password Confirm text field
and then click on to the Save
button.

hien1

Enter New Password Confirm and


then click on to the Save button.

hien2

Enter another New Password


Confirm in New Password ConFirm
textfield, and clear the Name text
field, and then click Save button.

hien1

Enter Name in Name textfield, and


select another birthday in the
Birthday datebox, and then click
Register button.

hien
01-01-93

A validation message point


to Birthday datebox with
content: Age must be
over 16

DONE

Select another date from the

01-02-92

A validation message point

DONE

Expected Result

Prepared by: All members

Page 179 of 240

DONE

DONE

DONE

Project: My Sweet Home

10

Document: Development Guide


Birthday datebox, and select
Female radio button, clear the
Address text field, and then click
Save button.
Enter Address in Address textfield,
and clear the Phone int box, and
then click Save button.

to Address text field with


content: Address cannot
be blank
02VP, Chau Thoi street,
10 Dist, HCM City

Enter another Phone in Phone int


box, and clear the Email text field,
and then click Save button.

123

Enter another Email in Email text


field and then click Save button.

hien

Enter another Email in Email text


field and then click Save button.

hien1@yahoo.com

11

Project Team: 01

Approved by: Faculty

Prepared by: All members

A validation message point


to Phone int box with
content: Phone cannot be
blank
A validation message point
to Email text field with
content: Email cannot be
blank
A validation message point
to Email text field with
content: Email is invalid
The User account is
updated into the database,
with the new fields:
- Gender is Female.
- Password is hien1.
- Address is 02VP, Chau
Thoi street, 10 Dist, HCM
City.
- Phone is 123.
- Email is
hien1@yahoo.com.
And then a message box
appears with content:
Your account has been
updated!. Then redirect to
Login page.

Page 180 of 240

DONE

DONE

DONE
DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

4. Buy GoldBuyer Package


Author
Test case name
Actor
Pre-requisite
Process
Buy GoldBuyer
Package

Pham Viet Hien


Buy GoldBuyer Package
Buyer
Actor has already logged into the System as a Buyer
Step
Action/Description
No.
From Home page, click on to the
Buy GoldBuyer Package button.
1

6
7

Project Team: 01

Clear the CreditNo1 text field and


then click on to the Buy button.
Enter another 4 digits in CreditNo1
and clear the CreditNo2 text field
and then click on to the Buy button.

4444

Enter another 4 digits in CreditNo2


and clear the CreditNo3 text field
and then click on to the Buy button.

3333

Enter another 4 digits in CreditNo3


and clear the CreditNo4 text field
and then click on to the Buy button.

2222

Enter another 3 digits in CreditNo4


and then click on to the Buy button.

111

Enter another 4 digits in CreditNo4,


and select CreditExpiredMonth in
CreditExpiredMonth combobox and
then click on to the Buy button.

1111
01

Prepared by: All members

Input Data

Expected Result
Redirect to Buy
GoldBuyer Package page,
load Users Credit
information (if already
have it), and fill onto the
form.
A validation message point
to CreditNo1 text field
with content: Invalid
CreditNo
A validation message point
to CreditNo2 text field
with content: Invalid
CreditNo
A validation message point
to CreditNo3 text field
with content: Invalid
CreditNo
A validation message point
to CreditNo4 text field
with content: Invalid
CreditNo
A validation message point
to CreditNo4 text field
with content: Invalid
CreditNo
A validation message point
to CreditExpiredMonth
combobox with content:
Credit Card has been
expired

Page 181 of 240

Actual Result

Pass/F
ail
DONE

DONE

DONE

DONE

DONE

DONE

DONE

Project: My Sweet Home

Document: Development Guide


Select another CreditExpiredMonth
in CreditExpiredMonth combobox,
and select CreditExpiredYear in
CreditExpiredYear combobox and
then click on to the Buy button.

07
2009

Project Team: 01

Prepared by: All members

Approved by: Faculty


The User account is
updated into the database,
with the new fields:
- GoldBuyerExpiredDate is
current day + 10 more
days.
- New Credit Card No.
- New Credit Card Name.
- New Credit Card Expired
Date.
And then a message box
appears with content:
Congratulation.

Page 182 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

5. PropertyForSaleSearching
Author
Test case name
Actor
Pre-requisite
Process
PropertyForSaleS
earching

Pham Viet Hien


PropertyForSaleSearching
Buyer
Actor has already logged into the System as a buyer
Step
Action/Description
No.
From Home page, click on to the
Search button.
1
Left all textfield blank and click
Search button
2
Input value to MinPrice textfield and
click Search button

30,000

Input value to MaxPrice textfield


and click Search button

50,000

Input value to MinSquareFootage


textfield and click Search button

40

Project Team: 01

Prepared by: All members

Input Data

Expected Result
Redirect to Search page,
show up default tab:
Property for Sale
Searching
Search Result list box
below the form will show
up all records of
submission type: Property
For Sale.
Search Result list box
below the form will show
up all records of
submission type: Property
For Sale, which have
match the condition:
- Price >= 10000
Search Result list box
below the form will show
up all records of
submission type: Property
For Sale, which have
match the condition:
- Price >= 10000
- Price <= 50000
Search Result list box
below the form will show
up all records of
submission type: Property
For Sale, which have
match the condition:
- Price >= 10000

Page 183 of 240

Actual Result

Pass/F
ail
DONE

DONE

DONE

DONE

DONE

Project: My Sweet Home

Document: Development Guide

Input value to MaxSquareFootage


textfield and click Search button

60

Input value to City textfield and click


Search button

Ho

Input value to Location textfield and


click Search button

district 10

Input value to NoOfBedRooms


textfield and click Search button

Project Team: 01

Prepared by: All members

Approved by: Faculty


- Price <= 50000
- SquareFootage >= 30
Search Result list box
below the form will show
up all records of
submission type: Property
For Sale, which have
match the condition:
- Price >= 10000
- Price <= 50000
- SquareFootage >= 30
- SquareFootage <= 50
Search Result list box
below the form will show
up all records of
submission type: Property
For Sale, which have
match the condition:
- Price >= 10000
- Price <= 50000
- SquareFootage >= 30
- SquareFootage <= 50
- City contains Ho Chi
Minh string
Search Result list box
below the form will show
up all records of
submission type: Property
For Sale, which have
match the condition:
- Price >= 10000
- Price <= 50000
- SquareFootage >= 30
- SquareFootage <= 50
- City contains Ho Chi
Minh string
- Location City contains
Viet Name string
Search Result list box
below the form will show

Page 184 of 240

DONE

DONE

DONE

DONE

Project: My Sweet Home

Document: Development Guide

Input value to NoOfBathRooms


textfield and click Search button

Select type from PropertyType


combobox and click Search button

Residential

10

11

Project Team: 01

Prepared by: All members

Approved by: Faculty


up all records of
submission type: Property
For Sale, which have
match the condition:
- Price >= 10000
- Price <= 50000
- SquareFootage >= 30
- SquareFootage <= 50
- City contains Ho Chi
Minh string
- Location contains district
10 string
- NumberOfBedRooms = 3
Search Result list box
below the form will show
up all records of
submission type: Property
For Sale, which have
match the condition:
- Price >= 10000
- Price <= 50000
- SquareFootage >= 30
- SquareFootage <= 50
- City contains Ho Chi
Minh string
- Location contains district
10 string
- NumberOfBedRooms = 3
- NumberOfBathRooms =
5
Search Result list box
below the form will show
up all records of
submission type: Property
For Sale, which have
match the condition:
- Price >= 10000
- Price <= 50000
- SquareFootage >= 30
- SquareFootage <= 50

Page 185 of 240

DONE

DONE

Project: My Sweet Home

Document: Development Guide

Check on IsNegotiable checkbox


and click Search button

12

13

Project Team: 01

Check on WithFurniture checkbox


and click Search button

Prepared by: All members

Approved by: Faculty


- City contains Ho Chi
Minh string
- Location contains district
10 string
- NumberOfBedRooms = 3
- NumberOfBathRooms =
5
- PropertyType =
Residential
Search Result list box
below the form will show
up all records of
submission type: Property
For Sale, which have
match the condition:
- Price >= 10000
- Price <= 50000
- SquareFootage >= 30
- SquareFootage <= 50
- City contains Ho Chi
Minh string
- Location contains district
10 string
- NumberOfBedRooms = 3
- NumberOfBathRooms =
5
- PropertyType =
Residential
- IsNegotiable = 1
Search Result list box
below the form will show
up all records of
submission type: Property
For Sale, which have
match the condition:
- Price >= 10000
- Price <= 50000
- SquareFootage >= 30
- SquareFootage <= 50
- City contains Ho Chi

Page 186 of 240

DONE

DONE

Project: My Sweet Home

14

Project Team: 01

Document: Development Guide

Change value to City textfield and


click Search button

Approved by: Faculty

NotExistedCity

Prepared by: All members

Minh string
- Location City contains
Viet Name string
- NumberOfBedRooms = 3
- NumberOfBathRooms =
5
- PropertyType =
Residential
- IsNegotiable = 1
- WithFurniture = 1
Messagebox show up: No
result found!

Page 187 of 240

DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

6. PropertyForRentSearching
Author
Test case name
Actor
Pre-requisite
Process
PropertyForRent
Searching

Pham Viet Hien


PropertyForRentSearching
Buyer
Actor has already logged into the System as a buyer
Step
Action/Description
No.
From Home page, click on to the
Search button.
1
2

Select PropertyForRentSearching
tab
Left all textfield blank and click
Search button

3
Input value to MinDeposit textfield
and click Search button

30000

Input value to MaxDeposit textfield


and click Search button

50000

Input value to MinRent textfield and


click Search button

3000

Project Team: 01

Prepared by: All members

Input Data

Expected Result
Redirect to Search page,
show up default tab:
Property for Sale
Searching
PropertyForRentSearching
tab show up
Search Result list box
below the form will show
up all records of
submission type: Property
For Rent.
Search Result list box
below the form will show
up all records of
submission type: Property
For Rent, which have
match the condition:
- Deposit >= 10000
Search Result list box
below the form will show
up all records of
submission type: Property
For Rent, which have
match the condition:
- Deposit >= 1000
- Deposit <= 5000
Search Result list box
below the form will show
up all records of
submission type: Property
For Rent, which have

Page 188 of 240

Actual Result

Pass/F
ail
DONE

DONE
DONE

DONE

DONE

DONE

Project: My Sweet Home

Document: Development Guide

Input value to MaxRent textfield and


click Search button

5000

Input value to City textfield and click


Search button

Ho Chi Minh

Input value to Location textfield and


click Search button

district 10

Project Team: 01

Prepared by: All members

Approved by: Faculty


match the condition:
- Deposit >= 1000
- Deposit <= 5000
- Deposit >= 1000
Search Result list box
below the form will show
up all records of
submission type: Property
For Rent, which have
match the condition:
- Deposit >= 1000
- Deposit <= 5000
- Deposit >= 1000
- Deposit >= 5000
Search Result list box
below the form will show
up all records of
submission type: Property
For Rent, which have
match the condition:
- Deposit >= 1000
- Deposit <= 5000
- Deposit >= 1000
- Deposit >= 5000
- City contains Ho Chi
Minh string
Search Result list box
below the form will show
up all records of
submission type: Property
For Rent, which have
match the condition:
- Deposit >= 1000
- Deposit <= 5000
- Deposit >= 1000
- Deposit >= 5000
- City contains Ho Chi
Minh string
- Location City contains
Viet Name string

Page 189 of 240

DONE

DONE

DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

Input value to NoOfBedRooms


textfield and click Search button

Input value to NoOfBathRooms


textfield and click Search button

Change value to City textfield and


click Search button

NotExistedCity

10

11

12

Search Result list box


below the form will show
up all records of
submission type: Property
For Rent, which have
match the condition:
- Deposit >= 1000
- Deposit <= 5000
- Deposit >= 1000
- Deposit >= 5000
- City contains Ho Chi
Minh string
- Location City contains
Viet Name string
- NumberOfBedRooms = 3
Search Result list box
below the form will show
up all records of
submission type: Property
For Rent, which have
match the condition:
- Deposit >= 1000
- Deposit <= 5000
- Deposit >= 1000
- Deposit >= 5000
- City contains Ho Chi
Minh string
- Location City contains
Viet Name string
- NumberOfBedRooms = 3
- NumberOfBathRooms =
5
Messagebox show up: No
result found!

7. PropertyForRentSearching
Author
Test case name
Actor

Project Team: 01

Pham Viet Hien


RoomForRentSearching
Buyer

Prepared by: All members

Page 190 of 240

DONE

DONE

DONE

Project: My Sweet Home


Pre-requisite
Process
RoomForRentSe
arching

Document: Development Guide

Actor has already logged into the System as a buyer


Step
Action/Description
No.
From Home page, click on to the
Search button.
1
2

Select RoomForRentSearching tab


Left all textfield blank and click
Search button

3
Input value to MinDeposit textfield
and click Search button

1000

Input value to MaxDeposit textfield


and click Search button

5000

Input value to MinRent textfield and


click Search button

1000

Input value to MaxRent textfield and


click Search button

5000

Project Team: 01

Prepared by: All members

Approved by: Faculty

Input Data

Expected Result
Redirect to Search page,
show up default tab:
Property for Sale
Searching
RoomForRentSearching
tab show up
Search Result list box
below the form will show
up all records of
submission type: Room
For Rent.
Search Result list box
below the form will show
up all records of
submission type: Room
For Rent, which have
match the condition:
- Deposit >= 10000
Search Result list box
below the form will show
up all records of
submission type: Room
For Rent, which have
match the condition:
- Deposit >= 1000
- Deposit <= 5000
Search Result list box
below the form will show
up all records of
submission type: Room
For Rent, which have
match the condition:
- Deposit >= 1000
- Deposit <= 5000
- Deposit >= 1000
Search Result list box
below the form will show

Page 191 of 240

Actual Result

Pass/F
ail
DONE

DONE
DONE

DONE

DONE

DONE

DONE

Project: My Sweet Home

Project Team: 01

Document: Development Guide

Change value to MinDeposit


textfield and click Search button

Approved by: Faculty

9,000,000,000

Prepared by: All members

up all records of
submission type: Room
For Rent, which have
match the condition:
- Deposit >= 1000
- Deposit <= 5000
- Deposit >= 1000
- Deposit >= 5000
Messagebox show up: No
result found!

Page 192 of 240

DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

8. PropertyForSaleSearching of GoldBuyer
Author
Test case name
Actor
Pre-requisite
Process

PropertyForSaleS
earching

Project Team: 01

Pham Viet Hien


PropertyForSaleSearching of GoldBuyer
Buyer
Actor has already logged into the System as a GoldBuyer (GoldExpiredDate is still valid)
Step
Action/Description
Input Data
Expected Result
No.
From Home page, click on to the
Redirect to Search page,
1
Search button.
show up default tab: Property
for Sale Searching
Input value to MinPrice textfield
30,000
Search Result list box below
Input value to MinPrice textfield
50,000
the form will show up all
Input value to MinSquareFootage
40
records of submission type:
textfield
Property For Sale, which
Input value to MaxSquareFootage
60
have match the condition:
textfield
Ho
- Price >= 10000
Input value to City textfield
district 10
- Price <= 50000
Input value to Location textfield
3
- SquareFootage >= 30
Input value to NoOfBedRooms
- SquareFootage <= 50
textfield
3
- City contains Ho Chi Minh
2
Input value to NoOfBathRooms
Residential
string
textfield
- Location City contains Viet
Select type from PropertyType
Name string
combobox
- NumberOfBedRooms = 3
Check on WithFurniture checkbox
- NumberOfBathRooms = 5
and click Search button
- PropertyType = Residential
Check on WithFurniture checkbox
- IsNegotiable = 1
and click Search button
- WithFurniture = 1
System save the search query
into searchqueries list
Click on the SearchQueries button
List of search queries show in
3
on the menu
tabs, including the new added
search query

Prepared by: All members

Page 193 of 240

Actual
Result

Pass/F
ail
DONE
DONE

DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

9. PropertyForRentSearching of GoldBuyer
Author
Test case name
Actor
Pre-requisite
Process

PropertyForRent
Searching

Project Team: 01

Pham Viet Hien


PropertyForRentSearching of GoldBuyer
Buyer
Actor has already logged into the System as a GoldBuyer (GoldExpiredDate is still valid)
Step
Action/Description
Input Data
Expected Result
No.
From Home page, click on to the
Redirect to Search page,
Search button.
show up default tab:
1
Property for Sale
Searching
Select PropertyForRentSearching
PropertyForRentSearching
2
tab
tab show up
Input value to MinDeposit textfield
30,000
Search Result list box
Input value to MinDeposit textfield
below the form will show
Input value to MinRent textfield
50,000
up all records of
Input value to MaxRent textfield
3000
submission type: Property
Input value to City textfield
5000
For Sale, which have
Input value to Location textfield
Ho
match the condition:
Input value to NoOfBedRooms
district 10
- Deposit >= 10000
textfield
3
- Deposit <= 50000
Input value to NoOfBathRooms
- Rent >= 30
textfield
3
- Rent <= 50
3
- City contains Ho Chi
Minh string
- Location City contains
district 10 string
- NumberOfBedRooms = 3
- NumberOfBathRooms =
5
System save the search
query into searchqueries
list
Click on the SearchQueries button
List of search queries
4
on the menu
show in tabs, including the
new added search query

Prepared by: All members

Page 194 of 240

Actual Result

Pass/F
ail
DONE

DONE
DONE

DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

10. PropertyForRentSearching of GoldBuyer


Author
Test case name
Actor
Pre-requisite
Process

RoomForRentSe
arching

Project Team: 01

Pham Viet Hien


RoomForRentSearching of GoldBuyer
Buyer
Actor has already logged into the System as a GoldBuyer (GoldExpiredDate is still valid)
Step
Action/Description
Input Data
Expected Result
No.
From Home page, click on to the
Redirect to Search page,
Search button.
show up default tab:
1
Property for Sale
Searching
Select RoomForRentSearching tab
RoomForRentSearching
2
tab show up
Input value to MinDeposit textfield
30,000
Search Result list box
Input value to MinDeposit textfield
below the form will show
Input value to MinRent textfield
50,000
up all records of
Input value to MaxRent textfield
submission type: Property
3000
For Sale, which have
5000
match the condition:
3
- Deposit >= 10000
- Deposit <= 50000
- Rent >= 30
- Rent <= 50
System save the search
query into searchqueries
list
Click on the SearchQueries button
List of search queries
4
on the menu
show in tabs, including the
new added search query

Prepared by: All members

Page 195 of 240

Actual Result

Pass/F
ail
DONE

DONE
DONE

DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

11. Process Not Found SearchQueries


Author
Test case name
Actor
Pre-requisite
Process
RoomForRentSe
arching

Project Team: 01

Pham Viet Hien


Process Not Found SearchQueries
Buyer
Actor has already logged into the System as a GoldBuyer (GoldExpiredDate is still valid)
Step
Action/Description
Input Data
Expected Result
No.
From Home page, click on to the
Redirect to Search page,
Search button.
show up default tab:
1
Property for Sale
Searching
Select RoomForRentSearching tab
RoomForRentSearching
2
tab show up
Input value to MinDeposit textfield
900,000,000
Messagebox show up: No
result found! Do you want
to save this search query?
3
If yes, you will receive an
email when a new propery
matching your search
condition has been added!
Click on the Yes button on the
System save the search
4
Confirm messagebox
query into searchqueries
list
Insert a new property into database
SubmissionType=3
An email send to the
which have SubmissionType and
Deposit=900,000,000
customers who had
Deposit matching the above
perform the not found
condittions
search queries with the
same conditions.
- From email address:
viethienpham@gmail.com,
- Title: Query found
5
- Content:
Dear customer,
This is an email
from MySweetHome
company.
You have a search
not found at
( SearchDate).

Prepared by: All members

Page 196 of 240

Actual Result

Pass/F
ail
DONE

DONE
DONE

DONE
DONE

Project: My Sweet Home

Document: Development Guide

Click on the link on the email


6

Project Team: 01

Prepared by: All members

Approved by: Faculty


Your search query
is now found at:
http://localhost:80
80/MSH/propertyDeta
ilForBuyer.jsp?
PropertyID=(Propert
yID).
You may want to
check it again.
Kind regard.
MySweetHome
Administrator
Staff.
propertyDetailForBuyer.js
p page show up, with the
selected propertyID

Page 197 of 240

DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

12. List of SearchQueries


Author
Test case name
Actor
Pre-requisite
Process
RoomForRentSe
arching

Project Team: 01

Pham Viet Hien


List of SearchQueries
Buyer
Actor has already logged into the System as a GoldBuyer (GoldExpiredDate is still valid)
Step
Action/Description
Input Data
Expected Result
No.
From Home page, click on to the
Redirect to
SearchQueries button.
listOfSearchQueries page
If the list have more than 5
records, messagebox
show up: Your search
query list over 5
1
records. Do you want
to remove the oldest
queries automatically?
If no, you must remove
it manually!
Click on Yes button
System remove the oldest
searchqueries out of the
2
list, then redirect to
listOfSearchQueries page
Perform a new search and go back
The list have more than 5
to listOfSearchQueries page
records, messagebox
show up: Your search
query list over 5
records. Do you want
3
to remove the oldest
queries automatically?
If no, you must remove
it manually!
Click on No button
List of search queries
4
show up in tabs.
Select search query tab, click
System remove the
Remove SearchQuery button
selected searchquery out
5
of the list, then redirect to
listOfSearchQueries page
6
Select search query tab, click
System redirect to Search

Prepared by: All members

Page 198 of 240

Actual Result

Pass/F
ail
DONE

DONE

DONE

DONE
DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

Search Again button

page with the selected tab


and search conditions as
same as from the search
query

13. Post Property


Author
Test case name
Actor
Pre-requisite
Process

Tran Thanh Duy


Managing Properties
Administrators
Actor has already logged into the System as Administrator
Step
Action/Description
Input Data
No.
From View List of Properties page,
1
click on to the Post Property button.
Post Property form appear
2
Choose Property For Sale tab
Left Property Price text field or
-2 ,0
provide invalid price and then click
3
Submit button.

5
6
7
8

Project Team: 01

Input Property price value into


PropertyPrice text field if value is
over 100.000.000 and then click
Submit button
Left City text field and then click
Submit button.
Input City information if length of data
is over 20 and then click submit
button
Left Address text field and then click
Add button
Input Address information if length of
data is over 200 and then click submit
button

Prepared by: All members

Expected Result

A message box appears


with content: The price
provided is invalid. Only
positive number is
allowed.
A message box appears
with content: Max value of
PropertyPrice is
100.000.000
A message box appears
with content: City cant
be blank.
A message box appears
with content: Max length
of city is 20 characters
A message box appears
with content: Address
cant be blank
A message box appears
with content: Max length
of Address is 200
characters

Page 199 of 240

Actual Result

Pass/F
ail
DONE
DONE
DONE

DONE

DONE
DONE
DONE
DONE

Project: My Sweet Home

Document: Development Guide


Click on google Map button

9
Property For Sale
10

11

12

13

Input number of bathroom value if


value is over 255 and then click
submit button

14

Left Square Footage text field or


provide invalid data and then click
Submit button

16

17
18

-2,0

Input number of bedroom value if


value is over 255 and then click
submit button
Left Number of Bathroom text field
or provide invalid data and then click
Submit button

15

Project Team: 01

Left Number of Bedroom text field or


provide invalid data and then click
Submit button

Input Square footage value into


Square footage text field if value is
not between 12 and 100.000 and then
click Submit button
Input Extra information into Extra text
field if length of data is over 200 and
then click Add button.
Input Transport Mode information into
Transport mod text field if length of
data is over 200 and then click Add
button.
Input Phone information into Contact

Prepared by: All members

-2,0

-2,0

1234

Approved by: Faculty


A popup window appear
with google map, user can
choose position of
property.
A message box appears
with content: Number of
Bedroom provided is
invalid. Only positive
number is allowed.
A message box appears
with content: Max value of
Number of Bedroom is
255.
A message box appears
with content: Number of
Bathroom provided is
invalid. Only positive
number is allowed.
A message box appears
with content: Number of
Bathroom provided is
invalid. Only positive
number is allowed.
A message box appears
with content: Number of
Bathroom provided is
invalid. Only positive
number is allowed.
A message box appears
with content: Value of
Square footage must be
between 12 and 100.000 .
A message box appears
with content: Max length
of Extra is 200 characters.
A message box appears
with content: Max length
of Transport is 200
characters.
A message box appears

Page 200 of 240

DONE

DONE

DONE

DONE

DONE

DONE

DONE

DONE
DONE

DONE

Project: My Sweet Home

Document: Development Guide


Phone text field and then click Add
button.

19

Input Email information into Email


text field and then click Add button.

Email.com
Email
12345@

Click on Position button


20
Left Days text field or provide invalid
data and then click Submit button

-2,0

21

Project Team: 01

22

Input Days value if value is over 30


and then click submit button
233-

23

Left credit card1 text field or provide


invalid data and then click submit
button

233-

24

Left credit card2 text field or provide


invalid data and then click submit
button

233-

25

Left credit card2 text field or provide


invalid data and then click submit
button

233-

26

Left credit card2 text field or provide


invalid data and then click submit
button

27

Click Cancel button

Prepared by: All members

Approved by: Faculty


with content: The number
of Phone should be
numeric only and must be
>=8 and <=14.
A message box appears
with content: Please enter
an email address.
A popup window appear,
you can choose position
for your property.
A message box appears
with content: The Days
provided is invalid. Only
positive number is
allowed.
A message box appears
with content: Max value of
Days is 30.
A message box appears
with content: The Credit
card 1 is invalid. Only
positive number is
allowed.
A message box appears
with content: The Credit
card 2 is invalid. Only
positive number is
allowed.
A message box appears
with content: The Credit
card 2 is invalid. Only
positive number is
allowed.
A message box appears
with content: The Credit
card 2 is invalid. Only
positive number is
allowed.
Redirect to list of
Properties page

Page 201 of 240

DONE
DONE
DONE

DONE
DONE

DONE

DONE

DONE

DONE

Project: My Sweet Home

28

29

1
2
3

7
8
9

Project Team: 01

Document: Development Guide

Approved by: Faculty

Click Preview button


Input property for sale information:
Property Price text field
city text field
address text field
number of bed text field
number of bath text field
square footage text field
days text field
Credit card No
Click on Submit button
From View List of Properties page,
click on to the Post Property button.
Post Property form appear
Choose Property For Rent tab
Left Deposit text field or provide
invalid data and then click Submit
button
Input Deposit value if value is over
100.000.000 and then click submit
button
Left Rent Price text field or provide
invalid data and then click Submit
button
Input Rent Price value if value is over
100.000.000 and then click submit
button
Left City text field and then click
Submit button.
Input City information if length of data
is over 20 and then click submit
button
Left Address text field and then click

Prepared by: All members

2356000
Ho Chi Minh
54/16 ngo quyen F5 Q10
2
3
1025
20
4444333322221111

Redirect to Preview
property page.
The Property is added to
database and a message
box appears with content:
Your property had been
submitted.

DONE
DONE

DONE

A message box appears


with content: The Deposit
provided is invalid. Only
positive number is
allowed.
A message box appears
with content: Max value of
Deposit is 100.000.000.
A message box appears
with content: The Rent
Price provided is invalid.
Only positive number is
allowed.
A message box appears
with content: Max value of
Rent Price is
100.000.000.
A message box appears
with content: City cant
be blank.
A message box appears
with content: Max length
of city is 20 characters
A message box appears

Page 202 of 240

DONE
DONE

DONE
DONE

DONE

DONE
DONE
DONE

Project: My Sweet Home

Document: Development Guide


Add button.

10

Input Address information if length of


data is over 200 and then click submit
button
Click on google Map button

11

Property For Rent

12

13

Project Team: 01

Left Number of Bedroom text field or


provide invalid data and then click
Submit button

-2,0

Input number of bedroom value if


value is over 255 and then click
submit button

14

Left Number of Bathroom text field


or provide invalid data and then click
Submit button

15

Input number of bathroom value if


value is over 255 and then click
submit button
1234

16

Input Phone information into Contact


Phone text field and then click Add
button.

17

Input Email information into Email


text field and then click Add button.

Email.com
Email
12345@

18

Click on Position button

Prepared by: All members

-2,0

Approved by: Faculty


with content: Address
cant be blank
A message box appears
with content: Max length
of Address is 200
characters
A popup window appears
with google map, user can
choose position of
property.
A message box appears
with content: Number of
Bedroom provided is
invalid. Only positive
number is allowed.
A message box appears
with content: Max value of
Number of Bedroom is
255.
A message box appears
with content: Number of
Bathroom provided is
invalid. Only positive
number is allowed.
A message box appears
with content: Number of
Bathroom provided is
invalid. Only positive
number is allowed.
A message box appears
with content: The number
of Phone should be
numeric only and must be
>=8 and <=14.
A message box appears
with content: Please enter
an email address.
A popup window appears,
you can choose position
for your property.

Page 203 of 240

DONE

DONE

DONE

DONE

DONE

DONE

DONE

DONE
DONE

Project: My Sweet Home

Document: Development Guide


Left Days text field or provide invalid
data and then click Submit button

Approved by: Faculty

-2,0

19

20

Input Days value if value is over 30


and then click submit button
233-

21

Left credit card1 text field or provide


invalid data and then click submit
button

233-

22

Left credit card2 text field or provide


invalid data and then click submit
button

233-

23

Left credit card2 text field or provide


invalid data and then click submit
button

233-

24

Left credit card2 text field or provide


invalid data and then click submit
button

25
26
27

Project Team: 01

Click Cancel button


Click Preview button
Input property for sale information:
Deposit text field
Rent Price text field
city text field
address text field
number of bed text field
number of bath text field
days text field

Prepared by: All members

15000
3256
My Tho
35 Nguyen trai F5 Q3
2
3
15

A message box appears


with content: The Days
provided is invalid. Only
positive number is
allowed.
A message box appears
with content: Max value of
Days is 30.
A message box appears
with content: The Credit
card 1 is invalid. Only
positive number is
allowed.
A message box appears
with content: The Credit
card 2 is invalid. Only
positive number is
allowed.
A message box appears
with content: The Credit
card 2 is invalid. Only
positive number is
allowed.
A message box appears
with content: The Credit
card 2 is invalid. Only
positive number is
allowed.
Redirect to list of
Properties page
Redirect to Preview
property page.
The Property is added to
database and a message
box appears with content:
Your property had been
submitted.

Page 204 of 240

DONE

DONE
DONE

DONE

DONE

DONE

DONE
DONE
DONE

Project: My Sweet Home

1
2
3
4

5
Rom For Rent
6

Credit card No
Click on Submit button
From View List of Properties page,
click on to the Post Property button.
Post Property form appear
Choose Room For Rent tab
Left Deposit text field or provide
invalid data and then click Submit
button
Input Deposit value if value is over
100.000.000 and then click submit
button
Left Rent Price text field or provide
invalid data and then click Submit
button
Input Rent Price value if value is over
100.000.000 and then click submit
button

Left City text field and then click


Submit button.

Input City information if length of data


is over 20 and then click submit
button
Left Address text field and then click
Add button.

10
11

Project Team: 01

Document: Development Guide

Input Address information if length of


data is over 200 and then click submit
button
Click on google Map button

Prepared by: All members

Approved by: Faculty

4444333322221111
DONE

A message box appears


with content: The Deposit
provided is invalid. Only
positive number is
allowed.
A message box appears
with content: Max value of
Deposit is 100.000.000.
A message box appears
with content: The Rent
Price provided is invalid.
Only positive number is
allowed.
A message box appears
with content: Max value of
Rent Price is
100.000.000.
A message box appears
with content: City cant
be blank.
A message box appears
with content: Max length
of city is 20 characters
A message box appears
with content: Address
cant be blank
A message box appears
with content: Max length
of Address is 200
characters
A popup window appears
with google map, user can
choose position of
property.

Page 205 of 240

DONE
DONE

DONE
DONE

DONE

DONE
DONE
DONE
DONE

DONE

Project: My Sweet Home

Document: Development Guide


1234

12

Input Phone information into Contact


Phone text field and then click Add
button.

13

Input Email information into Email


text field and then click Add button.

Email.com
Email
12345@

Click on Position button


14
Left Days text field or provide invalid
data and then click Submit button

-2,0

15

Project Team: 01

16

Input Days value if value is over 30


and then click submit button
233-

17

Left credit card1 text field or provide


invalid data and then click submit
button

233-

18

Left credit card2 text field or provide


invalid data and then click submit
button

233-

19

Left credit card2 text field or provide


invalid data and then click submit
button

233-

20

Left credit card2 text field or provide


invalid data and then click submit
button

21

Click Cancel button

Prepared by: All members

Approved by: Faculty


A message box appears
with content: The number
of Phone should be
numeric only and must be
>=8 and <=14.
A message box appears
with content: Please enter
an email address.
A popup window appears,
you can choose position
for your property.
A message box appears
with content: The Days
provided is invalid. Only
positive number is
allowed.
A message box appears
with content: Max value of
Days is 30.
A message box appears
with content: The Credit
card 1 is invalid. Only
positive number is
allowed.
A message box appears
with content: The Credit
card 2 is invalid. Only
positive number is
allowed.
A message box appears
with content: The Credit
card 2 is invalid. Only
positive number is
allowed.
A message box appears
with content: The Credit
card 2 is invalid. Only
positive number is
allowed.
Redirect to list of

Page 206 of 240

DONE

DONE
DONE
DONE

DONE
DONE

DONE

DONE

DONE

DONE

Project: My Sweet Home

22

23

3
4
5
Modify
Property For Sale

6
7

Project Team: 01

Document: Development Guide

Approved by: Faculty

Click Preview button


Input property for sale information:
Deposit text field
Rent Price text field
city text field
address text field
days text field
Credit card No
Click on Submit button
From View List of Properties page,
click on to the Modify button. Modify
Property For Sale form appear
Left Property Price text field or
provide invalid price and then click
Submit button.
Input Property price value into
PropertyPrice text field if value is
over 100.000.000 and then click
Submit button
Left City text field and then click
Submit button.
Input City information if length of data
is over 20 and then click submit
button
Left Address text field and then click
Add button
Input Address information if length of
data is over 200 and then click submit
button
Click on google Map button

Prepared by: All members

10000
2252
Phan thiet
35 Nguyen thai binh F5 Q9
10
4444333322221111

Properties page
Redirect to Preview
property page.
The Property is added to
database and a message
box appears with content:
Your property had been
submitted.

DONE
DONE

DONE
-2 ,0

A message box appears


with content: The price
provided is invalid. Only
positive number is
allowed.
A message box appears
with content: Max value of
PropertyPrice is
100.000.000
A message box appears
with content: City cant
be blank.
A message box appears
with content: Max length
of city is 20 characters
A message box appears
with content: Address
cant be blank
A message box appears
with content: Max length
of Address is 200
characters
A popup window appears
with google map, user can
choose position of
property.

Page 207 of 240

DONE

DONE

DONE
DONE
DONE
DONE

DONE

Project: My Sweet Home

Left Number of Bedroom text field or


provide invalid data and then click
Submit button

10

11

Input number of bathroom value if


value is over 255 and then click
submit button

12

Left Square Footage text field or


provide invalid data and then click
Submit button

14

15
16

-2,0

Input number of bedroom value if


value is over 255 and then click
submit button
Left Number of Bathroom text field
or provide invalid data and then click
Submit button

13

Project Team: 01

Document: Development Guide

Input Square footage value into


Square footage text field if value is
not between 12 and 100.000 and then
click Submit button
Input Extra information into Extra text
field if length of data is over 200 and
then click Add button.
Input Transport Mode information into
Transport mod text field if length of
data is over 200 and then click Add
button.
Input Phone information into Contact
Phone text field and then click Add
button.

Prepared by: All members

-2,0

-2,0

1234

Approved by: Faculty


A message box appears
with content: Number of
Bedroom provided is
invalid. Only positive
number is allowed.
A message box appears
with content: Max value of
Number of Bedroom is
255.
A message box appears
with content: Number of
Bathroom provided is
invalid. Only positive
number is allowed.
A message box appears
with content: Number of
Bathroom provided is
invalid. Only positive
number is allowed.
A message box appears
with content: Number of
Bathroom provided is
invalid. Only positive
number is allowed.
A message box appears
with content: Value of
Square footage must be
between 12 and 100.000 .
A message box appears
with content: Max length
of Extra is 200 characters.
A message box appears
with content: Max length
of Transport is 200
characters.
A message box appears
with content: The number
of Phone should be
numeric only and must be
>=8 and <=14.

Page 208 of 240

DONE

DONE

DONE

DONE

DONE

DONE

DONE
DONE

DONE

Project: My Sweet Home

17
18

19

Modify
Property For Rent

6
7
8

Project Team: 01

Document: Development Guide

Approved by: Faculty

Click Cancel button


Click Preview button
Input property for sale information:
city text field
Property Price text field
address text field
number of bed text field
number of bath text field
square footage text field
Click on Save button
From View List of Properties page,
click on to the Modify Property
button. Modify Property For Rent
form appear
Left Deposit text field or provide
invalid data and then click Submit
button
Input Deposit value if value is over
100.000.000 and then click submit
button
Left Rent Price text field or provide
invalid data and then click Submit
button
Input Rent Price value if value is over
100.000.000 and then click submit
button
Left City text field and then click
Submit button.
Input City information if length of data
is over 20 and then click submit
button
Left Address text field and then click

Prepared by: All members

Ho Chi Minh
2356
54/16 ngo quyen F5 Q10
2
3
15.5

Redirect to list of
Properties page
Redirect to Preview
property page.
The Property is updated
and a message box
appears with content:
Your property had been
updated.

DONE
DONE
DONE

DONE

A message box appears


with content: The Deposit
provided is invalid. Only
positive number is
allowed.
A message box appears
with content: Max value of
Deposit is 100.000.000.
A message box appears
with content: The Rent
Price provided is invalid.
Only positive number is
allowed.
A message box appears
with content: Max value of
Rent Price is
100.000.000.
A message box appears
with content: City cant
be blank.
A message box appears
with content: Max length
of city is 20 characters
A message box appears

Page 209 of 240

DONE

DONE
DONE

DONE

DONE
DONE
DONE

Project: My Sweet Home

Document: Development Guide


Add button.

Input Address information if length of


data is over 200 and then click submit
button
Click on google Map button

19

11

12

-2,0

Input number of bedroom value if


value is over 255 and then click
submit button

13

Left Number of Bathroom text field


or provide invalid data and then click
Submit button

14

Input number of bathroom value if


value is over 255 and then click
submit button
1234

15

Input Phone information into Contact


Phone text field and then click Add
button.

16

Input Email information into Email


text field and then click Add button.

Email.com
Email
12345@

17
18

Project Team: 01

Left Number of Bedroom text field or


provide invalid data and then click
Submit button

Click Cancel button


Click Preview button

Prepared by: All members

-2,0

Approved by: Faculty


with content: Address
cant be blank
A message box appears
with content: Max length
of Address is 200
characters
A popup window appears
with google map, user can
choose position of
property.
A message box appears
with content: Number of
Bedroom provided is
invalid. Only positive
number is allowed.
A message box appears
with content: Max value of
Number of Bedroom is
255.
A message box appears
with content: Number of
Bathroom provided is
invalid. Only positive
number is allowed.
A message box appears
with content: Number of
Bathroom provided is
invalid. Only positive
number is allowed.
A message box appears
with content: The number
of Phone should be
numeric only and must be
>=8 and <=14.
A message box appears
with content: Please enter
an email address.
Redirect to list of
Properties page
Redirect to Preview

Page 210 of 240

DONE

DONE

DONE

DONE

DONE

DONE

DONE

DONE
DONE
DONE

Project: My Sweet Home

19

5
Modify
Room For Rent

6
7
8
9

Project Team: 01

Document: Development Guide

Input property for sale information:


Deposit text field
Rent Price text field
city text field
address text field
number of bed text field
number of bath text field
Click on Save button
From View List of Properties page,
click on to the Modify button. Modify
Room For Rent form appear
Left Deposit text field or provide
invalid data and then click Submit
button
Input Deposit value if value is over
100.000.000 and then click submit
button
Left Rent Price text field or provide
invalid data and then click Submit
button
Input Rent Price value if value is over
100.000.000 and then click submit
button
Left City text field and then click
Submit button.
Input City information if length of data
is over 20 and then click submit
button
Left Address text field and then click
Add button.
Input Address information if length of
data is over 200 and then click submit

Prepared by: All members

Approved by: Faculty

1325
325
My Tho
35 Nguyen trai F5 Q3
2
3

property page.
The Property is updated
and a message box
appears with content:
Your property had been
updated.

DONE

DONE
A message box appears
with content: The Deposit
provided is invalid. Only
positive number is
allowed.
A message box appears
with content: Max value of
Deposit is 100.000.000.
A message box appears
with content: The Rent
Price provided is invalid.
Only positive number is
allowed.
A message box appears
with content: Max value of
Rent Price is
100.000.000.
A message box appears
with content: City cant
be blank.
A message box appears
with content: Max length
of city is 20 characters
A message box appears
with content: Address
cant be blank
A message box appears
with content: Max length

Page 211 of 240

DONE

DONE
DONE

DONE

DONE
DONE
DONE
DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

button
Click on google Map button
10
1234

11

Input Phone information into Contact


Phone text field and then click Add
button.

12

Input Email information into Email


text field and then click Add button.

Email.com
Email
12345@

13
14

15

Click Cancel button


Click Preview button
Input property for sale information:
Deposit text field
Rent Price text field
city text field
address text field
Click on Submit button
Click Modify button
Click Delete button

2
Click Status button
1.if Status is activate

List Of Properties
3

2. if status is deactivate
4
Property Detail
Seller

1
2

Project Team: 01

Click on row of list


Click on Edit button
Click on back button

Prepared by: All members

995
225
Phan thiet
35 Nguyen thai binh F5 Q9

of Address is 200
characters
A popup window appears
with google map, user can
choose position of
property.
A message box appears
with content: The number
of Phone should be
numeric only and must be
>=8 and <=14.
A message box appears
with content: Please enter
an email address.
Redirect to list of
Properties page
Redirect to Preview
property page.
The Property is updated
and a message box
appears with content:
Your property had been
updated.
Redirect to Modify
Property page
Message box appears with
content: Do you want to
delete this Property?
Message box appears with
content: Do you want to
Deactivate this property?
Popup window appears to
activate this property.
Redirect to Property Detail
seller page.
Redirect to modify
Property page
Redirect to list of

Page 212 of 240

DONE

DONE

DONE
DONE
DONE
DONE

DONE
DONE
DONE

DONE
DONE
DONE

Project: My Sweet Home

Preview property

1
1
2
3

Document: Development Guide

Click on back button


Click choose button in Left1 panel
Click choose button in Left1 panel
Click choose button in Left1 panel
Click choose button in Right1 panel

4
Click choose button in Right1 panel
5
Choose Position
Panel

Click choose button in Right1 panel


6
7

Click choose button in Bottom1


panel

Click choose button in Bottom1


panel
Click normal button

Project Team: 01

Prepared by: All members

Approved by: Faculty


properties page
Redirect to Post property
page
Close this window and get
left1 position for property
Close this window and get
left1 position for property
Close this window and get
left1 position for property
Close this window and get
Right1 position for
property
Close this window and get
Right1 position for
property
Close this window and get
Right1 position for
property
Close this window and get
Bottom1 position for
property
Close this window and get
Bottom1 position for
property
Close this window and get
normal position for
property

Page 213 of 240

DONE
DONE
DONE
DONE
DONE
DONE
DONE
DONE
DONE
DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

14. List of Shorcuts


Author
Test case name
Actor
Pre-requisite
Process

Nguyen Hai Dang


List of Shortcut
GoldBuyer
Actor has logged in as GoldBuyer
Step
Action/Description
No.
From Actor Home page, Actor click
on View Shortcut List button in Actor
Home page menu.

Input Data

Expected Result

Actual Result

System redirects to
Shortcut List page and list
the shortcuts in Shortcut
List table, with these
control :
-Image image of property.
-Type label
-Owner label
-Description label with
some description about
shorcut.
- Delete button

1
View List of
Shortcut

Pass/F
ail
DONE

15. Save Shortcut


Author
Test case name
Actor
Pre-requisite
Process

Save Shortcut

Project Team: 01

Nguyen Hai Dang


Save Shortcut
GoldBuyer
Actor has logged in as GoldBuyer
Step
Action/Description
No.
Actor clicks Save Shortcut button
on the right bottom corner of the
property.
1
2

Prepared by: All members

Input Data

Expected Result
System inserts the
Property shortcut into
database and then return
to View Property List page.
Displays a message Save
shortcut successful. Save
Shortcut button disable

Page 214 of 240

Actual Result

Pass/F
ail
DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

16. View Property Detail


Author
Test case name
Actor
Pre-requisite
Process

Nguyen Hai Dang


View Property Detail
Administrator or Gold Buyer
Actor has logged in as Administrator or GoldBuyer
Step
Action/Description
Input Data
No.
1
Actor clicks View Details button on
Property Page

View Property
Detail

Project Team: 01

Prepared by: All members

Expected Result
System displays information of property
by these control:
- Views label: display views number of
property
- Image to show Google map of this
property or propertys image.
- Square Footage label
- Property Type label
- Min Price label
- Max Price label
- Loan information table with : Bank
Name and Loan Percentage label
- Negotiable label
- City label
- Address label
- Number of Bedroom label
- Number of Bathroom label
-Extra facilities label
-With furniture/interiors label
- Mode of transport label
- Mode of payment label
- Contact name label
- Contact email label
- Contact phone label
- Contact address label
-Submitted Date label
-Advertisements Days label
-Save Shortcut button
-Send Email to Seller button
If Submission Type is
propertyForRent .Loan information table
is invisible.

Page 215 of 240

Actual Result

Pass/F
ail
DONE

Project: My Sweet Home

Send Email to
Seller

Document: Development Guide

Actor click Send Email to Seller


1

Save Shortcut

Approved by: Faculty


If Submission Type is room for rent.
Loan information table, Number of
Bedroom label, Number of Bathroom
label is invisible.
System redirects to Send Email to Seller
page

DONE

Actor click Save Shortcut

View Save Shortcut User Case.

DONE

Actor click Bank Name label

Show popup with details about bank.

DONE

1
View detail of
bank

Project Team: 01

Prepared by: All members

Page 216 of 240

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

17. View List of Banks


Author
Test case name
Actor
Pre-requisite
Process

Nguyen Hai Dang


View List of Banks
GoldBuyer
Actor has logged in as GoldBuyer
Step
Action/Description
No.
Actor clicks Managing Bank button
on Admin page

Input Data

Expected Result

Actual Result

Pass/F
ail
DONE

Actor clicks Add button on View List


of Banks page

System redirects to View


List of Banks page and
displays form for Actor :
-Name label
-Address label
-Phone label
-Add Date label
-Activate button
-Add button
-Modify button
-Delete button
System redirects to Add
Banks page

Modify Banks

Actor clicks Modify button on View


List of Banks page

System redirects to Modify


Banks page

DONE

Delete Bank

Actor clicks Delete button on View


List of Banks page

View in
usecase

Banks

DONE

Actor clicks Banks name

Show popup with Detail of


Bank

DONE

1
View List of
Banks
Add Banks
1

1
View Banks
Details

Project Team: 01

Prepared by: All members

Page 217 of 240

Delete

DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

18. Add Bank


Author
Test case name
Actor
Pre-requisite
Process

Nguyen Hai Dang


Add Bank
Administrator
Actor has logged in as Administrator
Step
Action/Description
No.
Actor clicks Add button on View list
of banks page

Add Bank
Left Name text field and then click
Add button.
2

Project Team: 01

Left URL text field and then click


Add button.

Input Length of banks name >50


char

Prepared by: All members

Input Data

Expected Result
System redirects to this
page and displays form for
Actor to input information
with the following control
-Name text field
-Status list box
(Activate/Deactivate)
-URL text field
-Add Date textfield (auto
fill with current date)
-Add button
-Cancel button
-Clear button
A message box appears
with content Name of
bank cant be blank.
Please enter name for
bank.
A message box appears
with content: URL of bank
cant be blank. Please
enter Url of banks
webservice.
A message box appears
with content: Length of
banks name cant be large
than 50 char.

Page 218 of 240

Actual Result

Pass/F
ail
DONE

DONE

DONE

DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

Input Value in Name text field has

A message box appears


with content: This name
of bank has been in
database. Please check
and enter another name.

been in database
5

Input Directory information:


Name text field
URL text field
6

Clear Form

DONE
ABC Bank
http://localhost:8080/axis/s
ervices/ CascadeBank.jws

Click on to Add button

Input Directory information:


Name text field
URL text field

System add bank into


database then display
message Your bank has
been add successful.
DONE
ABC Bank
http://localhost:8080/axis/s
ervices/ CascadeBank.jws

Click on to Clear button


Cancel Add Bank

Project Team: 01

DONE

Click on to Cancel button

Prepared by: All members

Name and Url text field is


clear
System redirects to View
List of Bank page.

Page 219 of 240

DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

19. Modify Bank


Author
Test case name
Actor
Pre-requisite
Process

Nguyen Hai Dang


Modify Bank
Administrator
Actor has logged in as Administrator
Step
Action/Description
No.
Actor clicks Modify button on View
list of banks page

Modify Bank

Left Name text field and then click


Add button.
2

Project Team: 01

Left URL text field and then click


Add button.

Input Length of banks name >50


char

Prepared by: All members

Input Data

Expected Result
System redirects to this
page and displays form for
Actor to input information
with the following control
-Name text field
-Status list box
(Activate/Deactivate)
-URL text field
-Add Date textfield (auto
fill with added date)
-Add button
-Cancel button
-Clear button
System fill name , url,
status for bank
A message box appears
with content Name of
bank cant be blank.
Please enter name for
bank.
A message box appears
with content: URL of bank
cant be blank. Please
enter Url of banks
webservice.
A message box appears
with content: Length of
banks name cant be large
than 50 char.

Page 220 of 240

Actual Result

Pass/F
ail
DONE

DONE

DONE

DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

Input Value in Name text field has

A message box appears


with content: This name
of bank has been in
database. Please check
and enter another name.

been in database
5

Input Directory information:


Name text field
URL text field
6

Refill Form

DONE
ABC Bank
http://localhost:8080/axis/s
ervices/ GadernBank.jws

Click on to Add button

Input Directory information:


Name text field
URL text field

System modify bank into


database then display
message Your bank has
been modify successful.
DONE
ABC Bank
http://localhost:8080/axis/s
ervices/ GadernBank.jws

Click on to Refill button


Cancel Modify
Bank

Project Team: 01

DONE

Click on to Cancel button

Prepared by: All members

Data of bank refill into


textboxs
System redirects to View
List of Bank page.

Page 221 of 240

DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

20. Delete Bank


Author
Test case name
Actor
Pre-requisite
Process

Nguyen Hai Dang


Delete Bank
Administrator
Actor has logged in as Administrator
Step
Action/Description
No.
Actor clicks Delete button on View
list of banks page

Input Data

Expected Result
System show popup
message :Do you want to
Delet this bank. With Yes
and No button

Actual Result

Pass/F
ail
DONE

Delete Bank
Actor click Yes button
Actor click No button.
2

Project Team: 01

Prepared by: All members

System delete bank from


database then display
message Your bank has
been delete successful.
System returns to current
page.

Page 222 of 240

DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

21. View List of Questions


Author
Test case name
Actor
Pre-requisite
Process

Nguyen Hai Dang


View List of Questions
Administrator
Actor has logged in as Administrator
Step
Action/Description
No.
From Admin page, actor clicks on to
the Managing Questions button.

1
Modify Question
1
Delete Question
1

Project Team: 01

Expected Result

Actual Result

Pass/F
ail
DONE

Actor clicks Add button on View List


of Question page

System redirects to
Managing Questions
page and display list of all
of Questions in table form
with control :
Question label
Modify button
Delete button
Add Question button
System redirects to Add
Question page

Actor clicks Modify button on View


List of Question page

System redirects to Modify


Question page

DONE

Actor clicks Delete button on View


List of Question page

View in Delete Question


usecase

DONE

View List of
Question
Add Question

Input Data

Prepared by: All members

Page 223 of 240

DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

22. Add Question


Author
Test case name
Actor
Pre-requisite
Process

Nguyen Hai Dang


Add Question
Administrator
Actor has logged in as Administrator
Step
Action/Description
No.
Actor clicks Add button on View list
of Question page
1

Add Bank

5
6

Left Question text field and then


click Add button.

Left Answer text field and then click


Add button.

Length of text input in Question


textfield > 3000 char

Length of text input Answer textfield


> 3000 char

Input Value in Question text field


has been in database

Input Data

Expected Result
System redirects to Add
Question page and
display form with the
following controls:
Question textfield.
Answer textfield.
Add button.
Clear button
Cancel
A message box appears
with content Question
cannot be blank. Please
input Question.
Answer cannot be blank.
Please input Answer.

A message box appears


with content: Length of
Question is less than 3000
char
A message box appears
with content: Length of
Answer is less than 3000
char
A message box appears
with content: This

question has been in


database. Please check
Project Team: 01

Prepared by: All members

Page 224 of 240

Actual Result

Pass/F
ail
DONE

DONE

DONE

DONE

DONE

DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty


and enter another
question

Input Directory information:


Question text field
Answer text field
7

Clear Form

DONE
How do i register ?
You click on register
button

Click on to Add button

Input Directory information:


Question text field
Answer text field

System add Question into


database then display
message Your Question
has been add successful.
DONE
How do i register ?
You click on register
button

Click on to Clear button


Cancel Add Bank

Project Team: 01

Click on to Cancel button

Prepared by: All members

Question and Answer text


field is clear
System redirects to View
List of Question page.

Page 225 of 240

DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

23. Modify Question


Author
Test case name
Actor
Pre-requisite
Process

Nguyen Hai Dang


Modify Question
Administrator
Actor has logged in as Administrator
Step
Action/Description
No.
Actor clicks Modify button on View
list of Question page

Modify Bank
2

4
5

Project Team: 01

Left Question text field and then


click Add button.

Left Answer text field and then click


Add button.

Length of text input in Question


textfield > 3000 char

Length of text input Answer textfield


> 3000 char

Prepared by: All members

Input Data

Expected Result
System redirects to Modify
Question page and
display form with the
following controls:
Question textfield.
Answer textfield.
Modify button.
Refill Data button
Cancel
System auto fill data about
question to text field
A message box appears
with content Question
cannot be blank. Please
input Question.
Answer cannot be blank.
Please input Answer.

A message box appears


with content: Length of
Question is less than 3000
char
A message box appears
with content: Length of
Answer is less than 3000
char

Page 226 of 240

Actual Result

Pass/F
ail
DONE

DONE

DONE

DONE

DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

Input Value in Question text field

A message box appears


with content: This

has been in database

question has been in


database. Please check
and enter another
question

Input Directory information:


Question text field
Answer text field
7

Refill data

DONE
How do i register ?
You click on register
button

Click on to Modify button

Input Directory information:


Question text field
Answer text field

System Modify Question


into database then display
message Your Question
has been modify
successful.
DONE
How do i register ?
You click on register
button

Click on to Refill data button


Cancel Modify
Bank

Project Team: 01

DONE

Click on to Cancel button

Prepared by: All members

Question and Answer text


field is refill data
System redirects to View
List of Question page.

Page 227 of 240

DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

24. Delete Question


Author
Test case name
Actor
Pre-requisite
Process

Nguyen Hai Dang


Delete Question
Administrator
Actor has logged in as Administrator
Step
Action/Description
No.
Actor clicks Delete button on View
list of Question page

Input Data

Expected Result
System show popup
message :Do you want to
remove this Question ?

Actual Result

Pass/F
ail
DONE

Delete Bank
Actor click Yes button
Actor click No button.
2

Project Team: 01

Prepared by: All members

System delete Question


from database then
display message Your
Question has been delete
successful.
System returns to current
page.

Page 228 of 240

DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

25. Send message to Seller


Author
Test case name
Actor
Pre-requisite
Process

Nguyen Hai Dang


Send message to Seller
Gold Buyer
Actor has logged in as GoldBuyer
Step
Action/Description
No.
Actor clicks Sellers Email button on
PropertyDetail page

Input Data

Expected Result
System redirects to
SendMessage page and
displays form for Actor to
input information with the
following control :
- Subject text field
- Content text area
- Send Message button
- Cancel button
A message box appears
with content: Subject
cannot be blank. Please
input subject
A message box appears
with content: The Address
cannot be blank. Please
input the Address.

2
Send message to
Seller

Left Subject text field and then click


Send button.
Left Content text field and then click
Send button.

Click Back button


Input Directory information:
Subject text field
Content text field

Redirect to PropertyDetail
page

Pass/F
ail
DONE

DONE

DONE

DONE
DONE

Need Information
I need more information
about your property

Click on to Add button

The mail is sent to Seller


and show a message box
appears with content:
Your message have been
sent to Seller successful

26. Manage Directories

Project Team: 01

Actual Result

Prepared by: All members

Page 229 of 240

Project: My Sweet Home


Author
Test case name
Actor
Pre-requisite
Process
Add Directory

Document: Development Guide

Approved by: Faculty

Le Viet Truc
Manage Directories
Administrators
Actor has already logged into the System as Administrator
Step
Action/Description
Input Data
No.
From View List of Directories page,
1
click on to the Add Directory button.
Add Directory form appear.
Left Directory Name text field and
then click Add button.
2

Expected Result

Left Address text field and then click


Add button.
Left Description text field and then
click Add button.

4
Input Phone information into Phone
text field and then click Add button.

1234

Input Email information into Email


text field and then click Add button.

Email.com
Email
12345@

7
8

Project Team: 01

Click Back button


Input Directory information:
Directory Name text field
Directory Category text field
Address text field

ABC
Builder
349 Nguyen Tri Phuong
District 10 Ward 11

Prepared by: All members

A message box appears


with content: The
Directory Name cannot be
blank. Please input a
Directory Name.
A message box appears
with content: The Address
cannot be blank. Please
input the Address.
A message box appears
with content: The
Description cannot be
blank. Please input the
Description.
A message box appears
with content: The number
of Phone should be
numeric only and must be
>=10 and <=14.
A message box appears
with content: The email is
invalid. Please input an
invalid email
(email@domain.com).
Redirect to List of
Directories page
The Directory is added into
the database and a
message box appears with
content: The Directory
has added.

Page 230 of 240

Actual Result

Pass/F
ail
DONE
DONE

DONE

DONE

DONE

DONE

DONE
DONE

Project: My Sweet Home

Document: Development Guide


Description text field

Modify Directory
1

Phone text field


Website text field
Email text field
Click on to Add button
From View List of Directories page,
click on to the Add Directory button.
Add Directory form appear.
Left Directory Name text field and
then click Add button.

Approved by: Faculty

Construct houses with low


price.
0903874839
www.abcbuilder.com
admin@abcbuilder.com
DONE

Left Address text field and then click


Add button.
Left Description text field and then
click Add button.

4
Input Phone information into Phone
text field and then click Add button.

1234

Input Email information into Email


text field and then click Add button.

Email.com
Email
12345@

7
8

Project Team: 01

Click Back button


Input Directory information:
Directory Name text field
Directory Category text field
Address text field

ABC
Builder
349 Nguyen Tri Phuong
District 10 Ward 11

Prepared by: All members

A message box appears


with content: The
Directory Name cannot be
blank. Please input a
Directory Name.
A message box appears
with content: The Address
cannot be blank. Please
input the Address.
A message box appears
with content: The
Description cannot be
blank. Please input the
Description.
A message box appears
with content: The number
of Phone should be
numeric only and must be
>=10 and <=14.
A message box appears
with content: The email is
invalid. Please input an
invalid email
(email@domain.com).
Redirect to List of
Directories page
The Directory is added into
the database and a
message box appears with
content: The Directory
has added.

Page 231 of 240

DONE

DONE

DONE

DONE

DONE

DONE
DONE

Project: My Sweet Home

Document: Development Guide


Description text field
Phone text field
Website text field
Email text field
Click on to Save button
From Admin Home page, click on to
the Directories button. List of
Directories form appears.

Construct houses with low


price.
0903874839
www.abcbuilder.com
admin@abcbuilder.com

View List of
Directories

Project Team: 01

Approved by: Faculty

Prepared by: All members

The list of Directories


appear in table format with
the following information:
No. label
Name hyperlink
Category Name label
Address label
Description label
Phone label
Website label
Email label
Status button
Delete button

Page 232 of 240

DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

27. Change Password


Author
Test case name
Actor
Pre-requisite
Process

Le Viet Truc
Change Password
Administrators
Actor has already logged into the System as Administrator
Step
Action/Description
Input Data
No.
From Admin Home page, click on to
1
the Change Password menu button.
Change Password form appears.
Left Old Password text field and
then click OK button.
2

Change
Password

Left New Password text field and


then click OK button.
3
Left Confirm New Password text
field and then click OK button.
4

Project Team: 01

Prepared by: All members

Expected Result

A message box appears


with content: The Old
Password cannot be
blank. Please input an Old
Password.
A message box appears
with content: The New
Password cannot be
blank. Please input a New
Password.
A message box appears
with content: The Confirm
New Password cannot be
blank. Please input a
Confirm New Password.

Page 233 of 240

Actual Result

Pass/F
ail
DONE
DONE

DONE

DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

28. Manage Directory Categories


Author
Test case name
Actor
Pre-requisite
Process

Le Viet Truc
Manage Directory Categories
Administrators
Actor has already logged into the System as Administrator
Step
Action/Description
Input Data
No.
From View List of Directory
Categories page, click on to the
1
Add Directory Category button. Add
Directory Category form appear.
Left Directory Category Name text
field and then click Add button.
2

Add Directory
Category
3

Modify Directory
1

Click Back button


Input Directory information:
Directory Category Name text field
Click on to Add button

ABC

From View List of Directory


Categories page, click on to the
Add Directory Category button. Add
Directory Category form appear.
Left Directory Category Name text
field and then click Add button.

3
4

Project Team: 01

Click Back button


Input Directory information:

Prepared by: All members

Expected Result

A message box appears


with content: The
Directory Category Name
cannot be blank. Please
input a Directory Category
Name.
Redirect to List of
Directories page
The Directory Category is
added into the database
and a message box
appears with content: The
Directory Category has
added.

Actual Result

Pass/F
ail
DONE

DONE

DONE
DONE

DONE

A message box appears


with content: The
Directory Category Name
cannot be blank. Please
input a Directory Category
Name.
Redirect to List of
Directories page
The Directory Category is

Page 234 of 240

DONE

DONE
DONE

Project: My Sweet Home

Document: Development Guide


Directory Category Name text field
Click on to Save button

View List of
Directory
Categories

Project Team: 01

ABC

From Admin Home page, click on to


the Directory Categories button.
List of Directory Categories form
appears.

Prepared by: All members

Approved by: Faculty


added into the database
and a message box
appears with content: The
Directory Category has
added.
The list of Directory
Categories appear in table
format with the following
information:
No. label
Name hyperlink
Status button
Delete button

Page 235 of 240

DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

29. Manage Customers


Author
Test case name
Actor
Pre-requisite
Process

Le Viet Truc
Manage Customers
Administrators
Actor has already logged into the System as Administrator
Step
Action/Description
Input Data
No.
From Admin Home page, click on to
the Customers button. List of
Customers form appears.

View List of
Customers

Project Team: 01

Prepared by: All members

Expected Result
The list of Customers
appear in table format with
the following information:
No. label
Name hyperlink
Customer Type label
Username label
Sex label
Birthday label
Address label
Phone label
Email label
Gold Expired Date label
Status button

Page 236 of 240

Actual Result

Pass/F
ail
DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

30. Manage Administrators


Author
Test case name
Actor
Pre-requisite
Process

View List of
Administrators

Le Viet Truc
Manage Administrators
Administrators
Actor has already logged into the System as Administrator
Step
Action/Description
Input Data
No.
From Admin Home page, click on to
the Administrators button. List of
Administrators form appears.

Add Administrator
2

3
Set FullControl
(for administrator
has
fullcontrol=true
only)
Delete
Administrator

Project Team: 01

From View List of Administrators


page click on to the Add
Administrator button. Add
Administrator page will appear.
Input Administrator information:
Username text field
Password text field
ConfirmPassword text field
Permission text field
Click OK to finish

The list of Customers


appear in table format with
the following information:
No. label
Name label
Full Control button
Delete button

Actual Result

Pass/F
ail
DONE

DONE

DONE
admin
admin
admin2

A message appear:The
password and the confirm
password must be same

Choose FullControl

From View List of Administrators


click on to FullControl icon

Expected Result

From View List of Administrators


click on to Delete icon
Click Yes

Prepared by: All members

An administrator has
added into database
The FullControl icon
changes

DONE

A message box appear

DONE

The Administrator will be


deleted

DONE

Page 237 of 240

DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

31. Manage Properties


Author
Test case name
Actor
Pre-requisite
Process

View List of
Properties

Le Viet Truc
Manage Properties
Administrators
Actor has already logged into the System as Administrator
Step
Action/Description
Input Data
No.
From Admin Home page, click on to
the Administrators button. List of
Administrators form appears.

Click Activate button near a Property


Activate/Deactivate

Filter list of
properties by name

Project Team: 01

Click Deactivate button near a


Property
Input Owners name text field and
then click OK button

Prepared by: All members

tran thanh duy

Expected Result
The list of Customers
appear in table format with
the following information:
No. label
Name label
Full Control button
Delete button
The Property is deactivate
and the icon changes to
Deactivate
The Property is activate
and the icon changes to
Activate
The list of properties of
Tran Thanh Duy Seller
will appear

Page 238 of 240

Actual Result

Pass/F
ail
DONE

DONE

DONE

Project: My Sweet Home

Document: Development Guide

Approved by: Faculty

32. Update Advertisement Price


Author
Test case name
Actor
Pre-requisite
Process

Le Viet Truc
Update Advertisement Price
Administrators
Actor has already logged into the System as Administrator
Step
Action/Description
Input Data
No.
From Admin Home page, click on to
the Advertisement Price button.
Update Advertisement Price will
appear.
1

Update
Advertisement
Price

Project Team: 01

Input information:
Left 1 text field
Left 2 text field
Left 3 text field
Right 1 text field
Right 2 text field
Right 3 text field
Bottom 1 text field
Bottom 2 text field
Normal text field
Click OK button to finish

Prepared by: All members

Expected Result
The list of Customers
appear in table format with
the following information:
Left 1 text field
Left 2 text field
Left 3 text field
Right 1 text field
Right 2 text field
Right 3 text field
Bottom 1 text field
Bottom 2 text field
Normal text field

Actual Result

Pass/F
ail
DONE

DONE
30
30
40
40
60
60
30
50
60
Advertisement Price is
updated

Page 239 of 240

DONE

Project: My Sweet Home

Project Team: 01

Document: Development Guide

Prepared by: All members

Approved by: Faculty

Page 240 of 240