O'Reilly logo

TestNg Beginner's Guide by Varun Menon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Downloading TestNG

Before we can download and start using TestNG, there are certain prerequisites we need. So, let's go ahead with the prerequisites first.

Prerequisites

Before you start using TestNG please make sure that Java JDK5 or above is installed on your system. Also make sure that JDK is set in the system path. In case JDK is not available on your system, you can download it from the following link:

http://www.oracle.com/technetwork/java/javase/downloads/index.html

TestNG can be downloaded, installed, and run in multiple ways as follows:

  • Using command line
  • As an Eclipse plugin
  • As an IntelliJ IDEA plugin
  • Using ANT
  • Using Maven

In case you just want to download the TestNG JAR, you can get it from the following URL:

http://testng.org/testng-6.8.zip ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required