0% found this document useful (0 votes)
47 views15 pages

Sample Test Case

The document contains test case descriptions and results for an inventory management system. It includes test cases for login, registration, adding supplier, stock, product, and transaction records, and maintaining product and sale information. All test cases passed as the expected and actual results matched for each input. Functions like buttons, form submissions and navigation worked correctly across various pages and features in the application.

Uploaded by

Adlina Anwar
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)
47 views15 pages

Sample Test Case

The document contains test case descriptions and results for an inventory management system. It includes test cases for login, registration, adding supplier, stock, product, and transaction records, and maintaining product and sale information. All test cases passed as the expected and actual results matched for each input. Functions like buttons, form submissions and navigation worked correctly across various pages and features in the application.

Uploaded by

Adlina Anwar
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/ 15

Login Page

Test Case Test Case Input Data Expected Result Actual Result Pass/ Remarks
ID Description Fail
TC001 Test “Login” button Staff: Login button function Login button Pass -
Username: appropriately and successfully.
Password: successfully access
to the account based
Admin: on the level.
Username:
Password:

Register Page

Test Case Test Case Input Data Expected Result Actual Result Pass/Fail Remarks
ID Description
TC002 Test “Register” button First Name Register and I am Register and I am Pass -
after key in detail. Last Name already member already button
Test “ I am already Username button function function
member” button. Email appropriately and successfully.
Phone Number user details will be
Password saved in database.
Staff Menu Page

Test Case Test Case Input Data Expected Result Actual Result Pass/Fail Remarks
ID Description
TC003 Test “Record No input. All the record button All button function Pass -
supplier info”, “ navigate to the successfully.
Record stock in/out”, related page and log
“Record product info”, out button function
“Record transaction” successfully.
and “ Log out” button.

Manager Menu Page

Test Case Test Case Description Input Data Expected Result Actual Result Pass/Fail Remarks
ID
TC004 Test “Maintain product No input. All the maintain All button function Pass -
info”, button navigate to appropriately.
“ Maintain sale info”, the related page and
“View current stock”, log out button
“Maintain stock info”, function successfully.
“Maintain supplier info”
and “ Log out” button.
Record Supplier Page

Test Case Test Case Description Input Data Expected Result Actual Result Pass/Fail Remarks
ID
TC005 Test insert record Supp_ID All the supplier All supplier details Pass -
button, back to main Supp_CompName details successfully successfully save
menu button and add save in database in database and
Supp_Location
supplier details. and insert record, insert record
Supp_PhoneNo
back to main button function
function correctly. successfully.

Record Stock in and Out Page

Test Case Test Case Description Input Data Expected Result Actual Result Pass/Fail Remarks
ID
TC006 Test insert Stock_ID: All the stock details All stock details Pass -
record ,back to main Stock_name: successfully save in successfully save
menu button and add Stock_Category: database and insert in database and
stock details. Quantity: record, back to main insert record
Date_In: button function function
Date_out correctly. successfully.
Record Product Info Page

Test Case Test Case Description Input Data Expected Result Actual Result Pass/Fail Remarks
ID
TC007 Test insert Product_id: All the product All stock details Pass -
record ,back to main Product_name: details successfully successfully save
menu button and add Quantity: save in database in database and
stock details. Prod_price: and insert record, insert record
back to main button function
function correctly. successfully.

Record Transaction Page

Test Case Test Case Description Input Data Expected Result Actual Result Pass/Fail Remarks
ID
TC008 Test insert ID: All the transaction All sale details Pass -
record ,back to main Sale_Desc: details successfully successfully save
menu button and add Sale_Date: save in database in database and
transaction details. Total_sale: and insert record, insert record
back to main button function
function correctly. successfully.
Maintain Product Info Page

Test Case Test Case Description Input Data Expected Result Actual Result Pass/Fail Remarks
ID
TC009 Check if edit and - Edit button and Edit and delete Pass -
delete button function delete button button navigate
correctly. navigate to the correctly.
correct page.

Search Product for Update Page

Test Case Test Case Description Input Data Expected Result Actual Result Pass/Fail Remarks
ID
TC010 Check if submit button Product_ID Submit button Submit button Pass -
function correctly and function function and
navigate to the appropriately and navigate correctly.
appropriate page. navigate to the
correct page.
Update Product Page

Test Case Test Case Description Input Data Expected Result Actual Result Pass/Fail Remarks
ID
TC011 Check if update Product_name: Update record Update record Pass
record button function Quantity: function and data button function
and data save in the Prod_price: save successfully. correctly and data
database. save.

Search Product for Delete Page

Test Case Test Case Description Input Data Expected Result Actual Result Pass/Fail Remarks
ID
TC012 Check if submit button Product_ID Submit button Submit button Pass -
function correctly and function function and
navigate to the appropriately and navigate correctly.
appropriate page. navigate to the
correct page.
View Before Delete Product Page

