KEMBAR78
Test Cases | PDF | Information Science | Computing
0% found this document useful (0 votes)
28 views9 pages

Test Cases

The document describes test cases for various functions of a system. It includes test cases for user management like registration and login of system and customer users. It also includes test cases for adding data to the system like registering products, categories, employees and sellers. The test cases validate correct and incorrect inputs and check for expected success and error messages on form submissions and logins.

Uploaded by

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

Test Cases

The document describes test cases for various functions of a system. It includes test cases for user management like registration and login of system and customer users. It also includes test cases for adding data to the system like registering products, categories, employees and sellers. The test cases validate correct and incorrect inputs and check for expected success and error messages on form submissions and logins.

Uploaded by

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

1.1.

Test cases
1.1.1. Functionality Testing
All functions in the application, database connection, forms used to enter data for submission,
editing, getting, or deleting information from users were tested.

1.1.1.1. Verify and Login of system users.

Module User Management (Admin, Seller, Driver)


Action Test ID Test Case Expected Output Actual Output Status
UV001 Not filling all Verification will not Verification was not Pass
required felids be allowed. And Error allowed. Error
Message Should Message Displayed
Display.
UV002 All required fields Verification will Verification was made Pass
Verify are filled with made and should and redirected to
User valid inputs redirect to relevant relevant access Page.
access Page.
UV003 Insert an invalid Verification will not Verification was not Pass
Verification code. be allowed. And Error allowed. Error
Message should Message Displayed
Display.
UL001 Not filling all Login will not be Login was not Pass
required felids allowed. And Error allowed. Error
Message should Message Displayed
Display.
UL002 All required fields Login will be allowed Login was allowed Pass
User
Login
are filled with and should redirect to and Redirected to
valid inputs Relevant access Page Relevant access Page.
UL003 All required fields Login will not be Login was not Pass
are filled with allowed. And Error allowed. Error
invalid inputs Message should Message Displayed
Display.
1.1.1.1. Register and Login of website customer users.

Module Customer User Management


Action Test ID Test Case Expected Output Actual Output Status
UR001 Not filling all Registration will not Registration was not Pass
required felids be allowed. And Error allowed. Error
Messages Should Messages Displayed
Display.
UR002 All required Registration will made Registration was made Pass
User
fields are filled and will be redirected and was redirected to
Registe
r with valid inputs to the email the verification page.
verification.
UR003 When username Registration will not Registration was not Pass
is already be allowed. And Error allowed. Error
registered Message should Message Displayed
Display.
UV004 Insert an invalid Verification will not Verification was not Pass
Verify Verification be allowed. And Error allowed. Error
User code. Message should Message Displayed
Display.
User UL004 Not filling all Login will not be Login was not Pass
Login required felids allowed. allowed.
UL005 All required Login will be allowed Login was allowed Pass
fields are filled and should redirect to and Redirected to
with valid inputs Website homepage Website homepage.
UL006 All required Login will not be Login was not Pass
fields are filled allowed. And Error allowed. Error
with invalid Message should Message Displayed
inputs Display.

1.1.1.2. Add Data to the system.

Module Product Management


Action Test ID Test Case Expected Output Actual Output Status
PC001 Not filling all Submission will not Submission was not Pass
required felids be allowed allowed
PC002 All required fields Submission will Submission was made Pass
are filled made and success and success message
message will be is displayed
displayed
PC003 Insert wrong inputs Submission will not Submission was not Pass
Product
Register such as existing be allowed, and allowed, and error
data error messages will message was
be displayed displayed
CR001 Select and open The sub category Sub category list was Pass
main category and list will be filtered filtered according to
sub category according to the the selected main
selected Main category.
category List
Module Products Management
Action Test ID Test Case Expected Output Actual Output Status
CC001 Not filling all Submission will not Submission was not Pass
required felids be allowed allowed
CC002 All required fields Submission will Submission was made Pass
are filled. made and success and success message
Category message will be is displayed
Register displayed
CC003 Insert wrong inputs Submission will not Submission was not Fail
such as existing be allowed, and allowed, but error
data error messages will message was not
be displayed displayed

Module Employees Management


Action Test ID Test Case Expected Output Actual Output Status
Employee EC001 Not filling all Submission will Submission was not Pass
Register required felids not be allowed allowed
EC002 All required fields Submission will Submission was made Pass
are filled with made and success and success message
valid data types message will be is displayed
displayed
EC003 All required fields Submission will Submission was not Pass
are filled with not be allowed, and allowed and a error
invalid data types error messages will message was
be displayed displayed
EC004 Insert wrong Submission will Submission was not Pass
inputs such as not be allowed, and allowed, and error
existing data error messages will message was
be displayed displayed
EC005 Insert Invalid files Submission will Submission was not Fail
for file inputs not be allowed, and allowed, but error
error messages will message was not
be displayed displayed

