You are on page 1of 72

Project Report On

“ONLINE WATCH STORE “

Submitted in partial fulfilment of the requirements for the award of degree of

Bachelor of Business Administration (Computer Application)

Submitted By:

Dhruv khatwani(A-20)
Nikita khalde(A-41)

Submitted to:

Vice Principal & (H.O.D) Guided By


Prof. Shivendu Bhushan Prof. Shubhangi
Chavan

Acknowledgement

1
We would like to express our sincere and heartfelt gratitude to our institution” Indira
College of Commerce and Science” which provided us with excellent opportunity to achieve our
most cherished goal in life to become bachelor’s degree in BBA-CA.

We are extremely grateful to our respected Vice Principal and HOD Prof, Shivendu
Bhushan for providing excellent academic environment which has made this endeavor possible.

We take this opportunity to express our deep sense of gratitude to our guide prof.
Shubhangi Chavan for their resplendent idea and constant encouragement in making this project
unmitigated success. Their thoughtfulness and understanding were vast and thoroughly helpful in
successful completion of project. Our sincere thanks to all our faculties and non-teaching staff
for them at most co-operation.

Finally, we proudly thank our parents and friends for their constant support and priceless
guidance in throughout this endeavor.

Index

2
Sr. No Particulars Page No.
1 Abstract 1

2 Introduction 2-8
2.1 Motivation 2

2.2 Problem statement 3

2.3 Purpose/Objectives/goals 3

2.4 Literature survey 4

2.5 Project Scope and Limitations 8

3 System Analysis 8-13


3.1 Existing System 8

3.2 Scope and Limitation of existing system 8

3.3 Project perspective, features, stakeholders 9

3.4 Requirement Analysis 9

3.4.1 Functional Analysis 10

3.4.2 Performance Analysis 11

3.4.3 Security Analysis 13

4 System Design 14-20


4.1 Design constraints 14-15

4.2 System Model 16

4.2.1 Data Flow Diagram 17-18

4.2.2 Data Model 19-22

4.3 User Interface 23-29


5 Implementation Details 29
5.1 Software and hardware specifications 29

3
6 Output and Report Testing 30-35
6.1 Test Plan 30
6.2 Black Box Testing/Data validations Test cases 31
6.3 White Box Testing/functional validations Test 32-35
cases and results
7 Conclusion and Recommendation 35
8 Future Scope 35
9 Bibliography and References ss36

4
Abstract:

Our project is ONLINE WATCH SHOPPING. This is a web based application which helps
people to find and buy latest watchs with different functionalities on internet. It is useful in the
way that it makes an easier way to buy watches online.

This project is the output of our planning, schedule, programming skill and the hard work, and
this report reflects our steps taken at various levels of programming skill, planning and schedule.

We have learnt a lot during this project and liked the improvement in our testing skills and deep
concept related to these kinds of projects.

In this application we have basically 2 modules. The first module includes the customer module.

The customer has to register for any enquiry related to watches. The unregistered person can’t
access this application. The registered customer can view details of watches and he can buy the
mobile of his choice and need. He has to pay the price of watch

The admin module contains the access of admin on the application. The admin can change
everything in the application. He has the ability to add, delete, update any information regarding
the watches.

We have tried to create a user friendly site. So that user can easily navigate through our site.
Project has been created for purpose of displaying all type of watches.

It provide functionality such as First of all user require to register with email address. Then and
then only he is able to purchase the watch

5
2) Introduction:
About the project Computer technology makes a dramatic break with the past: Most companies
are designed and use their applications that which the application runs on the user access a
maintained manage file or database. The concept of computerized report has important in the
industry, which needs information to retrieve in the fast and efficient

Time xprs is an online platform that offers a wide range of luxury watches to customers all over
the world. The platform is designed to provide customers with a user-friendly experience that
allows them to browse, purchase, and track their orders seamlessly. The platform is built on
cutting-edge technology that ensures high levels of security, reliability, and scalability.

Watch store Platform requires a well-planned project management approach that ensures
the timely delivery of a high-quality product. In this article, we will discuss the project
management process involved in developing the website UI and mobile UI for Calibre E-
commerce Watch Store Platform

6
2.1) Motivation:

1.Global Reach: An online watch store transcends geographical boundaries, allowing access to
customers worldwide, thereby expanding the potential customer base beyond local markets.

2. 24/7 Accessibility: The online platform provides round-the-clock availability, enabling


customers to browse and shop for watches at their convenience, regardless of time zones or
schedules.

3.Convenience: Customers can explore a diverse range of watches from the comfort of their
homes, avoiding the need to visit physical stores, saving time and effort.

4.Personalization: Online watch stores can offer personalized recommendations based on


customer preferences and browsing history, enhancing the shopping experience and increasing
customer satisfaction.

5.Expert Guidance: Through informative product descriptions, guides, and customer support,
online watch stores can provide expert guidance to assist customers in making informed
purchasing decisions.

