Final Project Report On e Commerce Shopping Website

Download as pdf or txt
Download as pdf or txt
You are on page 1of 80

A

PROJECT REPORT

ON

“E-Commerce Shopping Website (Shop Owner)”

SUBMITTED

To

CENTRE FOR ONLINE LEARNING

Dr. D. Y. PATIL VIDYAPEETH, PUNE

IN PARTIAL FULFILMENT OF DEGREE OF

MASTER OF BUSINESS ADMISTRATION

BY

SHIV KUMAR

PRN: 2105020568

BATCH 2021-2023

Dr. D.Y. Patil Vidyapeeth’s


CENTRE FOR ONLINE LEARNING,
Sant Tukaram Nagar, Pune.

CERTIFICATE

This is to certify that Mr. /Ms. __SHIV KUMAR____________________________________


PRN - ______2105020568____________ has completed his/her internship at ____ Qollabb
Edutech_________ starting from _20-Nov-2022____ to _10-Jan-2023__________.
His / Her project work was a part of the MBA (ONLINE LEARNING).
The project is on “E-Commerce Shopping Website (Shop Owner)” which includes research as
well as industry practices. He/ She was very sincere and committed in all tasks.

Course Coordinator Director

_________________ ___________________

Date -
COMPANY LETTER
(TO BE PROVIDED BY THE COMPANY WHERE THE PROJECT WILL BE
CARRIED OUT)

To whomsoever it may concern

This is to certify that Mr./ Ms. ______________ SHIV KUMAR________________________


PRN - ______2105020568__________has completed his/her internship at _______ Qollabb
Edutech______________ starting from _20-Nov-2022____ to _10-Jan-2023__________.
His / Her project work was a part of the MBA (ONLINE LEARNING)
The project is on “E-Commerce Shopping Website (Shop Owner)” _ which includes research
as well as industry practices. He/ She was very sincere and committed in all tasks.

Signature & Seal of Industry Guide


DECLARATION BY STUDENT

This is to declare that I have carried out this project work myself in part fulfillment of the
M.B.A Program of Centre for Online Learning of Dr. D.Y. Patil Vidyapeeth’s, Pune – 411018
The work is original, has not been copied from anywhere else, and has not been submitted to
any other University / Institute for an award of any degree / diploma.

Date: - Signature:-

Place: Name:
ACKNOWLEDGEMENT

I would like to express my gratitude and appreciation to all those who gave me the possibility
to complete this report.
Special thanks to the industry mentor Ms. Vandana Sivaraj whose help and guidance helped
me in fabrication process and project and in writing this report.
I also sincerely thanks Qollabb Edutech for the opportunity to prepare the project.
I would also like to acknowledge with much appreciation the crucial role of the mentor Mr.
Akshay Mahajan for their timely updates regarding project dates.
Many thanks go to the all lecturer and supervisors who have given their full effort in guiding
me in achieving the goal as well as their encouragement to maintain our progress in track.
My profound thanks go to all classmates, especially to my friends (Mr. Avdhut and Ms. Lalita)
for spending their time in helping and giving support whenever I need it in fabricating my
project.
Table of content

Sr. No. Item Page No

1 Introduction 9

1.1. Company Profile: 9

1.2. Existing System and Need for System 10

1.3. Scope of Work: 10

1.4. Operating Environment – Hardware and Software 13

1.5. Detail Description of technology used 16

2 Proposed System: 24

2.1. Objectives of System 24

2.2. User Requirement 25

3 Object Diagrams 31

3.1. Class Diagram 31

3.2. Use Case Diagram Shop Owner 32

3.3. Activity Diagram Shop Owner (vendor) 33

3.4. Sequence Diagram for Shop Owner (vendor) 34


3.5. ERD Diagram 35

3.6. Module Hierarchy Diagram 36

3.7. Component diagram 37

3.8. Deployment Diagram 38

4 Shop Owner: 39

4.1. Web Site Map Diagram 40

4.2. User Interface Diagram 41

4.3. Data Dictionary 46

5 DATABASE DESIGN 49

5.1. Tables Specification 49

6 Test Procedures and Test cases 56

6.1. Unit Testing 57

6.2. Integration Testing 57

6.3. White Box Testing 58

6.4. Black Box Testing 58

6.5. Test Cases 59


7 Implementation 70

7.1. Acceptance procedure 70

7.2. Post implementation review 70

7.3. Maintenance policy 70

8 Software Manuals 73

8.1. User Manual 73

8.2. Operation manual 75

8.3. User Registration 76

8.4. Flow Charts 79

9 Drawbacks & Limitations 81

10 Conclusions 82

11 Bibliography 83

12 References 84
1. Introduction

1.1. Company Profile:

Qollabb aims at connecting universities/colleges with companies and facilitate easy

transfer of knowledge and expertise between students, faculty and companies. Our focus

is to give students an opportunity to work on real industry projects on latest technologies

under direct mentorship of industry experts. We facilitate close collaboration between

universities/colleges and companies to offer experiential learning through student

projects to make sure that the students graduate as work-ready professionals.

1.2. Existing System and Need for System


The existing system is a manual system. Here the Employee needs to save his

information in the form of excel sheets or Disk Drives. There is no sharing is possible

if the data is in the form of paper or Disk drives. The manual system gives us very less