Module Sellers Management


Action Test ID Test Case Expected Output Actual Output Status
Sellers SC001 Not filling all Submission will not Submission was not Pass
Register required felids be allowed allowed
SC002 All required fields Submission will Submission was made Pass
are filled with made and success and success message
valid data types message will be is displayed
displayed
SC003 All required fields Submission will not Submission was not Pass
are filled with be allowed, and allowed and a warning
invalid data types warning messages message was
will be displayed displayed

SC004 Insert wrong inputs Submission will not Submission was not Pass
such as existing be allowed, and allowed, and error
data error messages will message was
be displayed displayed
SC005 When website An email will be Email was sent to the Pass
membership is sent to the registered email
selected registered email address with a
address with a verification code
verification code

1.1.1.3. Daily Order Processing.

Module Order Management


Action Test ID Test Case Expected Output Actual Output Status
OC001 Placing orders with Order submission Order submission Pass
an empty cart button will change button was changed as
as a navigation to a navigation to
products page products page
OC002 All required fields Order placement Order placement was Pass
Order are selected will be allowed and allowed and was
Placing will redirect to redirected to payment
payment gateway gateway
OC003 When the Order Order placement Order placement was Pass
placement time is will not be allowed, not allowed and an
passed and error message error message was
will be displayed displayed
Payment OC004 All required fields Payment will be Payment was Pass
are filled with successful and successful and
valid data. Confirmation mail Confirmation mail
will be sent was sent
OC005 All required fields Payment will not be Payment was not Pass
are filled with successful and successful and Order
invalid data. Order will be was cancelled
cancelled

Module Order Management


Action Test ID Test Case Expected Output Actual Output Status
OC007 Start Process Order status update Order status update Pass
without selecting will not be allowed was not allowed and
an employee and an error message an error message
will be displayed was displayed
OC008 Start Process after Order status will be Order status was Fail
selecting an updated to updated to
employee ‘processing’ with an ‘processing’ with an
employee assigned. employee assigned.
Order collection bills Order collection
will be opened for bills was not opened
Order print for print
Process
OC009 Start Deliver Order status update Order status update Pass
without selecting a will not be allowed was not allowed and
driver and an error message an error message
will be displayed was displayed
OC010 Start Deliver after Order status will be Order status was Pass
selecting a driver updated to ‘shipped updated to ‘shipped
with a driver with a driver
assigned. Order bills assigned. Order bills
will be opened for was opened for print
print
OC011 Use an Invalid QR Order Completion Order Completion Pass
code which is not and status update will and status update
generated from not be allowed and an was not allowed and
Shopee system error message will be an error message
displayed. was displayed.
OC012 Use a QR code Order Completion Order Completion Pass
which is not and status update will and status update
Order
Complete
generated for the not be allowed and an was not allowed and
selected order error message will be an error message
displayed. was displayed.
OC013 Use a valid QR Order Completion Order Completion Pass
code which is and status update will and status update
generated for the be allowed and a was allowed and a
selected order success message will success message was
be displayed. displayed.

1.1.1.1. Customer User Profile Update.

Module Customer Management


Action Test ID Test Case Expected Output Actual Output Status
CPC001 Input field is filled Contact number will Contact number was Pass
with invalid data not be updated and not updated and
format error message will be error message was
Update displayed displayed
Profile CPC002 Input field is filled Contact number will Contact number was Pass
with invalid data be updated and updated and success
format success message will message was
be displayed displayed
Update CPC003 Not filling all Submission will not Submission was not Pass
Location felids be allowed allowed
CPC004 All required fields Submission will be Submission was Pass
are filled with allowed allowed
valid data types
CPC005 Location is not Submission button Submission button Pass
marked on the map will not be displayed was not displayed

5.3.2 Security Testing


Security testing is performed to test the vulnerability of the system. Commonly focused on SQL
injections. This testing process was straightforward due to the utilization of centralized SQL
query processing functions within the system.

Data inserting

Test ID Test Case Expected Output Actual Output Status


UC001 Adding special Login will not be Login was not allowed Pass
characters which are allowed and the and the relevant error
used in SQL injections relevant error message was displayed
in the Login process message will be
displayed
UC002 Adding special Submission will be Submission was Pass
characters which are allowed after allowed after stopping
used in injections in the stopping any security any security issue.
data input felids issue.

You might also like