KEMBAR78
Gap Remove File | PDF | World Wide Web | Internet & Web
0% found this document useful (0 votes)
8 views27 pages

Gap Remove File

The document outlines the design and implementation of a Car Rental System, detailing its components such as functional and non-functional requirements, system architecture, and technologies used. It includes various diagrams like ER and schema diagrams, along with code snippets for key modules. The document also covers testing processes and the overall objectives of creating a user-friendly web-based platform for car rentals.

Uploaded by

Harsh Sahu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views27 pages

Gap Remove File

The document outlines the design and implementation of a Car Rental System, detailing its components such as functional and non-functional requirements, system architecture, and technologies used. It includes various diagrams like ER and schema diagrams, along with code snippets for key modules. The document also covers testing processes and the overall objectives of creating a user-friendly web-based platform for car rentals.

Uploaded by

Harsh Sahu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 27

LIST OF FIGURES

Sl NO TITLE PAGE NO
Figure 3.1 ER Diagram of Car Rental System 7
Figure 3.2 Schema Diagram of Car Rental System 8
Figure 3.3 Block Diagram of Car Rental System 10
Figure 3.4 Flow Chart of Car Rental System 11
Figure 4.1.1 Code Snippet of Connection Module 14
Figure 4.1.2 Code Snippet of Delete Car Module 14
Figure 4.1.3 Code Snippet of Uploading Car Image Module 15
Figure 4.1.4 Code Snippet of Approve Module 16
Figure 6.1 Screenshot of Home page 28
Figure 6.2 Screenshot of types of cars available 28
Figure 6.3 Screenshot of view your car page 29
Figure 6.4 Screenshot of location of your car page 29
Figure 6.5 Screenshot of features of your car page 30
Figure 6.6 Screenshot of contact us page 30
LIST OF TABLES

Sl NO TITLE PAGE NO
Table 5.1 Test Case for Login 18
Table 5.2 Test Case for Register 18
Table 5.3 Test Case for Payment 19
Table 5.4 Test Case for Booking 19
Table 5.5 Test Case for Feedback 19
TABLE OF CONTENTS

1. Introduction .............................................................................................................. Pg. No. 1


o 1.1 Background
o 1.2 Problem Statement
o 1.3 Objectives
o 1.4 Scope
2. Technologies Used ................................................................................................... Pg. No. 4
o 2.1 Front-End Technologies
o 2.2 Back-End Technologies
o 2.3 Additional Tools
3. Requirement Analysis and Specification ........................................................... Pg. No. 7
o 3.1 Functional Requirements
o 3.2 Non-Functional Requirements
o 3.3 Hardware Requirements
o 3.4 Software Requirements
4. System Design ......................................................................................................... Pg. No. 10
o 4.1 ER Diagram
o 4.2 Schema Diagram
o 4.3 Block Diagram
o 4.4 Flowchart
5. Implementation ...................................................................................................... Pg. No. 15
o 5.1 PHP Integration
o 5.2 Frontend and Backend Connectivity
o 5.3 Code Snippets for Key Modules
6. Testing ...................................................................................................................... Pg. No. 20
o 6.1 Testing Process
o 6.2 Unit Testing
o 6.3 Integration Testing
o 6.4 System Testing
o 6.5 Test Cases
7. Results and Discussion .......................................................................................... Pg. No. 25
o 7.1 Achievements
o 7.2 Feedback Analysis
o 7.3 Performance Metrics
8. Conclusion, Limitations, and Future Scope ..................................................... Pg. No. 30
o 8.1 Conclusion
o 8.2 Limitations
o 8.3 Future Scope
9. References ................................................................................................................. Pg. No. 35
o Online Documentation and Tools
o Relevant Websites and Resources
10. Appendices ............................................................................................................... Pg. No. 37
Screenshots of Key Pages
Database Tables and Queries
Chapter 1
Introduction