security for saving data; some data may be lost due to mismanagement. It’s a limited

system and fewer users friendly. Searching of particular information is very critical it

takes lot of time. It is very critical to maintain records manually for physical devices of

a computer. Because organizations contains computers on different configurations. In

the market computer devices are provided by different companies, manually handles

these records is not an easy job Online shopping (sometimes known as e-tail from

"electronic retail" or e-shopping) is a form of electronic commerce which allows

consumers to directly buy goods or service from a seller over the Internet using

Alternative names are: e-web-store, e-shop, e-store, Internet shop, web-shop, web-store,
online store, online storefront and virtual store. Mobile commerce (or m-commerce)

describes purchasing from an online retailer's mobile optimized online site or app.

1.3. Scope of Work:


Purchasing and selling products and services over the internet without the need of going

physically to the market is what online shopping all about. Online shopping is just like

a retail store shopping that we do by going to the market, but it is done through the

internet. Online shopping has made shopping painless and added more fun. Online

stores offer product description, pictures, comparisons, price and much more. Few

examples of these are Amazon.com, ebay.com and the benefits of online shopping is

that by having direct access to consumer, the online stores can offer products that cater

to the needs of consumer, cookies can be used for tracking the customer selection over

the internet or what is of their interest when they visit the site again. Online shopping

makes use of digital technology for managing the flow of information, products, and

payment between consumer, site owners and suppliers. Online shopping can be either

B2B (business to business) or B2C (business to consumer)

Shopping cart is one of the important facility provided in online shopping, this lets

customer to browse different goods and services and once they select an item to

purchase they can place the item in shopping cart, and continue browsing till the final

selection. Customers can even remove the items from shopping cart that were selected

earlier before they place the final order. It reminds us of shopping basket that we carry

in departmental store.

Online shopping has become a regular part of our lives, mainly because it is so

convenient. Every day, millions of people go online to do research about products and
make purchases from thousands of different online merchants. The web allows

customers to comparison shop for the best deals and locate products that might

otherwise be difficult to find. But while online shopping provides with a high level of

convenience, it also provides opportunities to cybercriminals to steal shopper’s money

and information through various online scams. That is why it is so important for

customers to know how to stay safe while shopping online. Thus, online shopping is a

fun and convenient way to locate hard-to-find items, to make purchases and discover

bargains.

India’s online market is at an early stage but is expected to see huge growth over the

next four to five years. Retailers have a sizeable opportunity as the online population

starts to spend more and buy more frequently online. Online shoppers expect to see

good deals online accompanied by free or very low-cost shipping. Consumers are

looking for trust, Security and privacy of information, timeliness, availability,

convenience, customer service, prices and wider selection during online shopping.

• This web application is responsible to manage all the records of the product

in standard catalogue.

• Total sales information is store in database by following product name and

Id etc.

• The best supporting system for the Distribution Business upgrading time to

time according to the market needs.

• This Web application provides logon facility to the users. It makes system

more secure and authorized.


• Admin can allow more users to enter into the system by allocating user name

and passwords with priority.

• Admin can add new products images, new product by vendor as and when

required.

• Admin can view available products, and product details.

• System generates bills for product sales for customers.

• Reports related to products sales are generated automatically.

• Admin can check available stocks of product.

• After Ordering the Product the product can be trace by client or end user.

• This web application also provides catalogue of brand of the product.

1.4. Operating Environment – Hardware and Software:

Hardware Requirements:

The Client Machines (Minimum Requirement)

Processor : Intel Pentium IV and above

RAM : 1 GB

Hard Disk : 2 GB Free space.

Operating System : Windows Xp, Win 7 etc.

Browser : Internet Explorer, Mozilla Firefox, Chrome.

The Server Machines (Minimum Requirement)


Processor : Intel Pentium IV or above

RAM : 2 GB

Hard Disk : 40 GB Free space.

Operating System : Windows 2000 or above.

Database : Oracle

Server : required java Supported Server side

Software Requirements:

• Google Chrome, Firefox.

• IDE(Net been ,Eclipse)

• Oracle Server
1.5. Detail Description of technology used

Java

The Java 2 Platform, Enterprise Edition (J2EE) defines the standard for developing

multitier enterprise applications. The J2EE platform simplifies enterprise applications

by basing them on standardize, modular components, by providing a complete set of

services to those components, and by handling many details of application behavior

automatically, without complex programming.

The J2EE platform takes advantage of many features of the Java 2 Platform, Enterprise

edition (J2EE), such as "Write Once Run Anywhere" portability, JDBC API for

database access, CORBA technology for interaction with exiting enterprise resources,

and a security model that protects data even in internet applications. Building on this

base, Java 2 Platform, Enterprise Edition adds full support for enterprise JavaBeans

components, java Servlets API, Java Server Pages and XML technology.

The J2EE standard includes complete specifications and compliance tests to ensure

probability of applications across the wide range of existing enterprise system capable

of supporting the J2EE platform.

Overall Description

Java Source Java byte code JavaVM

Java .Class JVM


Fig 2.1 Picture showing the development process of JAVA Program

Java programming uses to produce byte codes and executes them. The first

box indicates that the Java source code is located in a. Java file that is processed with a

Java compiler called java. The Java compiler produces a file called a. class file, which