6.Variety and Choice: With an extensive inventory comprising watches from various brands,
styles, and price points, online watch stores offer customers a wide range of choices to suit their
preferences and budgets.

7
2.2 Problem Statement:

1.Counterfeit Products: The proliferation of counterfeit watches in the online market


undermines trust and authenticity, leading to concerns among customers about the legitimacy of
the products they purchase.

2.Lack of Physical Interaction: Without the ability to physically inspect and try on watches,
customers may struggle to assess factors such as fit, feel, and quality, leading to uncertainty and
potential dissatisfaction with their purchases.

3.Overwhelming Selection: The extensive range of watch options available online can
overwhelm customers, making it challenging for them to navigate and find the perfect timepiece
that meets their preferences, style, and budget.

4.Logistical Challenges: Managing order fulfillment, inventory levels, and shipping processes
can be complex and time-consuming for online watch stores, impacting the efficiency and
reliability of the shopping experience for customers.

5.Customer Trust and Satisfaction: Addressing these challenges is essential for online watch
stores to build and maintain trust with customers, enhance their shopping experience, and foster
long-term satisfaction and loyalty.

By addressing these key challenges, online watch stores can improve their overall performance,
reputation, and competitiveness in the e-commerce market.

8
2.3 Purpose/Objectives/Goals:

• Increase sales and revenue : One of the primary objectives of any e-commerce
website and mobile application is to generate sales and revenue. Calibre can set targets to
increase its sales volume and revenue by a certain percentage over a given period, such as
quarterly or annually.

• Expand customer base: To sustain long-term growth, Calibre needs to continually


attract new customers to its online store. The e-commerce platform can set targets to
acquire new customers through targeted digital marketing campaigns, social media
engagement, and referral programs.

• Improve customer retention: Keeping existing customers satisfied is essential for


long-term success. Calibre can set objectives to improve customer satisfaction, loyalty,
and retention by offering personalized shopping experiences, exceptional customer
service, and post-purchase support.

• Enhance website and app usability: A well-designed website and mobile


application can improve the user experience and drive conversion rates. Calibre can set
objectives to optimize its online platform's usability, performance, and speed,
ensuring that customers have a seamless and enjoyable shopping experience.

• Increase product range and variety: Customers appreciate having a wide


selection of products to choose from, and expanding the product range can lead to
increased sales and customer satisfaction. Calibre can set objectives to add new brands,
styles, and collections to its online store, ensuring that there is something for everyone

9
2.4 Literature Survey:

1.Market Analysis: Conduct a comprehensive analysis of the current online watch retail
landscape, drawing insights from existing literature and industry reports. Identify key players,
market trends, consumer preferences, and growth opportunities.

2.Consumer Behavior: Explore scholarly research on consumer behavior in online watch


shopping. Examine factors influencing purchase decisions, such as brand perception, product
authenticity, price sensitivity, and the role of social influence.

3.Trust and Authenticity: Investigate studies focusing on trust-building mechanisms and


authenticity assurance in online watch stores. Assess the effectiveness of strategies such as
product authentication, customer reviews, and brand reputation management.

4.Technology Integration: Explore literature on the integration of technology in online


watch retail, including augmented reality, virtual try-on features, and blockchain authentication.
Evaluate their impact on enhancing the shopping experience and mitigating concerns related to
product quality and authenticity.

5.Personalization Strategies: Review research on personalized shopping experiences in the


online watch industry. Examine the role of data analytics, artificial intelligence, and machine
learning algorithms in tailoring product recommendations, promotional offers, and customer
communication.

6.Customer Experience Enhancement: Examine studies that highlight innovative


approaches to enhancing the overall customer experience in online watch shopping. Investigate
the use of user-friendly interfaces, seamless navigation, responsive customer support, and hassle-
free return policies.

7.Competitive Analysis: Conduct a comparative analysis of existing online watch stores,


considering factors such as product assortment, pricing strategy, customer service quality, and
technological innovations. Identify strengths, weaknesses, opportunities, and threats for each
player.

10
8.Emerging Trends: Highlight emerging trends and future directions in the online watch
retail sector based on insights from the literature survey. Discuss potential disruptors, innovative
business models, and technological advancements shaping the future of the industry.

9.Gap Identification: Identify gaps in the existing literature and areas for further research
within the online watch retail domain. Propose potential research questions or hypotheses to
address these gaps and contribute to the advancement of knowledge in the field.

10.Implications for Practice: Provide actionable insights and recommendations for online
watch retailers based on the findings of the literature survey. Offer strategic guidance on how to
leverage emerging trends, enhance customer trust, and differentiate themselves in the
competitive online marketplace.

11
2.5 Project Scope and Limitations

1.Geographical Focus: Limit the scope to a specific region or market segment to ensure
depth of analysis within a manageable scope. For instance, focusing solely on online watch stores
in a particular country or continent rather than attempting to cover the global market.

2.Time Frame: Restrict the analysis to a specific time frame to maintain relevance and
manage the volume of data. For example, focusing on online watch store trends and dynamics
over the past five years rather than attempting to cover the entire history of the industry.

