Testing LAB DA1
Testing LAB DA1
Slot: L49+L50
Design Test Cases and record the test results in the Test Matrix Table
Test Scenario ID Income Tax-1 Test Case ID Tax -1A
Test Case Description IncomeTax – Test Priority High
Positive test case
Pre-Requisite Name, Aadhar, Post - Requisite Correct income tax calculation
Salary, Address and updated salary after tax
(User must provide deductions
these details)
Test Execution Steps :
3 Verify behavior when "@$$#" Please Enter a Please Enter NetBeans Pass Special
input is a special Valid a Valid characters
character Numeric Numeric are invalid
Salary Salary
4 Verify behavior when (blank Salary Field Salary Field NetBeans Pass Blank
input is blank input) cannot be cannot be input is
empty empty invalid
5 Verify behavior when 100abc Please Enter a Please Enter NetBeans Pass Mixed
input contains mixed Valid a Valid input is
characters Numeric Numeric invalid
Salary Salary
POSITIVE TEST CASES
NEGATIVE TEST CASES
Q3) Problem Statement given by Customer:
A leading Jewellery showroom in Vellore needs software application to maintain the day to
day activities. It is going to be used by Owner and Office Staff Members. Develop the
following modules
Authentication module
Stock Management module , Purchase Management module
Sales Management module , Repair Management module
For the Jewelry Management System, I have used MySQL as the database for managing
various aspects of the system. The database is connected and structured with multiple tables
such as appuser, category, customer, product, and repair. The appuser table stores user details,
while the product table keeps track of product information, including item names, quantities,
prices, and categories. The repair table is used to track product repairs with details such as
repair status, description, and cost. Data is efficiently retrieved and displayed from these
tables to support system operations.
MYSQL :
1. Authentication module
Test Scenario ID Login-1 Test Case ID Login-1A
Test Case Description Login – Positive Test Priority High
test case
Pre-Requisite A valid user account Post - Requisite User should be successfully
logged in and redirected to the
appropriate dashboard
(e.g., HomePage for admin)
Home Page
2. Stock Management module
(Manage Category)
Test Scenario ID ManageCategory-1 Test Case ID ManageCategory-1A
Test Case Manage Category Test Priority High
Description
– Positive test case
Pre-Requisite 1)Admin Post - Requisite 1) The newly added
successfully logs category should be visible
into the system. in the category list.
Price per
Unit: 5000
Category:
"Gold".
2 - Select Product is Product is NetBea Pass Confirm
product: successfull successfull ns the
Update "Gold database
y updated, y updated,
product Ring" reflects
and a and a
with the
success success
valid - Update updated
message is message is
data Quantity: quantity.
displayed. displayed.
20.
- Click
"Save".
2 Save - Enter a A A Dialog NetBean Pass Confirm that
with negative Dialog Box with s invalid
invalid quantity Box the inputs do not
quantity (e.g., -5) with the message allow data
or a non- message “Error submission.
numeric “Error saving
value . saving product.
- Click product. Incorrect
"Save" Incorrec integer
t integer value for
value for column
column 'quantity'
'quantity ” appears.
'”
appears.
The sales
management
window is accessible
The sales
management
window is accessible
The relevant
product and
customer details are
linked correctly to
the repair record.
Description:
" Ring
Repair",
Cost: 100
2. Update The status of The repair NetBea Pass The repair
the Repair ID: 2, the repair status is ns status
status of New Status: should be successfully should be
a repair "Completed" updated to updated to updated as
"Completed". "Completed". per the
user input.
3. Delete a Repair ID: 3 The repair The repair NetBea Pass Deleting
repair record should record with ns the record
record be deleted Repair ID 3 is should
from the deleted remove it
system. successfully completely
from the from the
system. database.
Positive Test Case Example
"System displays the message 'Added successfully' when valid customerID, productID, repair
date, status, cost, and description are provided."
Cost: 100
2. Add a The system NetBea Pass The
Error
repair Product ID: should show ns descript
message
record 101, an error appears ion field
with Customer stating that stating should
missin ID: 202, the that all not be
g Repair description is fields empty.
descrip Date: required. are
tion "2025-01- required
20", Status: and
"Pending", cannot
be
Description empty.
: "",
Cost: 100
3. Add a Product ID: The system Error NetBean Pass Negativ
repair 101, should message s e cost
record Customer display an appears should
with ID: 202, error stating indicating not be
negativ Repair that the cost that the cost allowed
e cost Date: cannot be cannot be .
"2025-01- negative. negative.
20", Status:
"Pending",
Description
: "Screen
Repair",
Cost: -50
Negative Test Case Example
"System displays the error message 'ERROR FOR INPUT STRING' when a non-numeric
value (e.g., 'ABCDE') is entered for cost."
Negative Test Case Example
"System displays the error message 'ALL FIELDS ARE REQUIRED' when any field
(customerID, productID, repair date, status, cost, or description) is left empty."