contains the byte code The Class file is then loaded across the network or loaded locally

on your machine into the execution environment is the Java virtual machine, which

interprets and executes the byte code.

SERVLETS

♦ INTRODUCTION

The Java web server is Java Software’s own web Server. The Java web server is

just a part of a larger framework, intended to provide you not just with a web server,

but also with tools. To build customized network servers for any Internet or Intranet

client/server system. Servlets are to a web server, how applets are to the browser.

♦ ABOUT SERVLETS

Servlets provide a Java-based solution used to address the problems currently

associated with doing server-side programming, including inextensible scripting

solutions, platform-specific APIs, and incomplete interfaces.

Servlets are objects that conform to a specific interface that can be plugged into

a Java-based server. Servlets are to the server-side what applets are to the client-side -

object byte codes that can be dynamically loaded off the net. They differ from applets
in that they are faceless objects (without graphics or a GUI component). They serve as

platform independent, dynamically loadable, pluggable helper byte code objects on the

server side that can be used to dynamically extend server-side functionality.

For example, an HTTP Servlets can be used to generate dynamic HTML content. When

you use Servlets to do dynamic content you get the following advantages:

1. They’re faster and cleaner than CGI scripts

2. They use a standard API (the Servlets API)

3. They provide all the advantages of Java (run on a variety of servers without

needing to be rewritten)

JAVASCRIPT

JavaScript is a script-based programming language that was developed by

Netscape Communication Corporation. JavaScript was originally called Live Script and

renamed as JavaScript to indicate its relationship with Java. JavaScript supports the

development of both client and server components of Web-based applications. On the

client side, it can be used to write programs that are executed by a Web browser within

the context of a Web page. On the server side, it can be used to write Web server

programs that can process information submitted by a Web browser and then updates

the browser’s display accordingly

Even though JavaScript supports both client and server Web programming, we

prefer JavaScript at Client side programming since most of the browsers supports it.

JavaScript is almost as easy to learn as HTML, and JavaScript statements can be


included in HTML documents by enclosing the statements between a pair of scripting

tags

<SCRIPTS>..</SCRIPT>.

<SCRIPT LANGUAGE = “JavaScript”>

JDBC

