---
title: "#testng articles | Hashnode"
description: "Explore 57 articles tagged #testng on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/testng"
---

Tag

# #testng

57 posts · 28 followers

[Ajit Marathe](https://hashnode.com/@automationwithajit) · [Feb 8](https://hashnode.com/posts/testng-explained-for-automation-testers-from-basics-to-interview-ready-with-real-examples/69889bb769ed96a56d30dded)

### [TestNG Explained for Automation Testers – From Basics to Interview-Ready (With Real Examples)](https://automationwithajit.hashnode.dev/testng-explained-for-automation-testers-from-basics-to-interview-ready-with-real-examples?utm_source=hashnode&utm_medium=feed)

Learn TestNG with real Java examples. Covers annotations, groups, priorities, parallel execution, dependencies, and testng.xml for automation interviews.

4 min read · [automationwithajit.hashnode.dev](https://automationwithajit.hashnode.dev/testng-explained-for-automation-testers-from-basics-to-interview-ready-with-real-examples?utm_source=hashnode&utm_medium=feed)

[Prashant Dhotre](https://hashnode.com/@PrashantDhotre) · [Jul 28, 2025](https://hashnode.com/posts/junit-vs-testng-in-selenium/68872e958de1c6d6c62b7ad0)

### [JUnit vs TestNG in Selenium](https://junitvstestng.hashnode.dev/junit-vs-testng-in-selenium?utm_source=hashnode&utm_medium=feed)

When working with Selenium for automated web testing in Java, choosing the right test framework is crucial. Two of the most popular testing frameworks are JUnit and TestNG. While both help in organizing and executing test cases, they have their stren...

2 min read · [junitvstestng.hashnode.dev](https://junitvstestng.hashnode.dev/junit-vs-testng-in-selenium?utm_source=hashnode&utm_medium=feed)

[Chetan Shinde](https://hashnode.com/@Chetans19) · [Jul 21, 2025](https://hashnode.com/posts/testng-vs-junit-5-which-test-runner-should-you-choose/687e7853b81e5d336dcb47c4)

### [TestNG vs JUnit 5: Which Test Runner Should You Choose?](https://sdetjournal.hashnode.dev/testng-vs-junit-5-which-test-runner-should-you-choose?utm_source=hashnode&utm_medium=feed)

Confused between TestNG and JUnit 5 for your test automation framework in 2025? Explore the key differences, real-world use cases, and expert recommendation

2 min read · [sdetjournal.hashnode.dev](https://sdetjournal.hashnode.dev/testng-vs-junit-5-which-test-runner-should-you-choose?utm_source=hashnode&utm_medium=feed)

[Samiksha Kute](https://hashnode.com/@samikshakute) · [Jun 13, 2025](https://hashnode.com/posts/enhancing-your-framework-with-extent-reports-screenshots-and-retry-mechanisms-part-5/684c0bc9ccf99cf4d0e8cebc)

### [Enhancing Your Framework with Extent Reports, Screenshots, and Retry Mechanisms (Part 5)](https://samikshakute.hashnode.dev/enhancing-your-framework-with-extent-reports-screenshots-and-retry-mechanisms-part-5?utm_source=hashnode&utm_medium=feed)

Learn how to enhance your Selenium framework with Extent Reports, screenshots, retry mechanisms, and thread safety for professional automated testing

13 min read · [samikshakute.hashnode.dev](https://samikshakute.hashnode.dev/enhancing-your-framework-with-extent-reports-screenshots-and-retry-mechanisms-part-5?utm_source=hashnode&utm_medium=feed)

[Samiksha Kute](https://hashnode.com/@samikshakute) · [Jun 12, 2025](https://hashnode.com/posts/optimize-your-automation-framework-using-data-driven-testing-and-screenshots-part-4/684abea596597799f641f150)

### [Optimize Your Automation Framework: Using Data-Driven Testing and Screenshots (Part 4)](https://samikshakute.hashnode.dev/optimize-your-automation-framework-using-data-driven-testing-and-screenshots-part-4?utm_source=hashnode&utm_medium=feed)

Enhance Selenium with data-driven testing using JSON and build a screenshot utility for improved debugging in this guide

11 min read · [samikshakute.hashnode.dev](https://samikshakute.hashnode.dev/optimize-your-automation-framework-using-data-driven-testing-and-screenshots-part-4?utm_source=hashnode&utm_medium=feed)

[Samiksha Kute](https://hashnode.com/@samikshakute) · [Jun 11, 2025](https://hashnode.com/posts/enhancing-your-automation-framework-using-testng-features-part-3/6849492e66d584038b77c39a)

### [Enhancing Your Automation Framework: Using TestNG Features (Part 3)](https://samikshakute.hashnode.dev/enhancing-your-automation-framework-using-testng-features-part-3?utm_source=hashnode&utm_medium=feed)

Implement BaseTest, use TestNG annotations, run tests in parallel, and optimize test strategy to enhance Selenium with TestNG

16 min read · [samikshakute.hashnode.dev](https://samikshakute.hashnode.dev/enhancing-your-automation-framework-using-testng-features-part-3?utm_source=hashnode&utm_medium=feed)

[Dinesh Y S](https://hashnode.com/@dineshys) · [May 30, 2025](https://hashnode.com/posts/how-to-rerun-failed-test-cases-in-cucumber-using-testng-java/683955af6987c4e7c0e3f296)

### [How to Rerun Failed Test Cases in Cucumber Using TestNG (Java)](https://selenium-java-testng.hashnode.dev/how-to-rerun-failed-test-cases-in-cucumber-using-testng-java?utm_source=hashnode&utm_medium=feed)

Test automation often faces flaky test failures or environmental issues. Instead of rerunning the entire suite, it’s much more efficient to rerun only the failed test cases. In this article, I’ll walk you through how to rerun failed scenarios in a Cu...

2 min read · [selenium-java-testng.hashnode.dev](https://selenium-java-testng.hashnode.dev/how-to-rerun-failed-test-cases-in-cucumber-using-testng-java?utm_source=hashnode&utm_medium=feed)

[Samiksha Kute](https://hashnode.com/@samikshakute) · [May 25, 2025](https://hashnode.com/posts/building-your-first-selenium-framework-a-step-by-step-tutorial-part-1/68330c6733d29146f1bbb64c)

### [Building a Selenium Automation Framework: A Step-by-Step Guide (Part 1)](https://samikshakute.hashnode.dev/building-your-first-selenium-framework-a-step-by-step-tutorial-part-1?utm_source=hashnode&utm_medium=feed)

Guide on building a Selenium framework: Maven setup and automating an e-commerce site. Part 1 series

7 min read · [samikshakute.hashnode.dev](https://samikshakute.hashnode.dev/building-your-first-selenium-framework-a-step-by-step-tutorial-part-1?utm_source=hashnode&utm_medium=feed)

[Samiksha Kute](https://hashnode.com/@samikshakute) · [May 17, 2025](https://hashnode.com/posts/a-guide-to-testng-building-robust-testing-frameworks/6828bfb419ca51f85b55ca2c)

### [A Guide to TestNG: Building Robust Testing Frameworks](https://samikshakute.hashnode.dev/a-guide-to-testng-building-robust-testing-frameworks?utm_source=hashnode&utm_medium=feed)

Learn to efficiently use TestNG for Java automation with setup guidance, features explained, and framework building techniques.

13 min read · [samikshakute.hashnode.dev](https://samikshakute.hashnode.dev/a-guide-to-testng-building-robust-testing-frameworks?utm_source=hashnode&utm_medium=feed)

[Pratik J](https://hashnode.com/@pratiks-desk) · [Mar 14, 2025](https://hashnode.com/posts/introduction-to-testng-framework/67d3c408033c49122df889a4)

### [Introduction to TestNG Framework](https://lets-programming.pratiks-desk.in/introduction-to-testng-framework?utm_source=hashnode&utm_medium=feed)

TestNG is a testing framework for Java mainly used for automation testing. It is similar to Junit but has more features like annotations, parallel execution& grouping tests. It's used for running tests, generating reports, and organizing test executi...

3 min read · [lets-programming.pratiks-desk.in](https://lets-programming.pratiks-desk.in/introduction-to-testng-framework?utm_source=hashnode&utm_medium=feed)
