Configure the Selenium Java project

It is recommended to use Maven to configure your Java project.

Maven projects

In a Java Maven project, you need to add a dependency to the Maven settings file (pom.xml) using the examples below:

  1. Repository:
    <repositories>
    	<repository>
        	<id>neotys-public-releases</id>
    	    <url>http://maven.neotys.com/content/repositories/releases/</url>
       		<releases><enabled>true</enabled></releases>
    	    <snapshots><enabled>false</enabled></snapshots>
    	</repository>
    </repositories>
    
    
  2. Dependency:
    <dependencies>
    	<dependency>
    		<groupId>com.neotys.selenium</groupId>
    		<artifactId>neotys-selenium-proxy</artifactId>
    		<version>2.1.0</version>
    	</dependency>
    	<dependency>
    		<groupId>org.seleniumhq.selenium</groupId>
    		<artifactId>selenium-java</artifactId>
    		<version>2.53.0</version>
    	</dependency>
    </dependencies>

Non-Maven projects

Before integrating with NeoLoad, test your Selenium script to make sure it is functional.

You can then add the additional JAR below and follow this User Guide to integrate the NeoLoad wrapper.

If your project is not developed using Maven, it is necessary to include: