GitHub - Atz1995/automationForSam: pre Interview task · GitHub
Skip to content

Atz1995/automationForSam

Folders and files

Repository files navigation

Before running any of the tests, please make sure you have the correct versions. you could check them all down below. I also added an extra step checking the cart if the product is in there once we click it. Thank you, Atila Kilicarslan.

🚀 Project Overview

This project automates a specific user journey:

  1. Navigating to the login page.
  2. Logging in using credentials stored in a configuration file.
  3. Dynamically identifying and adding the most expensive item to the cart.
  4. Verifying the item is successfully added to the basket.

🛠️ Tech Stack

  • Java 17+
  • Selenium WebDriver (UI Automation)
  • Cucumber / TestNG (BDD Framework)
  • Maven (Project Management)
  • WebDriverManager (Automatic Driver Management)

🏃 How to Run the Tests

Prerequisites

  • Ensure you have Maven installed (mvn -version).
  • Google Chrome must be installed.

Execution

Open your terminal in the project root and run:

mvn test "-Dtest=runners.RunCucumberTest"

About

pre Interview task

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages