
There is a variety of IDE’s available in the market, such as NetBeans, Eclipse, BlueJ, IntelliJ, etc. An IDE normally consists of at least a source code editor, build automation tools and a debugger. An integrated development environment (IDE) is a software application that provides comprehensive facilities to computer programmers for software development. We are finished installing TestNG and adding TestNG as a library.IDE (Integrated Development Environment) is an important prerequisite to getting started with automating test cases using Selenium.
Right click JRE System Library (or Referenced Libraries). Right click on the src directory within the Package Explorer. There’s more than one way to add a TestNG Library but we are going to do so by configuring the build path. Let’s go ahead and add the TestNG Library now.
We have the option of adding our TestNG Library now or waiting until we import an annotation.
In the Add Repository pop-up, type TestNG for Name and for LocationĪfter installing TestNG, we must add the TestNG Library. If TestNG Eclipse does not come up for you as an auto-suggestion then click the Add button. # How To Install TestNG Using Install New SoftwareĪnother way to install TestNG is through "Install New Software". This shows up because TestNG is 3rd Party plugin. Select "I accept the terms of the license agreement"Ī security warning shows up to let you know you are installing software that contains unsigned content. # How To Install TestNG Using Eclipse Marketplaceįirst, I’ll show you to how install TestNG using Eclipse Marketplace.Ĭlick the Confirm button after making sure all of the checkboxes are checked The focus in this chapter will be installing TestNG using Eclipse but I will provide a reference link for NetBeans, IntelliJ, Ant, and Maven. In addition to the IDEs and build tools, we can use the command line or download the TestNG jars. Next, we can setup TestNG using build tools Ant or Maven. The compatible IDEs are Eclipse, NetBeans, and IntelliJ.
IDE stands for Integrated Development Environment. In this chapter, we will discuss the various ways to install TestNG and then demonstrate hoow to install TestNG using Eclipse.