3.Product Categories: Narrow down the focus to specific types of watches or brands within
the online watch market. For instance, concentrating on luxury watch brands or niche categories
like smartwatches rather than attempting to cover all types of watches.

4.Consumer Segmentation: Limit the analysis to specific consumer segments or


demographics to tailor insights to the target audience. For example, focusing on millennials or
affluent consumers rather than attempting to generalize across all demographics.

5.Research Methods: Define specific research methods and approaches within the scope of
the project. For instance, focusing on qualitative research methods such as interviews or case
studies rather than attempting to conduct a comprehensive quantitative analysis.

6.Technological Considerations: Recognize limitations in technological capabilities and


infrastructure that may impact the scope of the project. For example, focusing on online watch
stores that have advanced technological features such as virtual try-on capabilities rather than
attempting to cover all online watch stores.

7.Language Limitations: Acknowledge language barriers that may restrict access to relevant
literature and data sources. For example, focusing on English-language publications and sources
rather than attempting to include research from multiple languages.

8.Legal and Ethical Constraints: Consider legal and ethical constraints that may limit the
scope of research, such as data privacy regulations or intellectual property rights. For example,
ensuring compliance with GDPR regulations when collecting and analyzing consumer data from
online watch stores.

12
9.Resource Constraints: Recognize limitations in terms of time, budget, and expertise that
may impact the scope of the project. For example, focusing on research questions that can be
addressed within the available resources rather than attempting to cover a broad range of topics.

10.External Factors: Consider external factors such as market volatility, economic


conditions, and industry disruptions that may impact the scope of the project. For example,
acknowledging the impact of the COVID-19 pandemic on consumer behavior and online retail
trends.

13
3) System Analysis:
3.1) Existing System:

The study of existing system deals with the work needed to carry out preliminary
investigation.The study of system can be performed only on the existing system. Previously the
account maintained manually. It take long time, It invokes highest cost If account books are
missed it is difficult to retrieve the data. In existing system the data are maintained manually.So
the retreiving the information is very slow and also it requires lot of manpower to the organize
the data and to consolidate the report. Drawbacks of existing system

3.2) Scope and Limitations of Existing System:

1.Limited Product Range: Existing systems may have a restricted selection of watches,
potentially omitting niche brands or specialty timepieces, which could limit customer choice and
satisfaction.

2.Lack of Personalization: Many online watch stores may not offer personalized
recommendations or tailored experiences based on individual preferences, leading to a generic
shopping experience that may not fully meet customer needs.

3.Inadequate Authentication Measures: Some online watch stores may lack robust
authentication measures to verify the authenticity of watches, increasing the risk of counterfeit
products being sold and undermining customer trust.

14
4.Poor User Experience: Existing systems may suffer from usability issues, such as
complicated navigation, slow loading times, or a lack of mobile optimization, which could
frustrate customers and deter them from completing purchases.

5.Limited Customer Support: Online watch stores may have limited customer support
options, such as slow response times or restricted communication channels, which could hinder
customer satisfaction and resolution of issues.

6.Data Privacy Concerns: Existing systems may not adequately protect customer data,
potentially exposing sensitive information to security breaches or unauthorized access, leading to
privacy concerns and regulatory compliance risks.

15
3.3) Project perspective, features, stakeholders:
Features:
 Employee:-
 Registration
 Login
 Customers details

 Admin:-
 Login
 Manage watch rate
 Manage staff

Stakeholders:

Stakeholders are individuals, groups, or parties that have an interest in an organization and the
outcomes of its actions. In a cafe, stakeholders can include:

Customers, Employees, Suppliers, Competitors, Local communities.

16
3.4) Requirement Analysis:

An online watch store necessitates an intuitive interface, efficient product management, strong
security measures, responsive design, diverse payment options, customer account features,
streamlined order fulfillment, multi-channel customer support, a review and rating system,
analytics for performance tracking, SEO and marketing integration, compliance with regulations,
inventory management, seamless integration with shipping carriers, efficient customer
communication, personalized recommendations, social media integration, mobile app
accessibility, continuous website optimization, regular security updates, effective marketing
strategies, sustainable business practices, warranty and return policies, detailed product
descriptions and specifications, high-quality images, informative blog content, community
engagement, collaboration with influencers and brand ambassadors, exclusive promotions and
discounts, user-friendly search functionality, transparent and trustworthy brand reputation,
environmental sustainability, ethically-produced materials, customization options, collaboration
with watchmakers, virtual events, educational resources on horology, a user-friendly mobile
experience, and continuous innovation.

3.4.1) Functional Analysis:

The online watch store must prioritize an intuitive user interface for easy navigation. Efficient
product management ensures accurate listings and updates. Robust security measures protect
customer data. Responsive design ensures compatibility across devices. Multiple secure payment
options offer flexibility. Customer accounts enable order tracking and preferences management.
Streamlined order fulfillment ensures timely delivery. Multi-channel customer support provides
prompt assistance. A review system builds trust. Analytics track performance, while SEO and
marketing integration boost visibility. Compliance with regulations safeguards customer rights
and data privacy.