A database management system (DBMS) refers to the technology for creating and managing
databases. DBMS is a software tool to organise (create, retrieve, update and manage) data in
a database. The main aim of a DBMS is to supply a way to store up and retrieve database
information that is both convenient and efficient. By data, we mean known facts that can be
recorded and that have embedded meaning. Normally people use software such as DBASE
IV or V, Microsoft ACCESS, or EXCEL to store data in the form of a database. Database
systems are meant to handle a large collection of information. Management of data involves
both defining structures for the storage of information and providing mechanisms that can do
the manipulation that stored information. Moreover, the database system must ensure the
safety of the information stored, despite system crashes or attempts at unauthorized access.

1.1 Problem statement


In real world, not every person can afford their own personal car. A car rental is a vehicle that
can be used temporarily for a fee during a specified period. Getting a rental car helps people
get around despite the fact they do not have access to their own personal vehicle or don't own
a vehicle at all. The individual who needs a car must contact a rental car company and contract
out for a vehicle. This system increases customer retention and simplify vehicle and staff
management.

1.2 Objective

 To produce a web-based system that allow customer to register and reserve car online
and for the company to effectively manage their car rental business.
 To ease customer’s task whenever they need to rent a car.

 As all the system is computerised, there is no need to fill any application form for
renting purpose. So, the paperwork will be very less.
 To make sure a user gets his desire car as early as possible. The car rental system
will provide a faster response to complete the process.

1.4 SQL

SQL (Structured Query Language) is a standardised programming language that's used to


manage relational databases and perform various operations on the data in them. The uses
of SQL include modifying database table and index structures; adding, updating and deleting
rows of data; and retrieving subsets of information from within a database for transaction
processing and analytics applications. Queries and other SQL operations take the form of
commands written as statements -- commonly used SQL statements include select, add, insert,
update, delete, create, alter and truncate. MySQL is a popular choice of database for use in
web applications, and is a central component of the widely used LAMP open source web
application software stack (and other 'AMP' stacks).

1.5 PHP

PHP is a server-side scripting language designed for web development but also used as a
general-purpose programming language. PHP is now installed on more than 244 million
websites and 2.1 million web servers. Originally created by Rasmus Lerdorf in 1995, the
reference implementation of PHP is now produced by The PHP Group. While PHP
originally stood for Personal Home Page, it now stands for PHP: Hyper Text Preprocess
.PHP code is interpreted by a webserver with a PHP processor module, which generates the
resulting web page PHP commands can be embedded directly into an HTML source
document rather than calling an external file to process data. It has also evolved to include
a command-line interface capability and can be used in standalone graphical applications.
PHP is free software released under the PHP License. PHP can be deployed on most web
servers and also as a standalone shell on almost every operating system and platform, free
of charge .

1.6 HTML5

HTML5 is a markup language used for structuring and presenting content on the World
Wide Web. It is the fifth and last major HTML version that is a World Wide Web
Consortium (W3C) recommendation. The current specification is known as the HTML
Living Standard. It is maintained by the Web Hypertext Application Technology Workin
Group (WHATWG), a consortium of the major browser vendors (Apple, Google, Mozilla, and

Microsoft).

1.7 CSS3

Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of
a document written in a markup language such as HTML. CSS is a cornerstone technology of
the World Wide Web, alongside HTML and JavaScript. CSS is designed to enable the
separation of presentation and content, including layout, colors, and fonts. This separation can
improve content accessibility; provide more flexibility and control in the specification
of presentation characteristics; enable multiple web pages to share formatting by specifying
the relevant CSS in a separate .css file, which reduces complexity and repetition in the
structural content; and enable the .css file to be cached to improve the page load speed between
the pages that share the file and its formatting.

1.8 JAVASCRIPT

JavaScript(JS) is a dynamic computer programming language. It is most commonly used as


part of web browsers, whose implementations allow client side scripts to interact with the
user, control the browser, communicate asynchronously, and alter the document content that
is displayed. It is also being used in server-side programming, game development and the
creation of desktop and mobile applications. JavaScript is a prototype-based scripting
language with dynamic typing and has first-class functions. Its syntax was influenced by C.
The key design principles within JavaScript are taken from the Self and Scheme
programming languages. It is a multiparadigm language, supporting object-oriented,
imperative, and functional programming styles.

