Testing Framework TestNG from Scratch with Java

Master TestNG, the advanced testing framework, for automation across unit, functional, and integration testing. Enhance your skills with video tutorials and practical exercises.

  • Overview
  • Curriculum
  • Instructor
  • Review

Brief Summary

This course dives into TestNG, an awesome testing framework that's totally inspired by JUnit and NUnit. You’ll learn everything from setting up the environment to generating reports and integrating with CI tools. Perfect for anyone looking to boost their automation testing skills!

Key Points

  • TestNG is a testing framework inspired by JUnit and NUnit.
  • Learn to cover all test categories: unit, functional, end-to-end, and integration.
  • Environment setup to integration with CI tools is included.
  • Understand assertion usage and batch execution of test cases.
  • Explore reading data from CSV files and using Ant build tool.

Learning Outcomes

  • Master the TestNG framework and its advantages over JUnit.
  • Learn how to execute tests in parallel and multithreaded environments.
  • Gain practical experience with assertions, batch executions, and CSV data handling.

About This Course

Learn to use Next Generation Testing Framework TestNG & how to use it for automation testing.

TestNG is a testing framework inspired from JUnit and NUnit but introducing some new functionality that make it more powerful and easier to use.

TestNG is designed to cover all categories of tests: Unit, functional, end-to-end, integration, etc.,

The Video includes from setting up the environment till integration with CI tools

In this training course, attendees will learn the following

1. Working with TestNG Framework.

2. How to use Assertion.

3. How to do batch execution of testcases.

4. TestNG execution Report generation.

Reading the Data from CSV file

1.Reading the Data from Comma separated files.

2.Skipping comments.

3.Skipping new lines.

Basic of Ant build Tool

1. What is build.xml.

2. What is a target, TestNG target present in Ant.

4. Integration of TestNG with Ant tool.

Subversion – SVN

1.Installing Visual SVN and Tortoise SVN Client

2.Creating Repository.

3.Importing the Project.

4.Taking Check in and Check out

5. SVN Plugin for Eclipse

Continuous Integration Tool Hudson

1. Configuring the Hudson.

2. Execution of TestNG from Hudson.

3. Generating TestNG Report from Hudson.

4. Integration of Ant with Hudson.

And source code shown as part of video lecture will be provided for download


  • By the end of this course you will give have great understanding on TestNG framework.Advantages of TestNG over Junit.

  • Detailed knowledge about TestNG framework. Different type of annotation provided by TestNg

  • How to use TestNG framework to run test-cases parallel or in multithreaded environment

Course Curriculum

1 Lectures

Instructor

Profile photo of Rahul Singh Rathore
Rahul Singh Rathore

I am an IT professional with 8 yrs of automation and testing experience. My core area of work is Integration, Functional & Regression testing. When it comes to automation, I have experience with tools such as Junit, TestNG, Selenium RC, Web driver & Katalon Studio.  I have contributed to the development of an automation framework for web-based products using Selenium...

Review
4.9 course rating
4K ratings
ui-avatar of Elham Zekri
Elham Z.
4.0
3 years ago

Good but I have suggestion, when you installation you talking about what version is good for what version of java or eclipse would be great. Ex: you had a eclipse version 7 but i have version 8. i got confused for install witch version of TestNG

  • Helpful
  • Not helpful
ui-avatar of Uma Rani
Uma R.
1.0
4 years ago

This course is old and needs to be updated as per the latest tools, Tutorial shows working with Hudson but Hudson is not used now

  • Helpful
  • Not helpful
ui-avatar of Mlungisi
Mlungisi
4.5
4 years ago

Straight to the point and clear explanation

  • Helpful
  • Not helpful
ui-avatar of Duran Mamed
Duran M.
1.5
5 years ago

Some of dependencies outdated. Hard to follow where you get and how to get some of the dependencies. He shows more of "How it's done" vs why he is doing it this or that way

  • Helpful
  • Not helpful
ui-avatar of Firoz Shaik
Firoz S.
4.5
7 years ago

Excellent and detail course and doubt clearing is also prompt.

  • Helpful
  • Not helpful
ui-avatar of Shashikala
Shashikala
2.5
7 years ago

It was good. Need explanation about framework.

  • Helpful
  • Not helpful
ui-avatar of Melvin
Melvin
3.5
7 years ago

Good pace

  • Helpful
  • Not helpful
ui-avatar of Manas Ranjan Roy
Manas R. R.
5.0
7 years ago

Instead creating big and lengthy projects, he used simple methods to explain the functionalities. Good Job!!

  • Helpful
  • Not helpful
ui-avatar of Mohammad K Islam
Mohammad K. I.
0.5
7 years ago

I am not able to follow instructor code, he is using some files for example which is not available, how can i use the same example to follow it, besides his example is too hard to follow.

  • Helpful
  • Not helpful
ui-avatar of Diwakar kumar
Diwakar K.
4.0
7 years ago

he explains all concept related to topics....
start from beginning to advance level...

  • Helpful
  • Not helpful
Leave A Reply

Your email address will not be published. Required fields are marked *

Ratings

Courses You May Like

Lorem ipsum dolor sit amet elit
Show More Courses