17
3.4.2) Performance Analysis:

The performance of an online watch store is crucial for its success in providing a seamless and
satisfying shopping experience to customers. Key metrics such as website speed, uptime, and
responsiveness play a significant role in determining overall performance. A fast-loading website
is essential to prevent user frustration and bounce rates, ensuring that customers can quickly
browse through watch listings and complete transactions without delays. Additionally,
maintaining high uptime is critical to prevent downtime and disruptions in service, which can
lead to lost sales opportunities and damage to the brand’s reputation. Responsiveness across
different devices and screen sizes is also vital to accommodate the diverse preferences of users
and provide a consistent experience.

3.4.3) Security Analysis:

“A comprehensive security analysis of an online watch store encompasses various crucial


elements. This includes ensuring secure connections through HTTPS, robust payment security
measures adhering to PCI DSS compliance, and encryption of sensitive user data. Authentication
and authorization mechanisms should be strong, with provisions for multi-factor authentication
and strict access controls. Regular vulnerability assessments, secure hosting, and adherence to
secure coding practices are essential for mitigating risks like SQL injection and cross-site
scripting. Compliance with privacy regulations such as GDPR, coupled with an effective incident
response plan, ensures the protection of user data and timely mitigation of security incidents.
Continuous user awareness and training further fortify the defense against evolving cyber
threats.”

18
4)Implementation Details:
4.1) *Software and Hardware Requirements:

Software Requirement

Operating System Microsoft windows

Software :-

Front –End Software Html,php(wampserver)

Back-End Software Php,mysql

Hardware Requirement

Processer : Intel core i3 1.80GHZ

RAM : 2GB or More

Monitor : LCD monitor

Keyboard : Normal keyboard

Mouse : Compatible mouse

19
5) System Design:
5.1) Design Constraints

A) Erd Diagram:-

20
5.3.1) Data Flow Diagram:

0 level dfd

21
Level 1:

22
5.3.2) Data Model:
Class Diagram:-

23
B) Use Case Diagram:-

*Use Case Customer

24
*Use Case Administrator:

25
D)Sequence Diagram Administrator:-

26
* Sequenced Diagram customer:-

27
E) Activity Diagram:-

28
F)Component Diagram:-

29
4.3) UserInterface

30
4.3.1) About Page:-

31
4.3.2) Products.html:-

32
4.3.3) Info.html:-

33
4.3.4) Customer.php:-

34
4.3.5) Emp.php:-

35
4.3.6) Bill.php:-

36
4.3.7) Login.php:-

37
4.3.8) Product.php:-

38
Code:

*Customer.php

<html>

<head>

<!-- Basic -->

<meta charset="utf-8" />

<meta http-equiv="X-UA-Compatible" content="IE=edge" />

<!-- Mobile Metas -->

<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />

<!-- Site Metas -->

<link rel="icon" href="../images/fevicon/fevicon.png" type="image/gif" />

<meta name="keywords" content="" />

<meta name="description" content="" />

<meta name="author" content="" />

<title>HandTime</title>

<!-- bootstrap core css -->

<link rel="stylesheet" type="text/css" href="../css/bootstrap.css" />

<!-- fonts style -->

<link href="https://fonts.googleapis.com/css2?
family=Roboto:wght@400;500;700;900&display=swap" rel="stylesheet">

<!-- font awesome style -->

39
<link href="../css/font-awesome.min.css" rel="stylesheet" />

<!-- Custom styles for this template -->

<link href="../css/style.css" rel="stylesheet" />

<!-- responsive style -->

<link href="../css/responsive.css" rel="stylesheet" />

</head>

<body>

<form method="POST" action="<?php echo $_SERVER['PHP_SELF'];?>">

Enter coustomer Id<input type="num" name="n1"></input><br></br>

Enter Name<input type="text" name="n2"><br></input><br></br>

Enter Gender<input type="text" name="n3"><br></input><br></br>

<input type="submit"></input>

</form>

<?php

$host ="localhost";

$user ="root";

$pass ="";

$db ="watch";

$conn = mysqli_connect($host,$user,$pass,$db);

40
if($_SERVER["REQUEST_METHOD"]=="POST")

$id = $_POST['n1'];

$name = $_POST['n2'];

$gender = $_POST['n3'];

$sql = "insert into coustomer(id,name,gender)values(".$id." ,'".$name."','".


$gender."')";

$result = $conn->query($sql);

if($result)

echo "Registered";

else

echo "Unable to register";

?>

<section class="footer_section">

<div class="container">

<p>

41
&copy; <span id="displayYear"></span> All Rights Reserved By

<a href="https://html.design/">Free Html Templates</a>

</p>

</div>

</section>

<!-- footer section -->

<!-- jQery -->

<script type="text/javascript" src="js/jquery-3.4.1.min.js"></script>

<!-- popper js -->

<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
integrity="sha384-
Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous">

