Right Click -> Build Path ->Add To Build Pathĥ. To add into build path, right click on testng jar file and Mouse hover on Build Path and select “Add to build path”. Now you need to ad dthis jar file in to build path, so that Java Compiler will be aware of this. You can just use normal copy paste command to do this.Ĥ. Create a folder (Say jarFIles) within project and paste jar file in that folder.You will get a zip file which will have jar file inside. Download TestNG jar file from any of the above sites.Remember you must remove old version from build path. Major disadvantage of using this approach is that you may or may not get the latest version of TestNG and also any upgrade need manual effort to download and add again to build path. You can download TestNG jar files from below sites: Sometimes you will find that TestNG is not getting installed using Market place and Install New software options.If you are using a normal Java project or I can say more specifically, if you are not using Maven or Gradle project.
0 Comments
Leave a Reply. |