1.9 APACHE WEB SERVER

In this project apache server is used to parse and execute PHP pages, before deploying
websites on the server, the website should be tested at the developer side to get a feel of how
the website will work on actual server. Therefore apache server is like a local server on the
developer side, apache server should be informed about the environment on which it should
work. In our project apache server is configured to work with PHP, in this way all the PHP
pages are parsed and executed by the server. When apache is installed on the system, then it
services is controlled by apache service monitor.
Chapter 2
Technologies Used

2.1 Functional Requirements Car Rental System

These are statements of services the system should provide, how the system should react to
particular inputs and how the system should behave in particular situations. In some cases, the
functional requirements may also explicitly state what the system should not do. The
functional requirements for a system describe what the system should do. These requirements
depend on the type of software being developed, the expected users of the software and the
general approach taken by the organization when writing requirements.
When expressed as user requirements, the requirements are usually described abstractly.
However, functional system requirements describe the system function in detail, its inputs
and outputs, exceptions, and so on. Functional requirements for a software system may be
expressed in several ways.

The functional requirements of CAR RENTAL SYSTEM is as follow:

Register Module:

The user needs to provide their first name, last name, email, license number, phone
number, password, confirm password, gender for registration.
These details will be stored in database.

Login Module:

For login user will input their email and password .


Admin will provide their admin id and password which will compared with a
database content.

Booking Module:

User can view the list of cars. The booking details of cars are provided by the admin.
User can select their preferred car and book for the same.

Payment Module:

User should able to make payment by filling card number, expiry date and CVV are provided
by the admin.
After payment user will get the payment successful popup window.

Logout Module:

The system should allow user to logout .


The system should also allow admin to logout.

Hardware Requirements

Processor : Intel i3/i5/1.8GHz machine or above


Primary memory : 4 GB RAM or above
Hard disk drive : 1 TB or greater

Software Requirements

Operating System : Windows 7 or higher


Front End : HTML5,CSS3,JavaScript
Back End : PHP, SQL
Frame work : Bootstrap
Software : Visual Studio Code, XAMPP

2.2 Non-Functional Requirements of Car Rental System

Non-functional requirements are requirements that are not directly concerned with the specific
functions delivered by the system. They may relate to emergent system properties such as
reliability, response time and store occupancy. Alternatively, they may define constraints on
the system such as the capabilities of I/O devices and the data representations used in system
interfaces. The plan for implementing functional requirements is detailed in the system design.
The plan for implementing non-functional requirements is detailed in the system architecture.
Non-functional requirements are often called qualities of a system.
Other terms for non-functional requirements are "constraints", "quality attributes", "quality
goals", "quality of service requirements" and "non-behavioral requirements". Qualities, that
are non-functional requirements, can be divided into two main categories: Execution
qualities, such as security and usability, which are observable at run time.
Security:

The system should provide a high level of security and integrity of the data held by
the system , only authorized personnel of the company can gain access to the
company’s secured page on the system.
System provides security for the admin by allowing them to enter into the account
with their respective ID and password.
A user can only enter to their account by using their email and password. Only admin
have privileges to update database contents which are used by the user.

Performance:

The system should have high performance rate when executing user’s input and should
be able to provide feedback or response within a short time span usually 50 seconds for
highly complicated task and 20 to 25 seconds for less complicated task. The system
provides user friendly interface, any common people with little knowledge can use
the system.
System is robust, reliable and fast, provides more efficiency.

Reliability:

It is the probability and percentage of the system performing without any failure for
a specific number of uses or amount of time.
Car rental system provides reliable interface as it provides data security and data
safety.
User can rely on the details present in the system, since it is provided by the admin.

Consistency:

The car rental system provides consistency services, by retaining the data present in the
database.
The user gets the details that are only provided by the admin, thus achieving
correctness of data in the database.
Chapter 3
Plan Of Work