</script>

<!-- bootstrap js -->

<script type="text/javascript" src="js/bootstrap.js"></script>

<!-- custom js -->

<script type="text/javascript" src="js/custom.js"></script>

<!-- Google Map -->

<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCh39n5U-
4IoWpsVGUHWdqB6puEkhRLdmI&callback=myMap">

</script>

42
<!-- End Google Map -->

</body>

</html>

*Emp.php

<html>

<head>

<!-- Basic -->

<meta charset="utf-8" />

<meta http-equiv="X-UA-Compatible" content="IE=edge" />

<!-- Mobile Metas -->

<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />

<!-- Site Metas -->

<link rel="icon" href="../images/fevicon/fevicon.png" type="image/gif" />

<meta name="keywords" content="" />

<meta name="description" content="" />

<meta name="author" content="" />

<title>HandTime</title>

<!-- bootstrap core css -->

<link rel="stylesheet" type="text/css" href="../css/bootstrap.css" />

<!-- fonts style -->

43
<link href="https://fonts.googleapis.com/css2?
family=Roboto:wght@400;500;700;900&display=swap" rel="stylesheet">

<!-- font awesome style -->

<link href="../css/font-awesome.min.css" rel="stylesheet" />

<!-- Custom styles for this template -->

<link href="../css/style.css" rel="stylesheet" />

<!-- responsive style -->

<link href="../css/responsive.css" rel="stylesheet" />

</head>

<body>

<form method="POST" action"=<?php echo $_SERVER['PHP_SELF'];?>">

Enter Number<input type="text" name="n1"><br/><br/></input>

Enter Name<input type="text" name="n2"><br/><br/></input>

Enter Designation<input type="text" name="n3"><br/><br/></input>

<input type="submit"></input>

</form>

<?php

$host ="localhost";

$user ="root";

$pass ="";

$db ="watch";

44
$conn = mysqli_connect($host,$user,$pass,$db);

if($_SERVER["REQUEST_METHOD"]=="POST")

$emp_no= $_POST['n1'];

$name = $_POST['n2'];

$designation = $_POST['n3'];

$sql = "insert into employee(emp_no,name,designation) values(".


$emp_no." ,'".$name."','".$designation."')";

echo $sql;

$result = $conn->query($sql);

if($result)

echo "Registered";

else

echo "Unable to register";

?>

45
<section class="footer_section">

<div class="container">

<p>

&copy; <span id="displayYear"></span> All Rights Reserved By

<a href="https://html.design/">Free Html Templates</a>

</p>

</div>

</section>

<!-- footer section -->

<!-- jQery -->

<script type="text/javascript" src="js/jquery-3.4.1.min.js"></script>

<!-- popper js -->

<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
integrity="sha384-
Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous">

</script>

<!-- bootstrap js -->

<script type="text/javascript" src="js/bootstrap.js"></script>

<!-- custom js -->

<script type="text/javascript" src="js/custom.js"></script>

<!-- Google Map -->

46
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCh39n5U-
4IoWpsVGUHWdqB6puEkhRLdmI&callback=myMap">

</script>

<!-- End Google Map -->

</body>

</html>

*Material.php

<html>

<body>

<form method="POST" action="<?php echo $_SERVER['PHP_SELF'];?>">

Ingredients<input type="text" name="n1"><br>

Id<input type="text" name="n2"><br>

Name<input type="text" name="n3"><br>

Weight<input type="text" name="n4"><br>

Next reorder<input type="date" name="n5"><br>

<input type="submit">

</form>

<?php

$host ="localhost";

47
$user ="root";

$pass ="";

$db ="expresso";

$conn = mysqli_connect($host,$user,$pass,$db);

if($_SERVER["REQUEST_METHOD"]=="POST")

$ingredients= $_POST['n1'];

$id = $_POST['n2'];

$name = $_POST['n3'];

$weight = $_POST['n4'];

$next_order = $_POST['n5'];

$sql = "insert into matariel(ingridients,id,name,weight) values('".


$ingredients."' , ".$id.",'".$name."',".$weight.")";

$result = $conn->query($sql);

if($result)

echo "Registered";

else

48
echo "Unable to register";

?>

</head>

</body>

*Invoice.php

<html>

<head>

<!-- Basic -->

<meta charset="utf-8" />

<meta http-equiv="X-UA-Compatible" content="IE=edge" />

<!-- Mobile Metas -->

<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />

<!-- Site Metas -->

<link rel="icon" href="../images/fevicon/fevicon.png" type="image/gif" />

<meta name="keywords" content="" />

<meta name="description" content="" />

<meta name="author" content="" />

<title>HandTime</title>

49
<!-- bootstrap core css -->

<link rel="stylesheet" type="text/css" href="../css/bootstrap.css" />

<!-- fonts style -->

<link href="https://fonts.googleapis.com/css2?
family=Roboto:wght@400;500;700;900&display=swap" rel="stylesheet">

<!-- font awesome style -->

