Assign No 4

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Software Engineering

(SEN 220)

Assignment No. 4

Submitted by:
Mujtaba Ahmed – 034

Submitted to:
Mam Tehreem Saboor

Department Of Computer Engineering


Bahria School of Engineering & Applied Sciences
H- 11 Campus Islamabad
Assignment No. 4
Q1: write 15 Test cases for your project.

Test cases are essential for any project as they ensure the functionality, reliability, and quality of the
software being developed. By defining specific scenarios and expected outcomes, test cases help
identify defects and inconsistencies early in the development cycle. This proactive approach
mitigates the risk of bugs and errors that could disrupt the user experience or cause system failures.
Test cases also serve as a validation tool to verify that all requirements are met and the application
performs as intended under various conditions.

Test Testcase Description Expected Results Actual Results Status


case ID
Homepage loaded
Homepage Loading Homepage loads successfully successfully, all elements
1 Test and displays all elements displayed Passed
User should be successfully
registered and receive a User registered successfully,
2 User Registration Test confirmation email confirmation email received Passed
User should be logged in and
redirected to their account User logged in and
3 User Login Test dashboard redirected to the dashboard Passed
Search Functionality Relevant search results should Relevant search results
4 Test be displayed displayed Passed
Product page should display all Product page displayed all
5 Product Page Test relevant information relevant information Passed
Product should be added to the
cart, and the cart counter should Product added to the cart,
6 Add to Cart Test update cart counter updated Passed
Cart should display the added
products with correct details Cart displayed the added
7 View Cart Test (name, quantity, price) products correctly Passed
Update Cart Quantity Cart should update to reflect the Cart updated with the new
8 Test new quantity quantity Passed
Product should be removed Product removed from the
9 Remove from Cart Test from the cart cart Passed
User should be able to complete Purchase did not completed
10 Checkout Process Test the purchase process successfully Failed
Payment should be processed
successfully, and an order Payment processed
Payment Processing confirmation email should be successfully, order
11 Test sent confirmation email sent Passed
User should be able to view
12 Order History Test their past orders User able to view past orders Passed
User Profile Update User profile should be updated User profile doesn’t updated
13 Test successfully successfully Failed
Review should be submitted Review submitted and
Product Review and displayed on the product displayed on the product
14 Submission Test page page Passed
Product should be added to the
Wishlist Functionality wishlist, and the wishlist should Product do not added to the
15 Test be updated wishlist Failed
These 15 test cases are crucial for ensuring the functionality, usability, and reliability of an e-
commerce store built on WordPress with Elementor. Each test case addresses key aspects of the user
journey, from initial interaction with the website to completing a purchase and managing their
account.

You might also like