System Design process partitions the system into subsystems based on the requirements. It
establishes overall system architecture and is concerned with identifying various
components, specifying relationships among components, specifying software structure,
maintaining a record of design decisions and providing a blue print for the implementation
phase.

3.1 ER DIAGRAM

ER Diagram stands for Entity Relationship Diagram, also known as ERD is a diagram that
displays the relationship of entity sets stored in a database. In other words, ER diagrams help
to explain the logical structure of databases. ER diagrams are created based on three basic
concepts: entities, attributes and relationships.ER Diagrams contain different symbols that use
rectangles to represent entities, ovals to define attributes and diamond shapes to represent
relationships.

Figure 3.1 ER Diagram of Car Rental System


In the Figure 3.1, there are total 6 entities namely Admin, User, Car, Booking, Payment and
Feedback Details. We took a relation APPROVE as a relationship between Admin and
Booking entity with 1:N cardinality ratio because One admin can approve many booking. User
entity has relationship DOES with Booking entity with N:M cardinality ratio since many users
can does many bookings. The relation User has M:N relationship named GIVES with
Feedback because Many user can give many feedbacks. Car has N:M relationship with
Booking entity as RENTS. Since car can have N bookings. Booking Details has 1:1
relationship between Payment .In our ER diagram the relation Booking and Payment is total
participation and relation admin and booking, relation user and booking, relation user and
feedback, relation car and booking are partial participation.

3.2 SCHEMA DIAGRAM

The design of the database is called a schema. This tells us about the structural view of the
database. It gives us an overall description of the database. A database schema defines how
the data is organized using the schema diagram. A schema diagram is a diagram which
contains entities and the attributes that will define that schema. A schema diagram only
shows us the database design. It does not show the actual data of the database. Schema can
be a single table or it can have more than one table which is related. The schema represents
the relationship between these tables.

Figure 3.2 Schema Diagram of Car Rental System


3.2.1 DESCRIPTION OF TABLES

The database consists of six tables:

1. ADMIN: It stores the details of admin.


ADMIN_ID : User name of the admin.
ADMIN_PASSWORD: Password of the Admin.
2. CAR: It gives the details about the car.
CAR_ID : Id given to car done by auto increment.
CAR_NAME: Name of the car.
CAPACITY: Seat capacity.
AVAILABLE: Availability of car.
PRICE: Price of the car.

3. USER: It stores the details of user.


FNAME: first name of user.
LNAME: Last name of user.
EMAIL: Email of user.
PASSWORD: Password of user.
GENDER: Gender of user.
PHONE: Phone number of user.
LIC_NUMBER: License no of user.
4. BOOKING: It give the booking details for user.
BOOK_ID: Booking id done by auto increment.
BOOK_PLACE: Place of booking.
BOOK_DATE: Date of booking.
PRICE: Price of car.
DESTINATION: Destination.
RETURN_DATE: Return date.
CAR_ID: Id given to car and foreign key car associated with booking.
EMAIL: Email of user and foreign key of user associated with booking
5. PAYMENT: It provides payment option for users.
PAYMENT_ID: Id given to payment and done by auto increment.
CARD_NO: Card number.
EXP_DATE: Expiry Date of card.
CVV: CVV of card.
PRICE: Price of car.
BOOK_ID: Id given to booking and foreign key of booking associated with payment.
6. FEEDBACK: It provides user to give their feedback.
FEED_ID: id given to the feedback done by auto increment.
COMMENT: Message about their experience.
EMAIL: Email of user and foreign key of user associated with feedback.

3.3 BLOCK DIAGRAM

A Block diagram is a diagram of a system in which the principal parts or functions are
represented by blocks connected by lines that show the relationships of the blocks. They are
heavily used in engineering in hardware design, electronic design, software design, and
diagrams. Block diagrams are typically used for higher level, less detailed descriptions that
are intended to clarify overall concepts without concern for the details of implementation.
Contrast this with the schematic diagrams and layout diagrams used in electrical
engineering, which show the implementation details of electrical components and physical
construction .

