Update projects created before LeanFT 12.53

For Java projects that were created in Eclipse or Spring Tool Suite using LeanFT templates prior to LeanFT 12.53, we recommend that you restructure their libraries to allow for seamless upgrade of these projects in future versions of UFT Developer.

To restructure the libraries, do the following:

  1. Open your project in Eclipse or Spring Tool Suite.
  2. Right click the project root and select Build Path > Configure Build Path….

  3. Click the Libraries tab.

  4. Select all the UFT Developer jars, and click Remove.

  5. Click Add External JARs, and navigate to the <UFT Developer installation>\SDK\Java.

  6. Select jars as follows:

    Project type Required jars
    Application Model com.hp.lft.sdk-standalone.jar
    JUnit
    • com.hp.lft.verifications.jar
    • com.hp.lft.report.jar
    • com.hp.lft.sdk-standalone.jar
    • com.hp.lft.unittesting.jar
  7. Click Open.
  8. Expand com.hp.lft.sdk-standalone.jar, select Javadoc location, and click Edit.

  9. Select Javadoc in archive, and browse to <UFT Developer installation>\SDK\Java\com.hp.lft.sdk-javadoc.jar.

  10. Click Open, and then OK.

  11. Delete the lib folder from the project.

  12. Save the project.

See also: