Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shakhawat1998/web_automation_on_automation_exercise_using_playwright

This project focuses on automating key user workflows on the Automation Exercise platform to ensure the application functions as expected across critical scenarios. The goal is to validate user registration, product selection, order placement, and contact form submission through end-to-end UI testing.
https://github.com/shakhawat1998/web_automation_on_automation_exercise_using_playwright

javascript playwright tekarsh

Last synced: 20 days ago
JSON representation

This project focuses on automating key user workflows on the Automation Exercise platform to ensure the application functions as expected across critical scenarios. The goal is to validate user registration, product selection, order placement, and contact form submission through end-to-end UI testing.

Awesome Lists containing this project

README

        

# UI_Automation_On_Automation_Exercise_Using_Playwright

**This project focuses on automating key user workflows on the **Automation Exercise** platform to ensure the application functions as expected across critical scenarios. The goal is to validate user registration, product selection, order placement, and contact form submission through end-to-end UI testing.**

## Technology Used:

- Playwright
- Java Script
- Visual Studio Code

## How to run this project:

- Clone this project
- First install dependencies:
```npm install```

- Then run the test:
```npx playwright test```

## Test Scenarios

### Steps to Automate

1. **Visit the Login Page**
- Open the URL: [https://automationexercise.com/login](https://automationexercise.com/login).

2. **Complete the Sign-Up Process**
- Fill out all **required fields**.
- Fill out **non-required fields**, including **Date of Birth**.

3. **Select Product Category**
- Navigate to the **Men** category.
- Select **Jeans**.

4. **View and Update Product**
- Click **View Product** for any product.
- Change the product quantity to **2**.
- Add the product to the **cart**.

5. **Proceed to Checkout**
- Navigate to the cart and click **Proceed to Checkout**.
- Add **dummy payment details**.
- Confirm placing the order.

6. **Contact Us Form Submission**
- Navigate to the **Contact Us** page.
- Fill in all the required fields:
- **Name**
- **Email**
- **Subject**
- Attach a file (any type).
- Verify the form submission.

## Report:

![image](https://github.com/user-attachments/assets/6f533eef-0464-473f-b42c-88e0300943d9)

## Video Output:

https://github.com/user-attachments/assets/1da477e7-aa06-4623-a016-80262a4450a5