If you have not downloaded and installed Eclipse IDE yet, you can download it from https://www. eclipse. org/ide/. When installing Eclipse, be sure to select the option to install Eclipse IDE for Java Developers.

If this is the only Eclipse project you are working on, you can click the checkbox that says “Use this as the default and do not ask again” so that you do not have to select a workspace folder every time you open Eclipse.

If this is the only Eclipse project you are working on, you can click the checkbox that says “Use this as the default and do not ask again” so that you do not have to select a workspace folder every time you open Eclipse.

If this is the only Eclipse project you are working on, you can click the checkbox that says “Use this as the default and do not ask again” so that you do not have to select a workspace folder every time you open Eclipse.

Click File in the menu bar at the top. Click New. Click Project. Expand the Maven folder. Select Maven Project and click Next. Click the checkbox next to Create a simple project and click Next.

Neither the Group ID or Artifact ID can contain any spaces or special characters. This creates a new Maven project. Additionally, you can enter a name and a description for your project.

If you don’t see XML code in the main window, click the pom. xml tab below the main window.

Unlike regular Java project which require you to add JAR files to your project build, Maven allows you to add dependencies to your POM file, which gives you an easy location to manage all your dependencies. [2] X Research source [3] X Research source To keep things organized and clear, you may want to add a couple of line spaces in between the opening “” and the closing “” tag.

Make sure you have the “Maven” tab selected at the top of the code box.

Make sure you have the “Maven” tab selected at the top of the code box.

Make sure you have the “Maven” tab selected at the top of the code box.

Make sure you have the “Maven” tab selected at the top of the code box.

POM dependencies should contain three tags. One for the group ID of the dependency (i. e. , “org. seleniumhq. selenium”), the artifact ID (i. e, “selenium-java”), and the version number (i. e, “4. 1. 3”. )

POM dependencies should contain three tags. One for the group ID of the dependency (i. e. , “org. seleniumhq. selenium”), the artifact ID (i. e, “selenium-java”), and the version number (i. e, “4. 1. 3”. )

If you prefer to use a different test engine, or you want to add your own dependencies to your Selenium Maven project, go to https://mvnrepository. com/ in a web browser and use the search bar at the top of the page to search for the dependencies you want to add. Click the dependency you want to add and copy and paste the code into your “pom. xml” file.

If you prefer to use a different test engine, or you want to add your own dependencies to your Selenium Maven project, go to https://mvnrepository. com/ in a web browser and use the search bar at the top of the page to search for the dependencies you want to add. Click the dependency you want to add and copy and paste the code into your “pom. xml” file.

Click Help in the menu bar at the top. Click Eclipse Marketplace. Type TestNG in the search bar next to “Find” and press Enter. Click Install below the “TestNG” banner.

Main: The “main” folder in “src” is where all your primary source material is stored. All your main project code and source material used to build your project goes here. . Test: The “test” folder in “src” is used to store any test code or additional resources needed to execute your project.