<link href="../css/font-awesome.min.css" rel="stylesheet" />

<!-- Custom styles for this template -->

<link href="../css/style.css" rel="stylesheet" />

<!-- responsive style -->

<link href="../css/responsive.css" rel="stylesheet" />

</head>

<body>

<form method="POST" action"=<?php echo $_SERVER['PHP_SELF'];?>">

Enter Invoice number<input type="text" name="n1"></input><br></br>

Enter Total<input type="text" name="n2"></input><br></br>

Enter Date<input type="text" name="n3"></input><br></br>

<input type="submit"></input>

</form>

<?php

$host ="localhost";

50
$user ="root";

$pass ="";

$db ="watch";

$conn = mysqli_connect($host,$user,$pass,$db);

if($_SERVER["REQUEST_METHOD"]=="POST")

$in_no = $_POST['n1'];

$total = $_POST['n2'];

$date=$_POST['n3'];

$sql = "insert into invoice(in_no,total,date)values(".$in_no.",".$total.",".$date.")";

echo $sql;

$result = $conn->query($sql);

if($result)

echo "Registered";

else

echo "Unable to register";

51
}

?>

<section class="footer_section">

<div class="container">

<p>

&copy; <span id="displayYear"></span> All Rights Reserved By

<a href="https://html.design/">Free Html Templates</a>

</p>

</div>

</section>

<!-- footer section -->

<!-- jQery -->

<script type="text/javascript" src="js/jquery-3.4.1.min.js"></script>

<!-- popper js -->

<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
integrity="sha384-
Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous">

</script>

<!-- bootstrap js -->

<script type="text/javascript" src="js/bootstrap.js"></script>

<!-- custom js -->

52
<script type="text/javascript" src="js/custom.js"></script>

<!-- Google Map -->

<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCh39n5U-
4IoWpsVGUHWdqB6puEkhRLdmI&callback=myMap">

</script>

<!-- End Google Map -->

</body>

</html>

*Login.php

<html>

<head>

<!-- Basic -->

<meta charset="utf-8" />

<meta http-equiv="X-UA-Compatible" content="IE=edge" />

<!-- Mobile Metas -->

<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />

<!-- Site Metas -->

<link rel="icon" href="../images/fevicon/fevicon.png" type="image/gif" />

<meta name="keywords" content="" />

53
<meta name="description" content="" />

<meta name="author" content="" />

<title>HandTime</title>

<!-- bootstrap core css -->

<link rel="stylesheet" type="text/css" href="../css/bootstrap.css" />

<!-- fonts style -->

<link href="https://fonts.googleapis.com/css2?
family=Roboto:wght@400;500;700;900&display=swap" rel="stylesheet">

<!-- font awesome style -->

<link href="../css/font-awesome.min.css" rel="stylesheet" />

<!-- Custom styles for this template -->

<link href="../css/style.css" rel="stylesheet" />

<!-- responsive style -->

<link href="../css/responsive.css" rel="stylesheet" />

</head>

<body>

<center>

<div class="hero_area">

<!-- header section strats -->

<header class="header_section">

54
<div class="container-fluid">

<nav class="navbar navbar-expand-lg custom_nav-container ">

<a class="navbar-brand" href="index.html">

<span>

HandTime

</span>

</a>

</nav>

</div>

</header>

<form method="POST" action="<?php echo $_SERVER['PHP_SELF'];?>">

Enter Username: <input type="text" name="n1" required/><br/><br/>

Enter Password: <input type="text" name="n2"/><br/><br/>

Enter Id:<input type="text" name="n3"/><br/><br/>

enter Type:<input type="text" name="n4"/><br/><br/>

<input type="submit" value="Login"/>

</form>

<?php

$host ="localhost";

$user ="root";

$pass ="";

55
$db ="watch";

$conn = mysqli_connect($host,$user,$pass,$db);

if($_SERVER["REQUEST_METHOD"]=="POST")

$name = $_POST['n1'];

$password = $_POST['n2'];

$id=$_POST['n3'];

$type=$_POST['n4'];

$sql = "Select * from login where name='".$name."' and password='".$password."' and id='".
$id."' and type='".$type."'";

$result = $conn->query($sql);

if($result)

$output = $result->fetch_array();

if($output['type'] == 'user')

echo "welcome user..";

else if($output['type'] == 'admin')

56
echo "welcome admin..";

else

echo "<alert>Invalid Credentials</alert>";

?>

</div>

</center>

<section class="footer_section">

<div class="container">

<p>

&copy; <span id="displayYear"></span> All Rights Reserved By

<a href="https://html.design/">Free Html Templates</a>

</p>

</div>

</section>

<!-- footer section -->

57
<!-- jQery -->

<script type="text/javascript" src="js/jquery-3.4.1.min.js"></script>

<!-- popper js -->

<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
integrity="sha384-
Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous">

</script>

<!-- bootstrap js -->

<script type="text/javascript" src="js/bootstrap.js"></script>

<!-- custom js -->

<script type="text/javascript" src="js/custom.js"></script>

