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/ 4
TEST CASES OF SHOPEASE
Test Case 1: User Registration
Test Case ID TC_001
Test Scenario User Registration Pre-requisite None Steps to Perform: <br> 1. Navigate to the registration page. <br> 2. Enter valid user details (username, email, password, etc.). <br> 3. Click on the "Register" button. A new user account is created, and the user is redirected to the welcome page. A confirmation Expected Result email may also be sent.
Test Case 2: User Login
Test Case ID TC_002
Test Scenario User Login Pre-requisite User account already registered. Steps to Perform: <br> 1. Navigate to the login page. <br> 2. Enter valid credentials (username and password). <br> 3. Click on the "Login" button. User is successfully logged in and redirected to Expected Result the homepage. The user's session is maintained
Test Case 3: Adding Items to Cart
Test Case ID TC_003
Test Scenario Adding Items to Cart Pre-requisite User is logged in. Steps to Perform: <br> 1. Browse or search for a product. <br> 2. Select a product to view its details. <br> 3. Click the "Add to Cart" button. The selected product is added to the user's shopping cart. The cart icon reflects the updated Expected Result number of items.
Test Case 4: Checkout Process
Test Case ID TC_004 Test Scenario Checkout Process Pre-requisite User is logged in and has items in the cart. Steps to Perform: <br> 1. Click on the "Cart" icon to view cart items. <br> 2. Click the "Checkout" button. <br> 3. Enter shipping details. <br> 4. Select payment method. <br> 5. Confirm the order. The order is processed, and the user receives a order confirmation message. The order appear Expected Result in the user's order history.
Test Case 5: Password Reset
Test Case ID TC_005
Test Scenario Password Reset Pre-requisite User account already registered. Steps to Perform: <br> 1. Navigate to the login page. <br> 2. Click on the "Forgot Password" link. <br> 3. Enter the registered email address. <br> 4. Follow the instructions sent to the email to reset the password. <br> 5. Log in with the new password. User is able to reset their password and lo in with the new password. The system confirms the password reset with a succes Expected Result message.
Test Case 6: Product Search
Test Case ID TC_006
Test Scenario Product Search Pre-requisite User is logged in. Steps to Perform: <br> 1. Navigate to the homepage. <br> 2. Enter a product name or keyword in the search bar. <br> 3. Click the "Search" button. Relevant search results are displayed, showing products that match the search Expected Result criteria.
Test Case 7: Viewing Cart
Test Case ID TC_007
Test Scenario Viewing Cart Pre-requisite User is logged in and has items in the cart. Test Case ID TC_007 Steps to Perform: <br> 1. Click on the "Cart" icon in the navigation bar. <br> 2. View the list of items in the cart. All items added to the cart are displayed with correct details, including product name, quantity, price, and total Expected Result price.
Test Case 8: Updating Cart
Test Case ID TC_008
Test Scenario Updating Cart Pre-requisite User is logged in and has items in the car Steps to Perform: <br> 1. Click on the "Cart" icon to view cart items. <br> 2. Change the quantity of an item using the quantity selector. <br> 3. Click the "Update Cart" button. The cart is updated with the new quantity and the total price is recalculated Expected Result accordingly.
Test Case 9: Product Reviews
Test Case ID TC_009
Test Scenario Product Reviews User is logged in and has purchased a Pre-requisite product. Steps to Perform: <br> 1. Navigate to the product page of an item that the user has purchased. <br> 2. Click on the "Write a Review" button. <br> 3. Enter a rating and review text. <br> 4. Click the "Submit" button. The review is submitted and displayed under the product's review section. Other Expected Result users can see the review and rating.
Test Case 10: Order History
Test Case ID TC_010
Test Scenario Order History Pre-requisite User is logged in and has placed orders. Steps to Perform: <br> 1. Navigate to the user profile. <br> 2. Click on "Order History". A list of past orders with details (order number, date, items, status, Expected Result and total amount) is displayed. Users can view details of each order.