Figure 3.3 Block Diagram of Car Rental System


In the Figure 3.3, the user and admin register themselves by providing their credentials.
These credentials are stored in the database. During the login phase, the user and admin
details are verified with the data present in the database. After verification, the authentic user
can only be allowed to enter and perform necessary operations. These operations include
fetching data from the database like adding/updating the car and booking details. The users
are allowed to see available cars and can done booking of cars and payment for their booked
cars. All these operations are performed on the database and are updated
accordingly. After all the intended operations are completed, the user can log out. The details
will be present in the database for the next time the user logs in.

3.4 Flowchart

A flowchart is a diagram that depicts a process, system or computer algorithm. They are widely
used in multiple fields to document, study, plan, improve and communicate often complex
processes in clear, easy-to-understand diagrams. Flowcharts, sometimes spelled as flow charts,
use rectangles, ovals, diamonds and potentially numerous other shapes to define the type of
step, along with connecting arrows to define flow and sequence. They can range from simple,
hand drawn charts to comprehensive computer-drawn diagrams depicting multiple steps and
routes.

Figure 3.4 Flow Chart of Car Rental System


In the Figure 3.4 the user/admin enters his credentials for registration and later logins. If the
login credentials are correct and authentic, he is redirected to his web page. If an admin is an
authorized user, he is given the privilege of adding, updating the car, booking, payment
details. If an authentic user logs in, he gets the details of car and other related details, then
he can view list of cars then he can book car by providing valid details then he can get the
booking status of booked status of after making payment. After performing all the
operations, the user and admin can save and log out.
Chapter 4
Methodology

PHP: Hypertext Pre-processor (or simply PHP) is a server-side scripting language designed
for web development, and also used as a general-purpose programming language. PHP code
may be embedded into HTML code, or it can be used in combination with various web
template systems, web content management systems, and web frameworks. PHP code is
usually processed by a PHP interpreter implemented as a module in the web server or as a
Common Gateway Interface (CGI) executable. The web server combines the results of the
interpreted and executed PHP code, which may be any type of data, including images, with
the generated web page. PHP code may also be executed with a command-line interface (CLI)
and can be used to implement standalone graphical applications.

This project uses HTML as front-end tool. Hypertext Mark-up Language (HTML) is the
standard mark-up language for creating web pages and web applications. With Cascading
Style Sheets (CSS) and JavaScript, it forms a triad of cornerstone technologies for the world
wide web. Web browser receive HTML documents from a web server or from local storage
and render the documents into multimedia web pages.HTML describes the structure of a web
page semantically and originally included cues for the appearance of the document.HTML
elements are the building blocks of HTML pages. With HTML constructs, images and other
objects such as interactive forms may be embedded into the rendered page.HTML provides
a means to create structured documents by structural semantics for text such as headings,
paragraphs, lists, links, quotes and other items.HTML elements are delineated by tags, written
using angle brackets. Browsers do not display the HTML tags, but use them to interrupt the
content of the page.

4.1 Code Snippet

Snippet is a programming term for a small region of re-usable code, machine code or text.
Ordinarily, these are formally defined operative units to incorporate into large programming
modules.

These are few codes written in PHP that includes a database access to fetch, update or delete
the data stored and display these data in the website where required. We have also ensured

to make sure the backend implementation is free from SQL injection attacks by escaping the
query values.

<?php
mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT);
$con = mysqli_connect('localhost','root','','carproject');
if(!$con)
{
echo 'please check your Database connection';
}
?>

Figure 4.1.1 Code Snippet of Connection module

Figure 4.1.1 Code snippet is used for connect to the SQL server. This required because other
code snippet to connect to the database and then access the data. If the connection fails, it
throws an error.

<?php

require_once('connection.php');
$carid=$_GET['id'];
$sql="DELETE from cars where CAR_ID=$carid";
$result=mysqli_query($con,$sql);

echo '<script>alert("CAR DELETED SUCCESFULLY")</script>';