<!-- Google Map -->

<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCh39n5U-
4IoWpsVGUHWdqB6puEkhRLdmI&callback=myMap">

</script>

<!-- End Google Map -->

</body>

</html>

*Product.php

58
<html>

<head>

<!-- Basic -->

<meta charset="utf-8" />

<meta http-equiv="X-UA-Compatible" content="IE=edge" />

<!-- Mobile Metas -->

<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />

<!-- Site Metas -->

<link rel="icon" href="../images/fevicon/fevicon.png" type="image/gif" />

<meta name="keywords" content="" />

<meta name="description" content="" />

<meta name="author" content="" />

<title>HandTime</title>

<!-- bootstrap core css -->

<link rel="stylesheet" type="text/css" href="../css/bootstrap.css" />

<!-- fonts style -->

<link href="https://fonts.googleapis.com/css2?
family=Roboto:wght@400;500;700;900&display=swap" rel="stylesheet">

<!-- font awesome style -->

<link href="../css/font-awesome.min.css" rel="stylesheet" />

<!-- Custom styles for this template -->

<link href="../css/style.css" rel="stylesheet" />

59
<!-- responsive style -->

<link href="../css/responsive.css" rel="stylesheet" />

</head>

<body>

<form method="POST" action="<?php echo $_SERVER['PHP_SELF'];?>">

Enter Id<input type="text" name="n1"></input><br/><br/>

Enter Name<input type="text" name="n2"></input><br/><br/>

Enter Price<input type="text" name="n3"></input><br><br/>

Enter Type<input type="text" name="n4"></input><br><br/>

<input type="submit">

</form>

<?php

$host ="localhost";

$user ="root";

$pass ="";

$db ="watch";

$conn = mysqli_connect($host,$user,$pass,$db);

if($_SERVER["REQUEST_METHOD"]=="POST")

60
$id = $_POST['n1'];

$name = $_POST['n2'];

$price = $_POST['n3'];

$type = $_POST['n4'];

$sql = "insert into products(id,name,price,type) values(".$id." ,'".


$name."',".$price.",'".$type."')";

echo $sql;

$result = $conn->query($sql);

if($result)

echo "Registered";

else

echo "Unable to register";

?>

<section class="footer_section">

<div class="container">

<p>

&copy; <span id="displayYear"></span> All Rights Reserved By

61
<a href="https://html.design/">Free Html Templates</a>

</p>

</div>

</section>

<!-- footer section -->

<!-- jQery -->

<script type="text/javascript" src="js/jquery-3.4.1.min.js"></script>

<!-- popper js -->

<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
integrity="sha384-
Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous">

</script>

<!-- bootstrap js -->

<script type="text/javascript" src="js/bootstrap.js"></script>

<!-- custom js -->

<script type="text/javascript" src="js/custom.js"></script>

<!-- Google Map -->

<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCh39n5U-
4IoWpsVGUHWdqB6puEkhRLdmI&callback=myMap">

</script>

<!-- End Google Map -->

62
</body>

</html>

*Bill.php

<html>

<head>

<!-- Basic -->

<meta charset="utf-8" />

<meta http-equiv="X-UA-Compatible" content="IE=edge" />

<!-- Mobile Metas -->

<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />

<!-- Site Metas -->

<link rel="icon" href="../images/fevicon/fevicon.png" type="image/gif" />

<meta name="keywords" content="" />

<meta name="description" content="" />

<meta name="author" content="" />

<title>HandTime</title>

<!-- bootstrap core css -->

<link rel="stylesheet" type="text/css" href="../css/bootstrap.css" />

<!-- fonts style -->

63
<link href="https://fonts.googleapis.com/css2?
family=Roboto:wght@400;500;700;900&display=swap" rel="stylesheet">

<!-- font awesome style -->

<link href="../css/font-awesome.min.css" rel="stylesheet" />

<!-- Custom styles for this template -->

<link href="../css/style.css" rel="stylesheet" />

<!-- responsive style -->

<link href="../css/responsive.css" rel="stylesheet" />

</head>

<body>

<form method="POST" action="<?php echo $_SERVER['PHP_SELF'];?>">

Enter Transaction id<input type="text" name="n1"></input><br></br>

Enter Date<input type="text" name="n2"></input><br></br>

Enter Name<input type="text" name="n3"></input><br></br>

Enter Amount<input type="text" name="n4"></input><br></br>

<input type="submit"></input>

</form>

<?php

$host ="localhost";

$user ="root";

$pass ="";

64
$db ="watch";

$conn = mysqli_connect($host,$user,$pass,$db);

if($_SERVER["REQUEST_METHOD"]=="POST")

$id = $_POST['n1'];

$date= $_POST['n2'];

$name=$_POST['n3'];

$amount=$_POST['n4'];

$sql = "insert into transaction(id,date,name,amount)values(".$id." ,".$date.",'".$name."',".


$amount.")";

$result = $conn->query($sql);

if($result)

echo "Registered";

else