JDBC is a Java API for executing SQL statements. (As a point of interest, JDBC

is a trademarked name and is not an acronym; nevertheless, JDBC is often thought of

as standing for Java Database Connectivity. It consists of a set of classes and interfaces

written in the Java programming language. JDBC provides a standard API for

tool/database developers and makes it possible to write database applications using a

pure Java API.

Using JDBC, it is easy to send SQL statements to virtually any relational

database. One can write a single program using the JDBC API, and the program will be

able to send SQL statements to the appropriate database. The combinations of Java and

JDBC lets a programmer write it once and run it anywhere.

JSP

Java Server Pages (JSP) is a java technology that helps software developers serve

dynamically generated web pages based on HTML, XML, or other document types.

Released in 1999 as Sun's answer to ASP and PHP, JSP was designed to address the

perception that the Java programming equivalent didn't provide developers with enough
support for the web. JSP syntax is a fluid mix of two basic content forms: Scriptlet

elements and markup. Markup is typically standard HTML or XML, While Scriptlet

elements are delimited blocks of java code. This may be intermixed with the markup.

When the page is requested the java code is executed and its output is added, in situ,

with the surrounding markup to create the final page. JSP pages must be compiled to

Java byte code classes before they can be executed, but such compilation is needed only

when a change to the source JSP file has occurred.

The JSP syntax adds additional XML-like tags called JSP actions, to invoke built in

functionality.

TOMCAT 8.0 (SERVER)

Apache Tomcat (or Jakarta Tomcat or simply Tomcat) is an open source servlet

container developed by Apache Software Foundation (ASF). Tomcat implements the

Java Servlet and the Java Server Pages (JSP) specifications from Sun Microsystems,

and provides a "pure java" HTTP web server environment for java code to run.

Tomcat should not be confused with the Apache web server, which is a C

implementation of HTTP web server; these two web servers are not bundled together.

Apache Tomcat includes tools for configuration and management, but can also be

configured by editing XML configuration files.

Advanced Tomcat Features

• The following subjects are discussed

• Accept Logs
• Single Sign-on

• Request Filtering

• Persistent Session Manager

• Tomcat and JDBC, JNDI

• JAVA Mail Session

• Configuring Lifecycle Listeners

DATABASE: Oracle 10g XE

Oracle Database

1. You must have Oracle Database installed, either locally or on a remote

computer.

2. You can administer the database with the user interface, Enterprise Manager,

which can run scripts and queries, and more.

3. A database management, or DBMS, gives the user access to their data and

helps them transform the data into information. Such database management

systems include dBase, paradox, IMS, Oracle Database and Oracle Database.

These systems allow users to create, update and extract information from

their database.

4. A database is a structured collection of data. Data refers to the characteristics

of people, things and events. Oracle Database stores each data item in its

own fields. In Oracle Database, the fields relating to a particular person,

thing or event are bundled together to form a single complete unit of data,
called a record (it can also be referred to as raw or an occurrence). Each

record is made up of a number of fields. No two fields in a record can have

the same field name.

Oracle Data Access Components

Oracle Data Access Components (ODAC) is a collection of tools that include:

■ Oracle Developer Tools for Visual Studio

■ Oracle Data Provider for .NET

■ Oracle Providers for ASP.NET

■ Oracle Provider for OLE DB

■ Oracle Objects for OLE

■ Oracle ODBC Driver

■ Oracle Services for Microsoft Transaction Server

■ Oracle SQL*Plus

■ Oracle Instant Client

FEATURES OF ORACLE DATABASE (RDBMS)

Oracle Database is one of the leading database management systems (DBMS)

because it is the only Database that meets the uncompromising requirements of today’s

most demanding information systems. From complex decision support systems (DSS)

to the most rigorous online transaction processing (OLTP) application, even application
that require simultaneous DSS and OLTP access to the same critical data, Oracle

Database leads the industry in both performance and capability

ORACLE DATABASE is a truly portable, distributed, and open DBMS that delivers

unmatched performance, continuous operation and support for every database.

ORACLE DATABASE RDBMS is high performance fault tolerant DBMS which is

specially designed for online transactions processing and for handling large database

application.
2. Proposed System:

Online shopping is a web-based application software developed on Pentium machine

the main aim of online shopping is to improve the service of customer and vendors it

maintains the details of the customer payments product receipts addition of new

customer products and also updating deletion for the same it also stores the details of

invoices generated by customer and payment made by them with all payment details

like credits card.

• The main aim of the proposed system is to make online computerized application

for selling and purchasing.

• It will help to reduce the paper work & manual efforts.

• The proposed system is helpful to buyers to place orders 24*7.

• This site will provide facility to FAQ.

• To maintain all sales and purchase details.

• This site will provide discount for the product.

• Using this site Authorized person of treading company can generate bills and

reports.

2.1. Objectives of System


• To shop while in comfort of your own home, without having to step out of the

door.

• To sell at less rate due to less overhead.

• No wait to see the products if someone else are taking that.

• To be able to easily save money and compare prices from website to website.
• The main objective of ourproduct is better Services, better leadersh-ip, reducing

time Budget corruption and disorder etc.

• Provide a framework, which is error free.

• We know a various services system is actually a critical process having many

calculations and operations. So each simple error laid to big problem. So it

should be error free and our objective is to build error free software.

• Maintain the details of product, users and vendors.

• Query handling in robust way.

• Maintains the different types of product information, product sales, and order

information.

• System generates the bill of products.

• To maintain the knowledge repository in an efficient manner so that the search

for query results become faster and easier.

• To generate all kinds of reports.

2.2. User Requirement

Sr No. Requirement Description

1 Automatic System should contain more of

Automatic work rather than manual

work.

2 Record Searching Searching of records should

Be done easily.
3 Reflection of changes If changes are to be made in one

record then they have to be reflected

in other required fields.

4 Report Generation Report should be generated

As per their requirement and in short

duration of time.

5 Storing of transactions All the transactions should be stored

in the database in the proper

sequence.

6 Interactivity The system should be interactive.

7 Details of previous There should be easy way to retrieve

transactions the details of previous transactions.

8 Comparison between There should be a convenient way

the records for comparison to be made between

the records.

9 Moderation of the Moderation of the

Work Work should be easily made.

Functional Requirement
This section provides requirement overview of the system. Various functional modules

that can be implemented by the system will be –

Description

• Registration

If customer wants to buy the product then he/she must be registered.

Unregistered user can’t go to the shopping cart.

• Login

Customer login to the system by entering valid user Id and password for

the shopping.

• Changes to Cart

Changes to cart means the customer after login or registration can make

order or cancel order of the product from the shopping cart.

• Logout

After the payment or surf the product the customer will logged out.

• Report Generation

After all transaction the system can generate the bill and then sent to the

customer’s Email-address and another one for the system data base to

calculate the monthly transaction.


• Technical Issues

This system will work on client-server architecture. It will require an

internet server and which will be able to run JSP application. The system

should support some commonly used browser such as IE, Firefox, chrome

etc.

Other non-Functional requirement

Security

The system’s back-end servers shall only be accessible to authenticated administrators.

Sensitive data will be encrypted before being sent over insecure connections like the

internet.

Reliability

The system provides storage of all databases on redundant computers with automatic

switchover. The reliability of the overall program depends on the reliability of the

separate components. The main pillar of reliability of the system is the backup of the

database which is continuously maintained and updated to reflect the most recent

changes. Thus the overall stability of the system depends on the stability of container

and its underlying os.

Availability
The system should be available at all times, meaning the user can access it using a web

browser, only restricted by the down time of the server on which the system runs. In

case of a of a hardware failure or database corruption, a replacement page will be shown.

Also in case of a hardware failure or database corruption, backups of the database

should be retrieved from the server and saved by the administrator. Then the service

will be restarted. It means 24 X 7 availability.

Maintainability

A commercial database is used for maintaining the database and the application server

takes care of the site. In case of a failure, a re-initialization of the program will be done.

Also the software design is being done with modularity in mind so that maintainability

can be done efficiently.

Portability

The application is HTML and scripting language based. So the end-user part is fully

portable and any system using any web browser should be able to use the features of

the system, including any hardware platform that is available or will be available in the

future.

An end-user is using this system on any OS; either it is Windows or Linux. The system

shall run on PC, Laptops, and Tablets, Smartphone’s etc.


3. Object Diagrams

3.1. Class Diagram


3.2. Use Case Diagram Shop Owner
3.3. Activity Diagram Shop Owner (vendor)
3.4. Sequence Diagram for Shop Owner (vendor)
3.5. ERD Diagram
3.6. Module Hierarchy Diagram
3.7. Component diagram

HTTP

Web Apache
Browser Tomcat

JSP Java
File Servlet
JDBC

Oracle
3.8. Deployment Diagram
4. Shop Owner:

In this module we can see the shop owner different products details and collection

on domestic content. That will they all products details and shop name, shop address,

shop owner contacts etc. This are many sub modules in bellow.

 Registration

 Product Management

o Add

o Update

o Delete

 Inventory

 Advertisement

 Manage Profile
4.1. Web Site Map Diagram
4.2. User Interface Diagram

Main Page:

Login:
Product:
Product Details:
Shop Owner Registration:
Feedback:
4.3. Data Dictionary

Field
Sr. No. Date Type Description
Name
1. Adddate Date Add date of
product
2. Address Varchar User address

3. Address Varchar Vendor


address
4. Adesc Varchar Advertise
description
5. aemailID Varchar Admin email

6. AID Int Admin ID

7. AID Int Advertise id

8. Apass Varchar Admin pass

9. Available Int Prod


Available
10. BID Int Brand ID

11. BID Int Brand id

12. Bname Varchar Brand name

13. Cat_ID Int Category id

14. Cat_ID Int category ID

15. City Varchar city

16. cname Varchar category


name
17. Company Varchar Company
name
18. Damage Varchar Damage
status
19. DID Int Desc id
20. Display Varchar Display size

21. Front Varchar Front camera


camera
22. Gender Varchar gender

23. Main Varchar Back camera


camera
24. Mobile Varchar Contact no

25. Odate Date Order date

26. Oday Varchar Order day

27. Omonth Varchar Order month

28. ONO Varchar Order NO

29. Oqty Int Order


quantity
30. Otime Date Order time

31. Oyear Varchar Order year

32. P_discount Int Discount

33. P_position Varchar Product


Position
34. Pdesc Varchar Description

35. Photo Varchar Image of


product
36. Photo Varchar Advertise
image
37. PID Int Product ID

38. Pname Varchar Product


name
39. Price Int Product
price
40. Quantity Int quantity

41. Rating Int Product


Rating
42. Replace Varchar Replacement
status
43. RID Int Refund id

44. Type Varchar Type

45. uemailID Varchar User Email

46. UID Int User ID

47. UID Int User ID

48. UID Int User ID

49. UID Int User ID

50. Uname Varchar User name

51. Upass Varchar User pass

52. vemailID Varchar Vendor


Email
53. VID Int Vendor ID

54. VID Int Vendor id

55. VID Int Vendor id

56. Vname Varchar Vendor


name
57. Vpass Varchar Vendor pass
5. DATABASE DESIGN

5.1. Tables Specification

Table Name:-Admin

Description: This will store information about admin.

Field Name Data Type Size Constraints Description

AID Int 10 Primary Key Admin ID

Apass Varchar 8 Not Null Admin pass

aemailID Varchar 20 Not Null Admin Email

Table Name:-User:

Description: This will store information about user.

Field Name Data Type Size Constraints Description

UID Int 10 Primary Key User ID

Upass Varchar 8 Not Null User pass

uemailID Varchar 20 Not Null User Email

Address Varchar 50 Null User address

Uname Varchar 30 Null User name

Mobile Varchar 15 Null Contact no

Table Name:-Vendor:

Description: This will store information about vendor.


Field Name Data Type Size Constraints Description

VID Int 10 Primary Key Vendor ID

Vpass Varchar 8 Not Null Vendor pass

vemailID Varchar 20 Not Null Vendor Email

Address Varchar 50 Not Null Vendor address

Vname Varchar 30 Not Null Vendor name

Gender Varchar 8 Not Null gender

City Varchar 20 Not Null city

Company Varchar 20 Not Null Company name

Table Name:-Shopping_cart:

Description: This will store information about cart.

Field Name Data Type Size Constraints Description

CID Int 10 Primary Key Cart ID

UID Int 10 Foreign Key User ID

PID Int 10 Foreign Key Product ID

Quantity Int 10 Not null quantity

Table Name:-Category:

Description: This will store information about category.

Field Name Data Type Size Constraints Description


Cat_ID Int 10 Primary Key category ID

Cname Varchar 20 Not Null category name

Table Name:-Brand:

Description: This will store information about Brand.

Field Name Data Type Size Constraints Description

BID Int 10 Primary Key Brand ID

Bname Varchar 20 Not Null Brand name

Table Name:-Description:

Description: This will store information about product description.

Field Name Data Type Size Constraints Description

DID Int 10 Primary Key Desc id

PID Int 10 Foreign Key product ID

Type Varchar 20 Not Null Type

Front camera Varchar 20 Null Front camera

Main camera Varchar 20 Null Back camera

Display Varchar 20 Not null Display size

Table Name:-Product:

Description: This will store information about product.


Field Name Data Type Size Constraints Description

PID Int 10 Primary Key product ID

Cat_ID Int 10 Foreign Key Category id

BID Int 10 Foreign Key Brand id

VID Int 10 Foreign Key Vendor id

Pname Varchar 30 Not Null Product name

P_position Varchar 20 Not Null Product

Position

Pdesc Varchar 60 Not Null Description

P_discount Int 2 Not Null Discount

Price Int 5 Not Null Product price

Available Int 5 Not Null Prod

Available

Adddate Date Not Null Add date of

product

Photo Varchar 30 Not Null Image of

product

Rating Int 5 Null Product

Rating

Table Name:-Refund_replacement:

Description: This will store Refund and Replacement information about Products
Field Name Data Type Size Constraints Description

RID Int 10 Primary Key Refund id

PID Int 10 Foreign Key product ID

UID Int 10 Foreign Key User ID

VID Int 10 Foreign Key Vendor id

Damage Varchar 40 Null Damage status

Replace Varchar 40 Null Replacement

status

Table Name:-Order:

Description: This will store information about order.

Field Name Data Type Size Constraints Description

ONO Int 10 Primary Key Order NO

PID Int 10 Foreign Key product ID

UID Int 10 Foreign Key User ID

Oqty Int 10 Not Null Order quantity

Odate Date Not Null Order date

Oday Varchar 20 Not Null Order day

Omonth Varchar 20 Not Null Order month

Oyear Varchar 20 Not Null Order year


Otime Varchar 20 Not Null Order time

11. Table Name:-Advertise:

Description: This will store information about Advertise.

Field Data Type Size Constraints Description

Name

AID Int 10 Primary Key Add id

PID Int 10 Foreign Key product ID

Adesc Varchar 60 Not Null Advertise

description

Photo Varchar 30 Not Null Advertise image


6. Test Procedures and Test cases

What is software testing?


Software testing is a critical element of software quality assurance and represents the

ultimate review of specification, design and code generation. It is a process of executing

a program with a primary objective of finding errors. Testing gives the guarantee that

the software does not fail and runs according to its specifications and in the way the end

user expects. This can be done by various software testing techniques which provide a

systematic guidance for designing tests that exercise the input and output domains of

the program to uncover errors in program function, behavior and performance.

The following software testing techniques were used in order to uncover errors in the

system:

• Unit testing

• Integration testing

• White box testing

• Black box testing

• Acceptance tests (Alpha and Beta testing)

6.1. Unit Testing

Unit testing is normally considered as an adjunct to the coding step. It is the test for the

small units of code, e.g. programs, modules or procedures, in order to ensure that they

perform their intended functions. All possible paths through the control structure are

exercised to ensure that all statements in a program are executed at least once. Unit

testing is also done to test the data flow across a module interface.
The following errors are uncovered during unit testing:

• Comparison of different data types.

• Incorrect logical operators or precedence.

• Incorrect comparison of variables.

• Improper or nonexistent loop termination.

• Improperly modified loop variable.

6.2. Integration Testing


Integration testing is a systematic technique for constructing the program structure

while at the same time conducting tests to uncover errors associated with interfacing.

During this activity, unit tested components are taken and a program structure is built

as per the design. Then incremental integration is performed on the system. This means

that programs are constructed and tested in small increments instead of testing the entire

program as a whole. This is done because correction of errors becomes difficult in case

of whole program testing as many errors were detected and it is not easy to correct them

at one go. Thus, through incremental integration testing, any error uncovered could be

easily noted and corrected and interfaces are tested completely.

6.3. White Box Testing

White box testing is also called as glass box testing. It is related with the structure

(internal logic) of the program. It helps in uncovering many errors that black box testing

cannot. During white box testing activity, every statement of programs is executed at
least once. All independent paths are also executed. Every logical decision is executed

to check both true and false conditions. All loops are executed at their boundaries and

within their operational bounds. Validation checks are also done during this process.

6.4. Black Box Testing


Black box testing, also known as behavioral testing, focuses on the functional

requirements of the software. It is related to input and output only and not related with

the internal structure of the program. This testing is also done so as to find errors such

as:

• Initialization and termination errors

• Behavior and performance errors

• Incorrect or missing functions

• Interface errors

• Errors in data structures and external database access

• Performance errors

6.5. Test Cases

Test Case ID # 1

Test Case Name To test functionality of login form.

Prerequisite Login form should get loaded.


Objective To fine out bugs in login form.

Sr. No Steps be to Expected Actual Result Pass/Fail

executed Result Criteria

Username

Textbox

Test cases

1 1.Enter It should display It display error Pass

Username error message message “Enter

With less “Enter username username with

than 6 with 6 6 characters.”

Characters. characters.”

2. Enter

correct

password.

3. Click on

Submit

button.

2. 1.Enter It should display It displays Pass

Username homepage. homepage.

With 6

Characters.
2. Enter

correct

password.

3. Click on

Submit

button.

3. 1. Enter It should display It does not Pass

Username error message accept

with greater “Enter username username with

than 30 with maximum greater than 30

Characters. 30 characters.” characters.

2. Enter

correct

password

3. Click on

Submit

button.

4. 1.Enter It should display It displays Pass

Username homepage. homepage.

with 10

characters.
2. Enter

correct

password

3. Click on

Submit

button.

5. 1.Enter It should display It displays Pass

Username error message error message

As blank “Enter ”Enter

field. username”. username”.

2. Enter

correct

password

3. Click on

Submit

button.

Password

Textbox

Test cases
1. 1. Enter It should display It displays error Pass

correct error message message “Enter

username. “Enter password password with

2.Enter with minimum 6 minimum 6

password characters.” characters.”

with less than

Characters.

3. Click on

Submit

button.

2. 1. Enter It should display It should Pass

correct error message display error

username. “Enter password message “Enter

2.Enter with maximum password with

password 10 characters.” maximum 10

with greater characters.”

than 10

Characters.

3. Click on

Submit

button.
3. 1. Enter It should display It displays Pass

correct Homepage. homepage.

username.

2.Enter

password

with 10

Characters.

3. Click on

Submit

button.

4. 1. Enter It should display It displays Pass

correct Error message” Error message”

username. Enter password”. Enter

2.Enter password”.

password

as blank field.

3. Click on

Submit

button.

5. 1. Enter It should display It displays error Pass

correct error message message “Enter

username. “Enter password password with

with alphabets alphabets


2.Enter and/or digits and/or digits

password only. only.

with

characters ,

digits and

special

Characters.

3. Click on

Submit

button.

Test Case ID# 2

Test Case Name To test functionality of user registration

form.

Prerequisite User Registration form should get loaded.

Objective To find out bugs in User Registration

form.

Sr. No Steps to Expected Actual Result Pass/Fail

executed Result

First name

Textbox

Test cases
1. 1. Enter first It should display It displays Pass

name as error message error message

blank field. “Enter first “Enter first

2. Click on name”. name”.

Submit

button.

2. 1. Enter first It should display It displays Pass

name with error message error message

digits. “Enter alphabets “Enter

2. Click on only”. alphabets

Submit only”.

button.

3. 1. Enter first It should display It accepts first Pass

name with error message name with

greater than “Enter first name greater than 50

50 characters. with maximum characters.

2. Click on 50 characters.”

Submit

button.
4. 1.Enter first It should display It displays Pass

name with error message error message

digits “Enter alphabets “Enter

And only.” alphabets

characters. only.”

2. Click on

Submit

button.

5. 1.Enter first It should display It displays Pass

name as home page. home page.

Characters.

2. Click on

Submit

button.

Last name

Textbox

Test cases
1. 1. Enter last It should display It displays Pass

name as error message error message

blank field. “Enter last “Enter last

2. Click on name”. name”.

Submit

button.

2. 1. Enter Last It should display It displays Pass

name with error message error message

digits. “Enter alphabets “Enter

2. Click on only”. alphabets

Submit only”.

button.

3. 1. Enter Last It should display It accepts last Pass

name with error message name with

greater than “Enter last name greater than 50

50 characters. with maximum characters.

2. Click on 50 characters.”

Submit

button.
4. 1.Enter last It should display It displays Pass

name with error message error message

digits “Enter alphabets “Enter

And only.” alphabets

characters. only.”

2. Click on

Submit

button.
7. Implementation

Testing Implementation

After successful testing and go ahead signal it was decided to implement some of the

modules in real-world scenario. The system platform was created for those modules and

a branched number of users were also created so that the performance could be tested

as well. The system responded as per the expectation only were performance measures

were revealed and corrected accordingly.

7.1. Acceptance procedure


After the system is completed and proper training is given to the staff the system is run

parallel with the existing system and results are compared. When the results will be

satisfactory the system will be accepted by the client. All the required and critical

information regarding the system will be given to the respective personnel.

7.2. Post implementation review


Since the system was developed with almost all care. There were not many

modifications in the system. The demonstration will be carried out with the management

and end users, who intern will also very satisfy with the outcomes of the systems.

7.3. Maintenance policy

The maintenance of existing system software can account for over 60% full

development efforts. Because change is inevitable mechanism must be developed for

evaluating, controlling and making modifications.


Maintenance is a set of software engineering activities that occur for after software has

been delivered to the customer and put in to between 70% of the cost is devoted to

maintenance.

Maintenance activities can be divided in to two types:-

A. Modification

As the specification of computer systems changes reflecting changes in the external

world, so most the systems themselves.

B. Debugging

Removal of errors that should never has been there in the first place. More than two-

fifths of

Maintenance activities are extensions and modifications requested by the users.

The magnitude of this proportion seems to reflect the lack of extendibility of commonly

implemented software Maintenance can be defined as three types:

1. Corrective maintenance

A process which includes diagnosis and correction of errors.

2. Adaptive maintenance

Activity which modifies software to properly interfaces with a changing

environment.
3. Perfective maintenance

Activities which adds new capabilities modifying, existing function and

making general enhancement. This accounts for the majority of all the effort expanded

on maintenance.
8. Software Manuals

8.1. User Manual

Welcome to Online Shopping

Online shopping is a powerful Web-based tool. You can use online shopping to search

for items, view item details, send orders and review the status of your orders.

This handbook assumes the user is familiar with the use of an Internet browser, and has

access to the Internet. Except in situations specific to the use of Online Shopping,

instructions on using an Internet Browser or connecting to the Internet are beyond the

scope of this user guide.

If you have questions regarding online shopping, please contact us.

Getting Started

1. As the user enter URL, he/she is navigated to the home Page.


2. Home Page is divided into various categories. Ex. “Mobile” category, “Laptop”

category and “Accessories” category. And also has header section. He/she can

login or register from homepage and view cart items.

3. Within “Mobile" category user has various options to choose. There is lots of

brand available in it. User can view the product brand vise user can view the

product operating system vise.

4. Within “Laptop" category user has various options to choose. There is lots of

brand available in it. User can view the product brand vise user can view the

product operating system vise.

5. In "header section" different instructions from online shopping are displayed.

6. On clicking “signup” visitor can register himself.

7. On clicking "Login", User can see Login.

8. User can add items into cart by clicking add to cart button of product.

9. User can add items into wish list by clicking add to wish list.
10. On clicking "add to cart" or “signup” for the first time visitor will register by

himself and after it will order Product.

8.2. Operation manual

Click here for


search item
Click here
for login

• This is the home page and user can select menu as per operation.
8.3. User Registration

• In this form user will enter details for register and click to submit button

for registration.
Login:

• On clicking "Login", User can Login.


Product Details:

Click here
for buy
product

• User can view the product description and also give to review of the
product.
8.4. Flow Charts
9. Drawbacks & Limitations

As there is no perfect system this system also contains following drawbacks and

Limitations:

 It takes time to for loading site on mobile browsers.

 System totally depends on availability of internet. If somehow internet

connection fails the system can’t work. But there are rare chances for that.

Proposed Enhancement

The proposed enhancements of this system are as follows:

 Reduction of complexity.

 Apply some more things to increase security.

 Provide the services to other Mega Cities.


10. Conclusions

Using this web application industry can reduce their paper work and human efforts we

have created an online Application. Also this software will help to increase customer

relationship with the owner.

This software is also useful to accept and manipulate customer’s complaint online.

Any project, even on completion still is not done. Constant improvement, upgrades and

changes need to be made and newer versions are released. In today’s world where

technology changes every day, new changes are being introduced every now and then.

In maintaining the site, there is always a need to replenish all the features with the latest

ones.

Developing and implementing the system has been quite remarkable and challenging

experience for me. Getting a vast knowledge and varied learning experience in

numerous fields like Jsp, Html, JQuery, JavaScript, CSS and other designer assets has

helped in achieving perfection in SQL server and designing of the Web site. The client

will definitely get benefit from the reduced timings and manpower involved.
11. Bibliography

Books:

1) The Complete Reference J2EE.


