Professional Documents
Culture Documents
SESSION (2020-2022)
Submitted By
ID S2020387012
QCA
Supervised By
Internal Examiner
(Supervisor)
External Examiner
---------------------------------------
Director
I
DEDICATION
II
ACKNOWLEDGEMENT
I am thankful to ALMIGHTY ALLAH who gave me courage and passion and prayers of my
parents and teachers to achieve the goal that was necessary for the degree. Although it was not an
easy task, with the useful direction, kind supervision and co-operation of my Supervisor Mr.
Gulfraz Naqvi, it became easy for me to complete the research work.
I am using this opportunity to thank my friends and teachers who always helped whenever I
stuck in anything; they gave me the truthful and illuminating advices on the number of issues
related to my final project.
Last but not least, I extend my sincere appreciativeness and thankfulness to my Family for their
incredible encouragement. Their love and support means a lot to me.
Thanks,
III
UNDERTAKING
Submitted By:
(ID): S2020387012
Gulfraz Naqvi
S.C.A
UMT, Lahore
Project Supervisor
IV
SCHOOL OF COMMERCE AND ACCOUNTANCY
UNIVERSITY OF MANAGEMENT & TECHNOLOGY, LAHORE
V
ABSTRACT
Online Shopping is now on trending so that’s why I choose this subject. This is very convenient
website for everyone because of its easy and simple features. I can divide it in 3 sections means
Admin, Manager and Users (Visitor and Registered User). Users as a visitor can only viewing
the website on our social media pages but not used add to cart option. Registered user can view
the website as well as buy anything through add to cart option.
A registered user needs to login from his/her Username and Password then he will be able to
visit on website and buy anything from the website. If they have any problem and difficulty then
people ask anything.
These kind of website attract the people because now a days, people are so busy in their routine
and find no time to go outside and buy anything because of their busy schedule.
VI
PREFACE THE PREFACE CONTAINS AN INTRODUCTION TO THE
DOCUMENT. IT IS OPTIONAL AND CAN BE DELETED IF DESIRED.
VII
CONTENTS
New paragraphs formatted as Heading 1, Heading 2, and Heading 3 will be added to the table automatically. To
update this table of contents in Microsoft Word, put the cursor anywhere in the table and press F9. If you want the
table to be easy to maintain, do not change it manually.
DEDICATION..........................................................................................................................................II
ACKNOWLEDGEMENT......................................................................................................................III
UNDERTAKING....................................................................................................................................IV
ABSTRACT.............................................................................................................................................VI
1. INTRODUCTION.............................................................................................................................1
1.1 PROJECT OVERVIEW......................................................................................................................................1
1.1.1 Problem Statement................................................................................................................................1
1.1.2 Back Ground.........................................................................................................................................1
1.1.3 Proposed Solution.................................................................................................................................1
1.1.4 Customer...............................................................................................................................................2
1.1.5 Goals and Objectives............................................................................................................................2
1.1.6 Assumptions.........................................................................................................................................2
1.1.7 Dependencies/ External Systems..........................................................................................................2
1.1.8 Definitions and Acronyms....................................................................................................................2
1.1.9 Market Survey/ Domain Analysis........................................................................................................2
2. SYSTEM REQUIREMENT SPECIFICATION.............................................................................4
2.1 FUNCTIONAL REQUIREMENTS........................................................................................................................4
2.2 NON-FUNCTIONAL REQUIREMENT.................................................................................................................8
2.3 USE CASE MODELS........................................................................................................................................8
2.3.1 List of Actors........................................................................................................................................8
2.3.2 List of Use Cases..................................................................................................................................8
2.3.3 Use Case Diagram................................................................................................................................8
2.3.4 Usage Scenario.....................................................................................................................................9
3. SYSTEM DESIGN..........................................................................................................................27
3.1 SYSTEM ARCHITECTURE..............................................................................................................................27
3.2 CLASS DIAGRAM..........................................................................................................................................27
3.3 ENTITY RELATIONSHIP DIAGRAM................................................................................................................27
3.4 DATA FLOW DIAGRAM................................................................................................................................28
3.4.1 Level 0................................................................................................................................................28
3.4.2 Level 1................................................................................................................................................29
3.4.3 Level 2................................................................................................................................................29
4. IMPLEMENTATION.....................................................................................................................31
4.1 TOOLS........................................................................................................................................................31
4.1.1 Web Application.................................................................................................................................31
4.1.2 Database.............................................................................................................................................31
4.1.3 Documentation...................................................................................................................................31
4.2 LANGUAGES............................................................................................................................................32
4.3 SNAPSHOTS OF FROND ENDH......................................................................................................................32
5. TESTING.........................................................................................................................................35
5.1 TEST CASES.................................................................................................................................................35
5.2 TID TEMPLATE.............................................................................................................................................37
5.3 DECISION TABLE..........................................................................................................................................37
5.4 BLACK BOX TESTING..................................................................................................................................38
5.5 WHITE BOX TESTING...................................................................................................................................38
6. RESULTS/OUTPUT/STATISTICS...............................................................................................40
6.1 TRACEABILITY MATRIX (TID VS UID).......................................................................................................40
6.2 % COMPLETION...........................................................................................................................................40
6.3 % ACCURACY..............................................................................................................................................40
6.4 % CORRECTNESS.........................................................................................................................................40
7. CONCLUSION AND SUMMARY.................................................................................................42
7.1 CONCLUSION...........................................................................................................................................42
7.2 SUMMARY................................................................................................................................................42
7.3 LESSON LEARNED..................................................................................................................................42
8. FUTURE WORK.............................................................................................................................44
9. REFERENCES................................................................................................................................46
LIST OF FIGURES
New figures that are given captions using the Caption paragraph style will be added to the table automatically. To
update this table of contents in Microsoft Word, put the cursor anywhere in the table and press F9. If you want the
table to be easy to maintain, do not change it manually.
This section can be deleted if the document contains no figures or if otherwise desired.
Figure 1: System Level Use Case Diagram......................................................................................................9
Figure 2: Registered User...............................................................................................................................10
Figure 3 Login................................................................................................................................................11
Figure 4 Add to Cart.......................................................................................................................................12
Figure 5 Complaint Box.................................................................................................................................13
Figure 6 Categorized List...............................................................................................................................14
Figure 7 Approval Message............................................................................................................................15
Figure 8 Registration......................................................................................................................................16
Figure 9 Edit Product......................................................................................................................................17
Figure 10 Add Product....................................................................................................................................18
Figure 11 Admin Use Case.............................................................................................................................19
Figure 12 Order and Checkout.......................................................................................................................19
Figure 13 Chat Bots........................................................................................................................................20
Figure 14 Product Attribute............................................................................................................................21
Figure 15 Recommended Items......................................................................................................................22
Figure 16 Data Security..................................................................................................................................22
Figure 17 Social Sharing................................................................................................................................23
Figure 18 Secure Payment Portal...................................................................................................................24
Figure 19 SEO................................................................................................................................................25
Figure 20: System Architecture......................................................................................................................27
Figure 21 ER Diagram....................................................................................................................................28
Figure 22 Data Flow Diagram........................................................................................................................29
Figure 23 Level 0............................................................................................................................................29
Figure 24 Level 1............................................................................................................................................30
Figure 25 Level 2............................................................................................................................................30
LIST OF TABLES
New tables that are given captions using the Caption paragraph style will be added to the table automatically. To
update this table of contents in Microsoft Word, put the cursor anywhere in the table and press F9. If you want the
table to be easy to maintain, do not change it manually.
This section can be deleted if the document contains no figures or if otherwise desired.
Table 1: Categories of Requirement.................................................................................................................4
Table 2: List of System Function Requirements..............................................................................................5
Table 3: List of Functional requirements attributes..........................................................................................5
Table 4: UC_01 View Details...........................................................................................................................8
1
INTRODUCTION
School of Commerce and Accountancy (SCA) <Usama Butt Online Shopping>
1. INTRODUCTION
Online Shopping is now on trending so that’s why I choose this subject. This is very
convenient website for everyone because of its easy and simple features. I can divide it in
3 sections means Admin, Manager and Users (Visitor and Registered User). Users as a
visitor can only viewing the website on our social media pages but not used add to cart
option. Registered user can view the website as well as buy anything through add to cart
option. A registered user need to login from his/her Username and Password then he will
be able to visit on website and buy anything from the website. If they have any problem
and difficulty then people ask anything.
It tells about the markets the market conditions that how it will be going? We can analyze the
market to see that how the business and markets gone. Which are the ups and downs that I can
face in future which makes it easier for me to recover my lose in markets.
2|Page
2
SYSTEM REQUIREMENT SPECIFICATION
2. SYSTEM REQUIREMENT SPECIFICATION
ID: User_01
User can select User can The product Internet User can select anything and then
anything and Select the can added to Connectivity click onto add to cart option to
product and required,
then add that cart which add that product into list and after
then click it correct
product into on Add to you can username and that customer can delete or add
cart to sell that Cart Button. select. password. anything into add to cart option.
product.
ID: User_02
User can G mail Id The Admin Internet User can register them by giving
register them by can send Connectivity them their g mail account. Then it
required,
giving them them an will send to admin to approve the
correct
their g mail approve username and customer.
account. request to get password.
registered.
ID: User_03
If users have Correct The admin Internet User can complaint our product if
any problem username and can receive Connectivity they feel any problem with fabric
Password required,
with our the quality, color, fabric shrinking
correct
product like complaint username and etc.
quality then can and then password.
complaint. resolve that
issue.
ID: Admin_01
If users have User can chat The admin Internet User can chat with us in case of
any problem with admin to can receive Connectivity any difficulty like how to order,
keep in touch required,
with our the Message how to register etc.
but first enter correct
product like his id and and then username and
quality then can password to reply as soon password.
chat with us. login. as possible.
ID: User_04
If user want to User can enter The user can Internet User can buy anything what they
buy only Men the login and see the Connectivity want. Want to buy Men Collection so
password then required,
Collection then categorized just click on it and add that products
buy anything correct
they click on from website to List where they username and into cart.
different click on can buy password.
Categorized
categories to get anything.
Products.
the desired
Product.
ID: Admin_02
If users User can enter The admin Internet User can visit our website first
registered on their can receive Connectivity and then if they want to
identification required,
website then the Message registered, they registered their
like id and correct
they can send password then and then username and self on website and waits for the
an request to registered decide for password. acceptance of request.
admin for them on approval .
website.
approval.
ID: Admin_04
Admin can edit Admin can Admin can Internet Admin can edit/delete or update the
the product only enter his click on edit, Connectivity product to meet the requirements.
password and required,
because he is the delete product
correct login. correct
main owner of Admin can to change the username and
the website. change/edit the requirement. password.
product price,
quality etc.
ID: Admin_05
ID: Visitor_01
Visitor can visit Visitor can Visitor in on Internet Visitor can visit our website by
the website then add the link of our website Connectivity proper link and click on our
our website. required,
click on social and on social media links to visit our
correct
media links to footer, he/she username and social media pages.
contact with us have links of password.
for information. social media.
ID: Admin_06
Admin can give Admin can Admin can Internet Admin can enter his login and
different enter his see the list, Connectivity password and see the list, giving
Username and required,
password and giving different username and
Password correct
username to correctly. different username and passwords to each user for
every user for username password. security purpose.
security. and pass.
ID: Admin_03
Website should take very less time to load so that it saves the time of user.
The website should handle 20 million users at a time easily.
Website is well maintained with proper working features.
Our website has quick and better search result.
Our website has accessibility standards on every device like mobile, laptops, pc etc.
Website must have Security Features.
Add To Cart
Complaint Box
Chatting
Approval
Categorize Pro
SecuredLogin
Edit Product
Edit/Reset password
Click On Links
Different Username/password
Refunding
Cash on Delivery
Delete Product
Update product
Figure 3 Login
USE CASE 01 Login
Failed End User didn’t login to website and message is displayed “Incorrect username or
Condition password”
Actors Registered User
Figure 8 Registration
USE CASE 06 Registration
Description User can register himself and get approved by admin
Preconditions User must have internet connectivity
Post-conditions Registered successfully.
Failed End User didn’t get registered and message is displayed “Invalid/Incorrect
Condition Information”
Actors Registered User
Failed End Condition Product information didn’t change and message is displayed “Invalid Information”.
1 Click on product.
2 Click on Edit option.
3 Enter Information.
Added
Failed End Condition Product information didn’t added and message is displayed “Invalid Information”.
3 Enter Information.
Order&
Checkout
Admin
Figure 12 Order and Checkout
USE CASE 13 Order & checkout
1 Items are selected and all the details are filled then order is preceded to
checkout.
EXTENSIONS Step Alternative Flow (Branching Action)
1 Order is not delivered.
Superordinate No Superordinate
Chat Bots
Admin
Figure 13 Chat Bots
USE CASE 14 Chat Bots
Description Chat-bot is a program which generates automated text on behalf of a company to other
person.
Preconditions Text integrated in program of chat-bot.
Admin
Figure 14 Product Attribute
USE CASE 15 Product Attributes
Description Product attributes refer to the characteristics that define a service or product and
influence customer buying decisions.
Preconditions Product details
Recommended
Items
Admin
Figure 15 Recommended Items
-
USE CASE 16 Recommended Items
User data
security
1 We secure the data of user though security systems applied in our website.
Social sharing
Admin
Figure 17 Social Sharing
USE CASE 18 Social Sharing
Description Share the app link and products you like on different social media platform.
1 People share the products and the reach of website will increase and also the
popularity will surely increase.
EXTENSIONS Step Alternative Flow (Branching Action)
1 Cannot share products on social media.
Superordinate Login authentication (use case 13)
Secure payment
portal
Admin
Figure 18 Secure Payment Portal
USE CASE 19 Secure payment portal
Description We secure you bank details and Credit card details. So, we can provide secure
payment portal to our users
Preconditions Payment’s portals APIs are integrated in website
Post-conditions Secure transactions are done.
SEO
Admin
Figure 19 SEO
USE CASE 20 SEO
Description SEO is done to rank your website or ecommerce store on first page of google.
1 Put targeted keywords, detect on-site issue and detect them, optimize your
website.
EXTENSIONS Step Alternative Flow (Branching Action)
1 Traffic cannot not be generated on website.
Superordinate Login authentication (use case 13)
3
SYSTEM DESIGN
3. SYSTEM DESIGN
Admin User
Login
Login
Logout
Logout
Add Product
Add Product
Reset Email
Delete Product
Update Product
Refund Money
Reset Password
Group Chatting
Add User
Cart Product
Name
Price Name
Description Price
Description
3.3 Entity Relationship Diagram
Delete Update
product/user product/user
Add
product/user
Admin Registered
Login
Add/Del User
Products
Chatting Logout
Refund
Money
Name
Price
Product Selects
Description
Add to
Name
Price
Cart
Description
Figure 21 ER Diagram
3.4 Data flow Diagram
3.4.1 Level 0
Figure 23 Level 0
3.4.2 Level 1
Figure 24 Level 1
3.4.3 Level 2
Figure 25 Level 2
4
IMPLEMENTATION
School of Commerce and Accountancy (SCA) <Project Name>
4. IMPLEMENTATION
We all know that database provides quick access. In my website, we are using database in
products and banners that users track each and every product from the categorized list
and each product from database.
4.1 TOOLS
I used Sublime Text, Wamp Server, Html5 Markers, CSS3, SQL, and PHP.
4.1.1 Web Application
SUBLIME TEXT
It is suitable editor for Web Based Application. It has many functions like Multiple
Selections, Page Linking, and other emits which helps the programmer to complete the
coding in a convenient manner.
HTML5
It is a Hyper Text Markup Language which is used to build the structure of the website. It
is the core of Web Based Application. HTML5 is the latest version which has very easy
tags to implement.
CSS
It is a Hyper Text Markup Language which is used to build the structure of the website. It
is the core of Web Based Application. HTML5 is the latest version which has very easy
tags to implement.
4.1.2 Database
SQL
Structured Query Language is used to add, update or delete something from the website.
We can used SQL to Add, Update, and Delete the products from the website.
WAMP SERVER
We can used Wamp Server as to connect the html with database. It needs no internet to
connect it. For the purpose of connection, we can used this server. It creates a host on the
local machine in which we are working.
4.1.3 Documentation
MICROSOFT WORD
It is used in documentation of the website in which the detailed explanation is done. It
can also be used to verify the functions used in website.
33 | P a g e
School of Commerce and Accountancy (SCA) <Project Name>
Adobe Photoshop
I used Photoshop to make my logo and About Us page boxes which will display with the
display picture.
Visual Paradigm
Visual Paradigm is used to make UML means Use Case Diagrams. It helps to make quick and
easy making of the system diagram. It is easy to use and manage because of drag and drop option
of the elements like Actors, Lines and Shapes.
TECHNIQUES
MYSQL
Structured Query Language is used to add, update or delete something from the website.
We can used SQL to Add, Update, and Delete the products from the website.
PHP
It is used to connect the html with database. It needs no internet to connect it. For the
purpose of connection, we can used this server..
4.2 LANGUAGES
HTML
It is a Hyper Text Markup Language which is used to build the structure of the website. It
is the core of Web Based Application. HTML5 is the latest version which has very easy
tags to implement.
CSS
It is a Hyper Text Markup Language which is used to build the structure of the website. It
is the core of Web Based Application. HTML5 is the latest version which has very easy
tags to implement.
34 | P a g e
School of Commerce and Accountancy (SCA) <Project Name>
35 | P a g e
5
TESTING
School of Commerce and Accountancy (SCA) <Project Name>
5. TESTING
Objective The purpose of this test is to ensure that the system is not allowing
the user to login if valid username and password is not given.
Expected Error message displayed indicating the missed fields and/or invalid
Result data
Objective The purpose of this test is to ensure that how much products are
added into cart to get the total amount.
37 | P a g e
School of Commerce and Accountancy (SCA) <Project Name>
Expected Error message displayed indicating the missed fields and/or invalid
Result data
Objective The admin can receive the complaint and then resolve that issue.
Objective The user can see the categorized List where they can buy anything.
38 | P a g e
School of Commerce and Accountancy (SCA) <Project Name>
Objective The admin can receive the Message and then decide for the approval
39 | P a g e
School of Commerce and Accountancy (SCA) <Project Name>
Objective Admin can edit and reset the login and password in case of forget
password.
41 | P a g e
6
RESULTS/OUTPUT/STATISTICS
School of Commerce and Accountancy (SCA) <Project Name>
6. RESULTS/OUTPUT/STATISTICS
6.2 % Completion
About 80% is current completion rate.
6.3 % Accuracy
About 90% is current accuracy rate.
6.4 % Correctness
About 90% is current correctness rate.
43 | P a g e
7
CONCLUSION & SUMMARY
School of Commerce and Accountancy (SCA) <Project Name>
7.1 CONCLUSION
My Final Project is on Usama Butt Online Clothing Website in which we are using
different languages like HTML, CSS and PHP which is connected with Database. I am
taking clothes from different brands and sell them on 1 Platform for customer
convenience. It gives satisfaction to those people who have no time to go outside for
shopping.
7.2 SUMMARY
When you open your website home page is displayed. We have 6 subpages like Home
page, Product Page, Login Form, Location, Services and Contact Us Page. The home
page contains the Navigation Bar, Categories List and Product List with Banner and
Footer. Product Page basically has the album of Products to make the website more
attractive. Login form page contains the proper form which has your proper details like
name, age, address, password etc. Location page has the pin location of our company
of online clothing. The services page has 3 things which are Services, Quality and
History means About Us page. We have 24 hours of services and we entertain every user
of our website. Quality page contains the information about our cloth that how they
make with original soft cotton. Services Page contains that in how many days your order
is delivered with charges. About us page contains the history like when we starts our
company and what is our objective. The Last is our Contact us page which has our
email address, Whatsapp Cell no with 24 hours services.
45 | P a g e
8
FUTURE WORK
School of Commerce and Accountancy (SCA) <Project Name>
8. FUTURE WORK
47 | P a g e
School of Commerce and Accountancy (SCA) <Project Name>
REFERENCES
9
48 | P a g e
School of Commerce and Accountancy (SCA) <Project Name>
9. REFERENCES
49 | P a g e