New Member.

Issues with leanFT Junit test case

I have been trying to use leanFT with eclipse, i installed it useing my UFT setup.

The issue i an facing is that that when i make a LeanFT JUnit test case class i get many errors which are not resolving i have tried reinstalling leanFt multiple time but that doesnt help, tried putting junit jar externally that doesnt help either i am out of options 

i am attaching an image of the errors i am facing 

1 Reply
Respected Contributor.
Respected Contributor.

Re: Issues with leanFT Junit test case

Hi Raza

when working with LeanFT templates, the test has a dependency in a class called UnitTestClassBase.

If you created a project without the LeanFT templates and added just the JUnit test case - you need to either copy the UnitTestClassBase from a LeanFT project into yours or remove the inheritance from this class.




The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.