echo '<script> window.location.href = "adminvehicle.php";</script>';

?>
Figure 4.1.2 Code Snippet of Delete Car Module

Figure 4.1.2 Code snippet indicates the code for the deletion of the car. Only the admin can
delete the car.

<?php
if(isset($_POST['addcar']) ){
require_once('connection.php');
echo "<prev>";
print_r($_FILES['image']);
echo "</prev>";
$img_name= $_FILES['image']['name'];
$tmp_name= $_FILES['image']['tmp_name'];
$error= $_FILES['image']['error'];
if($error === 0){
$img_ex = pathinfo($img_name,PATHINFO_EXTENSION);
$img_ex_lc= strtolower($img_ex);
$allowed_exs = array("jpg","jpeg","png","webp","svg");
if(in_array($img_ex_lc,$allowed_exs)){
$new_img_name=uniqid("IMG-",true).'.'.$img_ex_lc;
$img_upload_path='images/'.$new_img_name;
move_uploaded_file($tmp_name,$img_upload_path);
$carname=mysqli_real_escape_string($con,$_POST[‘carname’]);
$ftype=mysqli_real_escape_string($con,$_POST['ftype']);
$capacity=mysqli_real_escape_string($con,$_POST['capacity']);
$price=mysqli_real_escape_string($con,$_POST['price']);
$available="Y";
$query="INSERT INTO
cars(CAR_NAME,FUEL_TYPE,CAPACITY,PRICE,CAR_IMG,AVAILABLE)
values('$carname','$ftype',$capacity,$price,'$new_img_name','$available'
)";
$res=mysqli_query($con,$query);
if($res){
echo '<script>alert("New Car Added
Successfully!!")</script>';
echo '<script> window.location.href =
"adminvehicle.php";</script>'; }
}else{
$em = "You cant upload files of this type";
header("Location: addcar.php?error=$em");
}
}
else{
$em="unknown error occured";
header("Location: addcar.php?error=$em");
}
}
else{
}?>

echo "false";

Figure 4.1.3 Code snippet indicates the code for the adding the car image from the admin and shows it to
user.

<?php

require_once('connection.php');
$bookid=$_GET['id'];
$sql="SELECT *from booking where BOOK_Id=$bookid";
$result=mysqli_query($con,$sql);
$res = mysqli_fetch_assoc($result);
$car_id=$res['CAR_ID'];
$sql2="SELECT *from cars where CAR_ID=$car_id";
$carres=mysqli_query($con,$sql2);
$carresult = mysqli_fetch_assoc($carres);
if($carresult['AVAILABLE']=='Y')
{
if($res['BOOK_STATUS']=='APPROVED')
{
echo '<script>alert("ALREADY APPROVED")</script>';
echo '<script> window.location.href = "adminbook.php";</script>';
}
else{
$query="UPDATE booking set BOOK_STATUS='APPROVED' where
BOOK_ID=$bookid";
$queryy=mysqli_query($con,$query);
$sql2="UPDATE cars set AVAILABLE='N' where CAR_ID=$res[CAR_ID]";
$query2=mysqli_query($con,$sql2);
echo '<script>alert("APPROVED SUCCESSFULLY")</script>';
echo '<script> window.location.href = "adminbook.php";</script>';
}
}
else{
echo '<script>alert("CAR IS NOT AVAILABLE")</script>';
echo '<script> window.location.href = "adminbook.php";</script>';
} a
?>
Figure 4.1.4 Code Snippet of Approve Module

Figure 4.1.4 Code snippet indicates the code for approving the car registered by the user and
sends confirmation email to user.
Chapter 5
Result & Discussion
Software testing is the process of used to identify the correctness, security, completeness
and quality of developed computer software. This includes the process of executing the
program or applications with the intent of finding errors. An individual unit, functions or
procedures of developed project is verified and validated and these units are fit for use.

5.1 Testing process

Best testing process is to test each subsystem separately, as we have done in project. Best done
during implementation. Best done after small sub-steps of the implementation rather than large
chunks. Once each lowest level unit has been tested, units are combined with related units and
retested in combination. This proceeds hierarchically bottom-up until the entire system is
tested as a whole. Typical levels of testing:

Module- package, abstract data type, class.


Sub-system- collection of related modules, cluster of classes, method-message paths.
Acceptance testing- whole system with real data (involve customer, user)

Alpha testing is acceptance testing with a single client (common for bespoke systems).

Beta testing involves distributing system to potential customers to use and provide feedback.
In this project, beta testing has been followed. This exposes system to situations and errors
that might not be anticipated by us.

5.1.1 Unit testing

Unit testing is the process of testing individual software components unit or modules. Since
it needs the detailed knowledge of the internal program design and code this task is done by
the programmer and not by testers.

5.1.2 Integration Testing


Integration testing is another aspect of testing that is generally done in order to uncover errors
associated with the flow of data across interfaces. The unit-tested modules are grouped together
and tested in small segment, which makes it easier to isolate and correct errors. This approach
is continued until we have integrated all modules to form the system as a whole.
After the completion of each module it has been combined with the remaining module to ensure
that the project is working properly as expected.
5.1.3 System Testing
System testing tests a completely integrated system to verify that it meets its requirements.
After the completion of the entire module they are combined together to test whether the entire
project is working properly.
5.2 Test Cases
A Test Case is a software testing document, which consists of events, action, input, output,
expected result and actual result. Technically a test case includes test description, procedure,
expected result and remarks. Test cases should be based primarily on the software
requirements and developed to verify correct functionality and to establish conditions that
reveal potential errors.

Test cases no Test Case Expected results Status


1 Logging into website Email and password Successful
provided correct
2 Logging into website Email incorrect Unsuccessful

3 Logging into website Password Incorrect Unsuccessful

4 Logging into website Any field left empty Unsuccessful

Table 5.1 Test Case for Login


Table 5.1 represents the test case for login module. It shows both successful and
unsuccessful results for the test cases.

Test cases no Test Case Expected results Status


1 Registration for new All details provided Successful
user correctly
2 Registration for new Any one field is incorrect Unsuccessful
user
3 Registration for new Any field left empty Unsuccessful
user

Table 5.2 Test Case for Signup

Table 5.2 represents the test case for sign up module. It shows both successful and
unsuccessful results for the test cases.

Test cases no Test Case Expected results Status


1 Payment All details provided Successful
correctly
2 Payment Any one field is Unsuccessful
incorrect
3 Payment Any field left empty Unsuccessful

Table 5.3 Test Case for Payment

Table 5.3 represents the test case for Payment module. It shows both successful and
unsuccessful results for the test cases.

Test cases no Test Case Expected results Status


1 Booking All details provided Successful
correctly
2 Booking Any one field is Unsuccessful
incorrect
3 Booking Any field left empty Unsuccessful

Table 5.4 Test Case for Booking

Table 5.4 represents the test case for Booking module. It shows both successful and
unsuccessful results for the test cases.

Test cases no Test Case Expected results Status

1 Feedback All details provided Successful


correctly
2 Feedback Any one field is Unsuccessful
incorrect
3 Feedback Any field left empty Unsuccessful

Table 5.5 Test Case for Feedback

Table 5.5 represents the test case for Feedback module. It shows both successful and
unsuccessful results for the test cases.
Chapter 6
Screenshot

Fig 6.1 home page

fig 6.2 types of cars available


Fig 6.3 view your car

Fig 6.4 location of your car


Fig 6.5 features of your car

Fig 6.6 contact us page


Chapter 7
CONCLUSION

Online Car Rental Management System is user-friendly and customized software for car
renting company. Online Car Rental Management System has been developed to manage and
automate the overall processing of any large car renting company. Online Car Rental
Management System project is capable of managing cars, booking, feedbacks, payment etc.
It is a user friendly and customized software for providing support for company admin. This
project is a very flexible software and it can be upgraded according to the individual needs.

You might also like