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

https://github.com/prasad8400/playwright-java-testng-certification

Playwright automation framework using Java and TestNG – built for LambdaTest Playwright Java 101 certification.
https://github.com/prasad8400/playwright-java-testng-certification

auto automation java maven playwright playwright-java testng

Last synced: 7 months ago
JSON representation

Playwright automation framework using Java and TestNG – built for LambdaTest Playwright Java 101 certification.

Awesome Lists containing this project

README

          

# Playwright Java TestNG Project – LambdaTest Certification

![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)

[![Certifications & Awards](https://img.shields.io/badge/Certifications%20%26%20Awards-10-blue)](https://github.com/Prasad8400/My_AwardsAndCertifications/blob/main/My_AwardsAndCertifications.md)

[![Java](https://img.shields.io/badge/Java-ED8B00?style=flat&logo=java&logoColor=white)](https://www.java.com/)
[![Selenium](https://img.shields.io/badge/Selenium-43B02A?style=flat&logo=selenium&logoColor=white)](https://www.selenium.dev/)
[![TestNG](https://img.shields.io/badge/TestNG-FF6C37?style=flat&logo=testng)](https://testng.org/)
[![Maven](https://img.shields.io/badge/Maven-C71A36?style=flat&logo=apachemaven)](https://maven.apache.org/)
[![Playwright](https://img.shields.io/badge/Playwright-2EAD33?style=flat&logo=playwright&logoColor=white)](https://playwright.dev/)

This project was created and submitted as part of the **LambdaTest Playwright Java 101 Certification**.
It showcases my ability to automate end-to-end UI scenarios using **Microsoft Playwright**, **Java**, **Maven**, and **TestNG**.

---

## ✅ Key Highlights

- Built using the **TestNG testing framework**
- Uses **Playwright for Java** for browser automation
- Modular project structure with reusable components
- Includes a **BaseClass** for Playwright setup and teardown
- Executes functional cross browser tests and generates clean HTML reports

---

## 🚀 Selenium Grid Configuration on LambdaTest

As part of the testing setup, I configured a **Selenium Grid** on the **LambdaTest** cloud platform, enabling seamless execution of tests across multiple environments.

### 🛠️ Key Highlights:
- **Remote Test Execution:** Executed tests directly from my local setup, leveraging LambdaTest's cloud infrastructure.
- **Parallel Testing:** Ran tests in parallel across various browsers and operating systems, ensuring faster feedback and broader test coverage.
- **Scalability:** Utilized the power of cloud infrastructure for efficient and scalable **cross-browser testing**.

This setup ensures maximum test efficiency and reliability in a cloud-based testing environment, providing flexibility to scale as needed.

---

By using LambdaTest's infrastructure, I was able to significantly reduce test execution time while ensuring that the tests were performed in real browser environments across different platforms.

## 🧠 Skills Demonstrated

- Browser automation using Playwright for Java
- Java programming with object-oriented design
- Integration of **TestNG** for structured test execution
- Maven for build and dependency management
- Reusable code using `BaseClass` and `PageObject` model
- Test report generation and result analysis
- Clean separation of test logic and configuration

---

## 🚀 Getting Started

### 🧾 Prerequisites

- Java (JDK 11+)
- Maven
- TestNG plugin (for IDE execution)
- Node.js (Playwright internally uses Node binaries)

### 🔧 How to Run

1. Clone the repo:
```bash
git clone https://github.com/YOUR_USERNAME/playwright-java-testng-certification.git
cd playwright-java-testng-certification

## 📬 Contact

- 📧 Email: prasadsutar6544@gmail.com
- 💼 LinkedIn: [linkedin.com/in/prasadsutar8400](https://www.linkedin.com/in/prasadsutar8400/)