


Step 5: Now, you will see TestNG added to your project libraries. Step 4: Choose TestNG from the list of libraries and click Next. To make it a TestNG project just navigate to the Libraries tab and click on the Add Library button. Step 3: On the next screen, you will see the Java settings for your new project. Step 2: Give your project a name for example, ‘ LambdaTestNG’ and click on Next. Step 1: Navigate to File > New > Java Project. Create TestNG Project In Eclipseįirst of all, you will need to launch Eclipse and then follow the steps below to create a new TestNG project. We will be using these to add External JAR files later in this Selenium TestNG tutorial. – Visit the official website and hit the download button for Java file.ĭownload and extract these Selenium bindings. Here’s what you need to have installed in your system-ĭownload Selenium WebDriver and Client for Java. We will begin by setting up a TestNG project first and then move on to writing the scripts.īefore getting started, we will quickly list down the prerequisites for getting started with a TestNG project, so that you can continue without any hiccups. In this article, we will create a TestNG project from scratch and write our very first test script using TestNG. Subsequently, we saw how we could convert our existing Java projects into TestNG projects in Eclipse. In a recent article, we installed TestNG in Eclipse and did some environment set up for the same.
