Test Cases
Overview:
Test cases for website development are step-by-step instructions used to check if different parts of a website work correctly.
Each test case includes:
- What to Test: The specific feature or part of the website being tested.
- Steps to Follow: The exact actions to take during the test.
- Expected Result: What should happen if the website is working properly.
- Actual Result: What actually happens when the test is done.
- Pass/Fail: Whether the feature works as expected (pass) or has issues (fail).
Test cases help ensure that the website is functioning correctly, looks good, and is free of bugs before it goes live.
UAT Testing Checklist:
See below or download a excel file to work through and get started on your website testing
What to Test | Steps to Follow | Expected Result | Actual Result | Pass / Fail |
Homepage | Open the homepage on desktop and mobile. Check hero banner, navigation, and key call-to-actions. | Page loads quickly, layout matches design, all links and buttons work. | ||
Navigation Menu | Test main menu, dropdowns, and footer links on desktop and mobile. | All links work, menus open/close smoothly, no broken links. | ||
Search Function | Search for a product by name and by SKU. | Relevant results appear with correct product details. | ||
Category Pages | Navigate to several product categories. Check filtering, sorting, and pagination. | Correct products display, filters work, sorting changes order correctly. | ||
Product Detail Page (PDP) | Open various products. Check images, descriptions, pricing, and stock status. | All product info is correct, images load, prices match expected, stock displays correctly. | ||
Add to Cart | Add multiple products to the cart from category and product pages. | Cart updates correctly with accurate prices, quantities, and totals. | ||
Cart Page | View the cart. Check product details, update quantities, and remove items. | Changes update immediately, totals are correct. | ||
Checkout Process | Complete checkout (as guest and logged in). Test address entry, shipping, and payment. Depending on the website’s configuration, confirm whether checkout works for trade customers only or for both trade and general public customers. | All steps work smoothly, form validation works, and the order can be placed successfully according to the intended access (trade only or trade + public). | ||
Order Confirmation | Place a test order. Check confirmation page and confirmation email. | Confirmation page displays, confirmation email is received with correct order details. | ||
ERP Data Checks | Check ERP system to confirm data for placed orders. Verify that orders are recorded correctly against the correct customer account (e.g., trade member vs. public customer) and that all order details match. | Orders appear in ERP with correct customer details, products, pricing, and payment information. | ||
Account Area | Log in, view past orders, update account details, change password. | All account functions work and changes save correctly. | ||
Forms & Enquiries | Submit a contact form or enquiry form. | Form submits without error, confirmation message shows, notification email is received. | ||
Mobile Responsiveness | Browse key pages on mobile devices. | Layout adapts correctly, text is readable, buttons are easy to tap. | ||
Payment Methods | Test all available payment methods (e.g., credit card, PayPal, on-account, etc.). Complete a test transaction for each method. | Each payment method processes successfully and displays the correct confirmation, with payment recorded appropriately. | ||
Members | Log in as a trade member to check customer-specific pricing and features. Sign up as a general public customer (if applicable) and confirm sign-up process works. | Trade customers see correct pricing and account features. Public customers can register and log in successfully. | ||
Special Products | If applicable, check special product types such as bulk buys (quantity-based pricing), linear metre products, and enquiry-only products. | All special products display correctly, pricing and measurement features work, and enquiry-only products show the correct messaging. | ||
404 Page | Enter a wrong URL. | Custom 404 page appears with helpful navigation options, depending on the content entered in the Site Text panel. |