Professional Documents
Culture Documents
Test Cases
Test Cases
com:
User Registration:
Test Case 1: Verify that a new user can successfully register with valid details.
Test Case 2: Attempt to register with invalid or incomplete information; ensure appropriate
error messages are displayed.
User Login:
Test Case 3: Verify that a registered user can log in with correct credentials.
Test Case 4: Attempt to log in with incorrect credentials; validate that the system displays an
error message.
Product Search:
Test Case 5: Search for a specific product by entering its name in the search bar.
Test Case 6: Verify that relevant results are displayed when searching for a category (e.g.,
"Electronics").
Product Selection and Details:
Test Case 7: Select a product and verify that detailed information, including price and
specifications, is displayed.
Test Case 8: Ensure that product images are loading correctly and provide an accurate
representation.
Add to Cart:
Test Case 9: Add a product to the cart and verify that it reflects in the cart icon.
Test Case 10: Attempt to add a product with insufficient stock to the cart; validate that the
system handles it appropriately.
Checkout Process:
Test Case 11: Proceed to checkout with items in the cart, and verify that the checkout page
displays the correct items and prices.
Test Case 12: Validate that the system prompts for necessary shipping details during the
checkout process.
Payment Processing:
Test Case 13: Complete the payment process with valid payment details.
Test Case 14: Attempt to make a payment with incorrect payment information; ensure proper
error handling.
Order Tracking:
Test Case 15: Access the order tracking section and enter valid order details.
Test Case 16: Verify that the system provides accurate information about the current status
of the order.
Test Scenario for Daraz.com:
User Registration:
Objective: To verify that users can successfully register on daraz.com.
Preconditions: Access to the daraz.com registration page.
Test Steps:
Navigate to the registration page.
Enter valid user details.
Click on the registration button.
Expected Results: User is registered successfully and redirected to the login page.
Product Search:
Objective: To ensure that users can search for products effectively.
Preconditions: Logged in to daraz.com.
Test Steps:
Enter a product name in the search bar.
Click on the search icon.
Verify that relevant products are displayed.
Expected Results: The search results match the entered product, and relevant filters are
available.
Checkout Process:
Objective: To verify a smooth checkout process.
Preconditions: Products in the shopping cart.
Test Steps:
Proceed to checkout.
Enter shipping details.
Select a payment method.
Confirm the order.
Expected Results: Order confirmation page is displayed, and the user receives an order
confirmation email.
User Login:
Objective: To verify that registered users can log in successfully.
Preconditions: User credentials and an active internet connection.
Test Steps:
Navigate to the login page.
Enter valid username and password.
Click on the login button.
Expected Results: User is logged in, and the dashboard or user profile is displayed.
Flight Booking:
Objective: To ensure users can book flights seamlessly.
Preconditions: Logged in to Go Zayaan website.
Test Steps:
Select "Flights" from the main menu.
Enter departure and destination details.
Choose a suitable flight and complete the booking process.
Expected Results: Booking confirmation is displayed, and the user receives a confirmation
email.
Hotel Reservation:
Objective: To validate the hotel reservation process.
Preconditions: Logged in to Go Zayaan website.
Test Steps:
Navigate to the "Hotels" section.
Enter destination, check-in, and check-out dates.
Select a hotel and complete the reservation.
Expected Results: Reservation details are confirmed, and the user can view booking
information in the user account.
Test Case 10: Verify that the search bar is present on the homepage.
Test Case 11: Enter a valid search query and confirm relevant results are displayed.
Test Case 12: Test the behaviour when entering an invalid or non-existent search
query.
5. User Profile:
Below are some example test cases for testing various functionalities on the Amazon.com website:
1. Homepage:
Test Case 2: Check for the presence of key elements on the homepage (search bar, navigation,
featured products).
2. Search Functionality:
Test Case 4: Enter a valid search query and confirm relevant search results are displayed.
Test Case 5: Test the behaviour when entering an invalid or non-existent search query.
Test Case 6: Verify the advanced search options, such as filters and sorting.
3. Product Details:
Test Case 7: Click on a product from the search results and verify that the product details page
loads correctly.
Test Case 8: Check that all relevant product information (price, description, reviews) is displayed
accurately.
4. User Account:
Test Case 10: Log in to an existing account and verify successful login.
Test Case 11: Test the registration process for creating a new account.
Test Case 12: Verify that the user's account page displays accurate information.
5. Shopping Cart:
Test Case 13: Add multiple items to the shopping cart and verify the correct quantity and total
price.
Test Case 14: Remove items from the shopping cart and confirm that the cart updates
accordingly.
6. Checkout Process:
Test Case 16: Enter shipping information during the checkout process.
Test Case 17: Test the different payment methods available (credit card, gift card, etc.).
Test Case 18: Verify that the order confirmation page is displayed after completing the checkout.
7. Order Tracking:
Test Case 19: Access the order history page and verify that all previous orders are listed.
Test Case 21: Test the order tracking functionality using a valid tracking number.
8. Account Settings:
Test Case 22: Access the account settings page and verify that the user can update personal
information.
Test Case 24: Verify that the user can subscribe or unsubscribe from promotional emails.
Test Case 26: Verify that promotional codes or discounts are applied correctly during checkout.
10. Accessibility:
Test Case 27: Verify that the website is accessible for users with disabilities using screen readers
or keyboard navigation.
Test Case 28: Test the website's responsiveness on different devices (desktop, tablet, mobile)
User Registration:
Objective: To verify that users can successfully register on the Amazon website.
Test Steps:
Expected Results: User is registered successfully and redirected to the login page.
Product Search:
Test Steps:
Expected Results: The search results match the entered product, and relevant filters are available.
Objective: To validate the functionality of adding items to the cart and completing the checkout
process.
Test Steps:
Expected Results: Order confirmation page is displayed, and the user receives an order confirmation
email.
Account Settings:
Test Steps:
Expected Results: Changes are saved successfully, and the updated information is reflected in the
user account.
Test Scenario:
Test Steps:
Expected Results: User experiences seamless access to Prime benefits without any issues.