2) JSP Complete Reference.
3) Java Server Programming J2EE 1.5Edition

URLs:

1. www.oracle.com/java
2. www.tutorialspoint.com
3. www.javatpoint.com
4. www.stackoverflow.com
12. References

1) Prashar, S. Sai Vijay, T. & Parsad, C. (2017). Effects of Online Shopping Values and
Website Cues on Purchase Behaviour: A Study Using S–O–R Framework. VIKALPA The
Journal for Decision Makers 42(1), 1–18.
2) C Nwaizugbo, I. and D, Ifeanyichukwu C. (2016). Understanding Consumers’ Behaviour
towards Online Shopping: A Study of Online Shoppers in Anambra State. International Journal
of Sales Vol. 5 No. 2.
3) Kumar, M. (2016). Consumer Behavior and Satisfaction in E-Commerce: A Comparative
Study Based On Online Shopping Of Some Electronic Gadgets. International Journal of
Research in Commerce & Management Vol. 7 No. 07 (July)
4) Malviya, S. Saluja, M.S. & Thakur, A.S. (2013) .A Study on the Factors Influencing
Consumer's Purchase Decision towards Smartphones in Indore. International Journal of
Advance Research in Computer Science and Management Studies, Vol. 1, No. 6. 1
5) Hooda, S. & Aggarwal, S. (2012). Consumer Behaviour Towards E-Marketing: A Study Of
Jaipur Consumers. International Refereed Research Journal Vol. III, Issue 2(2), April. E-ISSN
2229-4686.
6) Lohse, G., Bellman, S., and Johnson, E. J. (1999). “Predictors of Online Buying Behavior.”
Communications of the ACM. 42, 32-38. 15) Heeks, R. & Cooper, M.M. (2008). The Inventor
of the Mobile Phone. BBC; 41(6):26-33. 16) Muduli, J.R. (2013-14). Addiction to
Technological Gadgets and Its Impact on Health and Lifestyle: A Study on College Students.
7) Niranjanamurthy M et.al, (June 2013). “Analysis of E-commerce and M-commerce:
Advantages, Limitations and Security issues”, IJARCCE Vol. 2, Issue
8) Friedman, M. (1999). Consumer Boycotts, Routledge. Ganesan, S. (1994). “Determinants
of long-term orientation in buyer-seller relationships.” Journal of Marketing, 58, 1-19.
9) Sir Deshmukh, D., Singh, J., Sabol, B. (2002). “Consumer trust, value, and loyalty in
relational exchanges”, Journal of Marketing, vol. 66 (January), 15-37.
10) Chung-Hoon P., Y.-G. Kim, (2003). “Identifying key factors affecting consumer purchase
behavior in an online shopping context”, International Journal of Retail and Distribution
Management, 31(1), pp. 16-29. 34) Kung, M., B.K. Monroe, and J. Cox (2002). “Pricing on
the Internet”. Journal of Products and Brand Management, 11(2), pp. 274 -287

You might also like