TestNG Configguration

TestNG Installation
Down Load TestNG jar file from below path http://testng.org/doc/download.html , Once you download the jar file we need to set the Class Paths
Set the TESTNG_HOME environment variable to point to the base directory location, where TestNG jar is stored on your machine. assuming that, we've stored testng-6.8.jar at the location E:\software\selenium\testng-6.8
image
Set the CLASSPATH environment variable to point to the TestNG jar location.
Set the environment variable CLASSPATH to %TESTNG_HOME%\testng-6.8.jar.

image

Comments