Test Case Test Case Description Input Data Expected Result Actual Result Pass/Fail Remarks
ID
TC013 Check if delete button - All the detail display Data successfully Pass -
function and all details correctly and data deleted.
display correctly. deleted .

Maintain Sale Info Page

Test Case Test Case Description Input Data Expected Result Actual Result Pass/Fail Remarks
ID
TC014 Check if edit and - Edit button and Edit and delete Pass -
delete button function delete button button navigate
correctly. navigate to the correctly.
correct page.
Search Sale for Update Page

Test Case Test Case Description Input Data Expected Result Actual Result Pass/Fail Remarks
ID
TC015 Check if submit button Sale_ID Submit button Submit button Pass -
function correctly and function function and
navigate to the appropriately and navigate correctly.
appropriate page. navigate to the
correct page.

Update Sale Page

Test Case Test Case Description Input Data Expected Result Actual Result Pass/Fail Remarks
ID
TC016 Check if update Sale_Desc: Update record Update record Pass -
record button function Sale_Date: function and data button function
and data save in the Total_sale: save successfully. correctly and data
database. save.
Search Sale for Delete Page

Test Case Test Case Description Input Data Expected Result Actual Result Pass/Fail Remarks
ID
TC017 Check if submit button Sale_ID Submit button Submit button Pass -
function correctly and function function and
navigate to the appropriately and navigate correctly.
appropriate page. navigate to the
correct page.

View Before Delete Sale Page

Test Case Test Case Description Input Data Expected Result Actual Result Pass/Fail Remarks
ID
TC018 Check if delete button - All the detail display Data successfully Pass -
function and all details correctly and data deleted.
display correctly. deleted .
Maintain Stock Info Page

Test Case Test Case Description Input Data Expected Result Actual Result Pass/Fail Remarks
ID
TC019 Check if edit and - Edit button and Edit and delete Pass -
delete button function delete button button navigate
correctly. navigate to the correctly.
correct page.

Search Stock for Update Page

Test Case Test Case Description Input Data Expected Result Actual Result Pass/Fail Remarks
ID
TC020 Check if submit button Stock_ID Submit button Submit button Pass -
function correctly and function function and
navigate to the appropriately and navigate correctly.
appropriate page. navigate to the
correct page.
Update Stock Page

Test Case Test Case Description Input Data Expected Result Actual Result Pass/Fail Remarks
ID
TC021 Check if update Stock_name Update record Update record Pass -
record button function Stock_Category function and data button function
and data save in the Quantity save successfully. correctly and data
database. Date_In save.
Date_out

Search Stock for Delete Page

Test Case Test Case Description Input Data Expected Result Actual Result Pass/Fail Remarks
ID
TC022 Check if submit button Stock_ID Submit button Submit button Pass -
function correctly and function function and
navigate to the appropriately and navigate correctly.
appropriate page. navigate to the
correct page.
View Before Delete Stock Page

Test Case Test Case Description Input Data Expected Result Actual Result Pass/Fail Remarks
ID
TC023 Check if delete button - All the detail display Data successfully Pass -
function and all details correctly and data deleted.
display correctly. deleted .

Maintain Supplier Info Page

Test Case Test Case Description Input Data Expected Result Actual Result Pass/Fail Remarks
ID
TC024 Check if edit and - Edit button and Edit and delete Pass -
delete button function delete button button navigate
correctly. navigate to the correctly.
correct page.
Search Supplier for Update Page

Test Case Test Case Description Input Data Expected Result Actual Result Pass/Fail Remarks
ID
TC025 Check if submit button Supp_ID Submit button Submit button Pass -
function correctly and function function and
navigate to the appropriately and navigate correctly.
appropriate page. navigate to the
correct page.

Update Supplier Page

Test Case Test Case Description Input Data Expected Result Actual Result Pass/Fail Remarks
ID
TC026 Check if update Supp_ID Update record Update record Pass -
record button function Supp_CompName function and data button function
and data save in the Supp_Location save successfully. correctly and data
database. Supp_PhoneNo save.
Search Supplier for Delete Page

Test Case Test Case Description Input Data Expected Result Actual Result Pass/Fail Remarks
ID
TC027 Check if submit button Supp_ID Submit button Submit button Pass -
function correctly and function function and
navigate to the appropriately and navigate correctly.
appropriate page. navigate to the
correct page.

View Before Delete Stock Page

Test Case Test Case Description Input Data Expected Result Actual Result Pass/Fail Remarks
ID
TC023 Check if delete button - All the detail display Data successfully Pass -
function and all details correctly and data deleted.
display correctly. deleted .
View current stock

Test Case Test Case Description Input Data Expected Result Actual Result Pass/Fail Remarks
ID
TC024 Check if all stock list - All stock list display The display does Fail Need to check
display appropriately, and print report not appropriate. coding
and print report button function
button. successfully.

You might also like