Course Overview

Efficient test setup and execution are essential for successful automation testing.

This course is the ultimate solution to your TestNG woes. With a comprehensive roadmap and hands-on exercises, this course empowers you to harness the full potential of TestNG for your automation testing needs. You will learn how to set up TestNG, utilize annotations and assertions effectively, manage test methods, work with parameters, parallel execution, and advanced reporting using Extent Reports. 

Enroll today and unlock the power of TestNG to streamline your testing processes, improve test reliability, and enhance your overall testing efficiency. Your success in automation testing is just a click away! 

What You Will Learn

  • Learn to set up TestNG for your Java test automation projects
  • ensuring a solid foundation for your testing framework.
  • Harness the power of TestNG annotations and asserts to create robust test cases and ensure accurate validation.
  • Discover how to prioritize test methods
  • group them for efficient execution
  • and handle dependent test methods effectively.
  • Learn to run tests in parallel
  • significantly reducing testing time and improving test suite efficiency.
  • Master the art of providing parameters to test methods
  • making your tests more flexible and reusable.
  • Explore advanced reporting techniques
  • including attaching screenshots
  • handling multiple test cases
  • and implementing the Page Object Model for organized and informative test reports.
  • Gain the expertise to implement various TestNG listeners for enhanced test control and reporting
  • ensuring better test management.

Program Curriculum

  • TestNG Introduction
  • TestNG Setup
  • How to Add TestNG JavaDoc?
  • $7 Million Cybersecurity Scholarship by EC-Council

  • First TestNG Class - Test Annotation
  • TestNG Asserts
  • TestNG Soft Asserts
  • Method and Class Annotations
  • Running a Test Suite
  • BeforeSuite and AfterSuite Annotations
  • BeforeTest and AfterTest Annotations

  • Prioritizing Test Methods in a Desired Sequence
  • How to Group Test Methods - Part 1?
  • How to Group Test Methods - Part 2?
  • Understanding Dependent Test Methods
  • How to Disable and Timeout Test Methods?
  • How to Preserve Order of Execution?

  • How to Provide Parameters to Test Methods?
  • How to Run Tests in Parallel?

  • DataProviders - Part 1
  • DataProviders - Part 2

ITestResult Interface

  • IInvokedMethodListener
  • ITestListener
  • ISuiteListener
  • TestNG Listeners - Code Refactoring

TestNG Reporters and Logs

  • Advanced Reporting Introduction and Features
  • Advanced Reporting - Practical Example
  • Attaching Screenshots to Advanced Reports
  • Multiple Test Cases
  • Practical Example
  • Reporting with Page Object Model
  • Exercise with Solution
  • Homework
Load more modules

Instructor

Lets Kode It

Let's Kode It, we are here with a mission to have everyone learn a new skill and find themselves doing what they always wanted to do. Whether it be programming or creating a professional looking MS Word document. When talking about programming, we believe anyone can code and coding is not something out of this world. Coding can be of different types and in different area, some may want to become a web developer where it's more of front-end languages, some choose to become a back-end developer, while some choose to become testers with automation hands on where the domain is completely different from development. We believe what it needs to learn something is only willingness to learn and everything else comes along with it. We are a group of software professionals with more than 10 years of expertise in different areas of the software industries. We excel from software inception to implementation. Our goal is to offer high quality technology courses which suits newbie as well as an intermediate. We focus on the technology which are essential to perform in today's job market. Our instructors are master’s graduates from reputable universities. Our instructors have over 10 years of industrial experience and work as team leaders in multinational companies. They have expertise in various fields of SDLC from application development, testing to system administration.

Join over 1 Million professionals from the most renowned Companies in the world!

certificate

Empower Your Learning with Our Flexible Plans

Invest in your future with our flexible subscription plans. Whether you're just starting out or looking to enhance your expertise, there's a plan tailored to meet your needs. Gain access to in-demand skills and courses for your continuous learning needs.

Monthly Plans
Annual Plans
Save 20% with our annual plans!

Pro

Ideal for continuous learning, offering extensive resources with 600+ courses and diverse Learning Paths to enhance your skills.

$ 499.00
Billed annually or $59.00 billed monthly

What is included

  • 700+ Premium Short Courses
  • 50+ Structured Learning Paths
  • Validation of Completion with all courses and learning paths
  • New Courses added every month
Early Access Offer

Pro +

Experience immersive learning with Practice Labs, CTF Challenges, and exclusive EC-Council certifications for comprehensive skill-building.

$ 599.00
Billed annually or $69.00 billed monthly

Everything in Pro and

  • 800+ Practice Lab exercises with guided instructions
  • 150+ CTF Challenges with detailed walkthroughs
  • New Practice Labs and Challenges added every month
  • 3 Official EC-Council Essentials Certifications¹ (retails at $897!)
    Exclusive Bonus with Annual Plans

¹This plan includes Digital Forensics Essentials (DFE), Ethical Hacking Essentials (EHE), and Network Defense Essentials (NDE) certifications. No other EC-Council certifications are included.

Related Courses

1 of 8