Skip to main content

SeeTestAutomation- Java TestNG

info

Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .

To export a code to TestNG, you need to:

  1. Get the test code in Java language.
     

       

  2. Integrate SeeTestAutomation and TestNG.

Following is a step-by-step description of how to do it.

  1. Get test code in Java
    1. In SeeTestAutomation go to the "Code" tab and select TestNG.
    2. The test in the requested code language will show up and you can copy it to clipboard using the "Copy to clipboard" button.

Integration of SeeTestAutomation with TestNG

Step 1: Create Java project.

Step 2: Integration is achieved via built-in jar files located  in your installation directory  at ...\clients\java.

Right click on the project. Choose configure build path >> Libraries.

Step 3: Add the following external jars:

  • imageClient.jar
  • ws-commons-util-1.0.2.jar
  • xmlrpc-client-3.1.2.jar
  • xmlrpc-common-3.1.2.jar

Step 4: Add the library TestNG