echo "Unable to register";

65
?>

<section class="footer_section">

<div class="container">

<p>

&copy; <span id="displayYear"></span> All Rights Reserved By

<a href="https://html.design/">Free Html Templates</a>

</p>

</div>

</section>

<!-- footer section -->

<!-- jQery -->

<script type="text/javascript" src="js/jquery-3.4.1.min.js"></script>

<!-- popper js -->

<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
integrity="sha384-
Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous">

</script>

<!-- bootstrap js -->

<script type="text/javascript" src="js/bootstrap.js"></script>

<!-- custom js -->

<script type="text/javascript" src="js/custom.js"></script>

66
<!-- Google Map -->

<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCh39n5U-
4IoWpsVGUHWdqB6puEkhRLdmI&callback=myMap">

</script>

<!-- End Google Map -->

</body>

</html>

6) Output and Report Testing:


6.1) Test Plan:

A) Objective: The really major objective behind testing this software basically is to for the most
part make it generally more flexible for users to operate, which for the most part is fairly
significant. And to essentially avoid really technical faults in the particularly particular program
in a subtle way. However, the software really is web based and here we for all intents and
purposes consider the software as an internet based and the testing will find out proper working
condition of software, demonstrating that objective: The actually major objective behind testing
this software kind of is to basically make it sort of more flexible for users to use, which literally
is fairly significant.

B) Project Overview:

A cafe management system is a simple application that can display a cafe's menu, calculate a
customer's bill, and maintain orders and inventory. Some cafe management systems are
developed using html,php and MySQL.

C) Assumptions:

67
I. while testing this software we assume that expected output will recur
II. there may be a chance of errors while testing functionalities under different environments.

D) Test Execution

Testing of this particular software is divided into two parts:

1. Black Box Testing / Data Validation Test Cases

2. White Box Testing/ Functional Validations Test Cases and Results

6.1.1) Black Box Testing / Data Validation Test Cases:

Black Box Testing is a software testing method in which the functionalities of software
applications are tested without having knowledge of internal code structure, implementation
details and internal paths. Black Box Testing mainly focuses on input and output of software
applications and it is entirely based on software requirements and specifications. It is also known
as Behavioral Testing.
A TEST CASE is a set of actions executed to verify a particular feature or functionality of your
software application. A Test Case contains test steps, test data, precondition, postcondition
developed for specific test scenario to verify any requirement. The test case includes specific
variables or conditions, using which a testing engineer can compare expected and actual results
to determine whether a software product is functioning as per the requirements of the customer

Test Case Type Description Test Step Expected Result Status

Functionality Databases must be Sign in with user’s Access should be


fetched and shown as credentials fetching permitted according to
per requirements. from database. whomever user is Pass
logged in.

Security Verify password rules Create a new The user’s password


are working password in will be accepted if it
accordance with rules. adheres to the rules. Pass

Usability Ensure all links are Have users click on Links will take users to
working properly. various links on the another web page
page according to the on- Pass
page URL.

68
6.1.2) White Box Testing/Functional Validity Test Cases and Results:

The White Box Testing is a type of testing technique that mainly examines program structure and
derives test data on the basis of program logic or code. It also referred to names like clear box
testing, open box testing, logic-driven testing or path driven testing or structural testing.

How Does White Box Testing Work?

The steps to perform this Testing mentioned as following in a specific order -

 Firstly, all feature, components, and programs to be tested, identified first.


 Create a flow graph and identify /plot all possible paths in the flow graph.
 Identification of all possible paths from the flow graph.
 Write test cases for every single path of the flow path.
 Execute, rinse and repeat test cases.

Benefits of this testing explained in the following manner -

 Required knowledge of the internals of the software under test to be tested.


 It allows a finding of hidden errors, to find internal errors because it checks and
works by internal functionality.
 It helps to find issues and optimize code to adopt different techniques of White Box
Testing to test a developed application or website.
 It requires internal knowledge to do testing that's why it helps in maximum coverage
of the code.

69
Test cases and result

I Process Detail step Expected result Pass/ fail/criteria Data input Referenc
D e
1 Login Type username Field is populated login
form in username
field
2 Type password Field is populated Password

70
into the
password field.
3 Click the login Website launches
button
4 Customer User enter Message: Enter only Pass details customer
details numeric value text character
in name text
field
5 User enter Message: Enter valid Message: Enter number
character in number valid number=pass
digit text field
6 User doesn’t Message: Enter valid Message: Enter Email-id
enter valid Email valid Email= pass
email
Product User save Message: Enter all Message: Enter all details
detail form incomplete fields field=pass
7
information

8 Bill Admin save Message: Enter valid Message: Valid number bill
character in number number entered by
digit text filed. user=pass
Admin save Message: Enter all Message: All field
incomplete fields successfully. enterby admin.=pass
information. .
Logout Click logout Redirects on login page Pass Logout
button
Session ends

7) Conclusion And Recommendations:

8) Future Scope:

71
9) Bibliography and References:

72

You might also like