The goal of this project is to perform automated testing on the website [https://teststore.automationtesting.co.uk/
- User Authentication:
- Allows users to log in and log out.
- Test cases verify the correctness of the login and logout processes.
- Product Search:
- Enables users to search for products using keywords in the search bar.
- Testing ensures accurate search results with complete product information.
- Add to Cart:
- Allows users to add products to the shopping cart from the product details page.
- Testing confirms that the quantity in the cart increases after adding a product and displays accurate product information.
- Sort and Filter Products:
- Permits users to sort the product list by criteria such as name, price, and filter products by category.
- Testing ensures the correct sorting and filtering of the product list.
- Apply Promotional Code:
- Lets users apply promotional codes to receive discounts on their orders.
- Testing validates that the price is correct after applying the promotional code.
- View Product Details and Add to Cart:
- Allows users to view detailed product information and add products to the cart from the product details page.
- Testing confirms that product details and cart quantity are updated correctly after adding to the cart.
- Login and Logout Functionality:
- Verify successful login and logout process.
- Product Search Functionality:
- Verify the ability to search for products.
- Filter Products by Increasing Price:
- Verify the functionality to filter products by ascending price.
- Search with No Results:
- Verify behavior when there are no search results.
- Filter Products Functionality:
- Verify the ability to filter products.
- Filter "Home Accessories" Product Type:
- Verify filtering products by the "Home Accessories" category.
- Filter and Sort "Home Accessories" Products:
- Verify filtering and sorting "Home Accessories" products.
- Filter Men's Products:
- Verify filtering products for Men's category.
- Filter Reset Functionality:
- Verify the functionality of resetting all filters.
- Quickview and Add to Cart for 1 Product:
- Verify quickview and adding one product to the cart.
- Quickview and Add to Cart with Random Quantity:
- Verify quickview and adding a product to the cart with a random quantity.
- Shopping Functionality with Quickview:
- Verify the shopping process with the use of quickview.
- Remove Product from Cart:
- Verify the functionality of removing a product from the cart.
- Discount Feature in the Cart:
- Verify the discount feature in the shopping cart.
- Accuracy of Discount Amount in Reduced Product:
- Verify the correct display of the discount amount in discounted products.
- Order Placement Process:
- Verify the order placement process.
- Saving Old Orders and Adding a Product:
- Verify saving old orders and adding a new product.
- User Information Modification Functionality:
- Verify the ability to change user information.
- User Address Modification Functionality:
- Verify the ability to change user address.
- User Address Creation Functionality:
- Verify the ability to create a new user address.
- Website Navigation Functionality:
- Verify the functionality of navigating the website.
- Display of Products on the Page:
- Verify the correct display of products on the page.
- Contact Functionality:
- Verify the contact functionality on the website.
- Shopping and Payment Functionality:
- Verify the shopping and payment process.
- Order Placement After Login, Product Selection, and Multiple Conditions:
- Verify order placement after login, selecting products, and applying multiple conditions.
- Order Placement with Discounted Product and Login:
- Verify order placement with a discounted product and after logging in.
- Search and Add Product to Cart Functionality:
- Verify the ability to search and add a product to the cart.
- Add Product to Cart and Place Order Functionality:
- Verify the ability to add a product to the cart and place an order.
- Ensure Python is installed (version 3.4 or above).
- Confirm pip installation:
pip --version
- Navigate to your project directory.
- Create a virtual environment base on
env.example
- Install project dependencies:
pip install -r requirements.txt
- Execute your test cases:
python testcase_name.py