Run LeanFT tests

To run your tests locally, you compile your project, and then use either your testing framework's runner, such as NUnit or JUnit, to run your compiled .dll or .jar, or any other relevant runner.

Note: LeanFT tests can be run using any of the supported licenses, including the UFT Runtime license.

Before you run your tests

Check the following before you run your test:

Note: When you run a LeanFT test based on a LeanFT template, the inherited UnitTestClassBase launches the LeanFT engine, enabling LeanFT to interact with your application during the run.

Back to top

Run multiple tests in parallel

Rather than waiting for each test to execute individually, you can run multiple tests in parallel on the same host machine. In this way, more tests can be run at a time, thereby decreasing overall time spent on testing. You can also run a test with multiple data sets in parallel on the same host machine.

You can run parallel testing on:

  • Native and hybrid mobile applications
  • SAPUI5-based applications
  • Web applications in the following browsers:

    Browser Window Linux
    Mac Mobile
    Google Chrome
    Google Chrome (on Android)


    N/A N/A
    Mozilla Firefox

    Safari (on iOS) N/A N/A

Create and run your tests in a unit testing framework that supports running tests in parallel. LeanFT supports TestNG and NUnit 3, but you can also use a custom framework that launches tests in parallel.

For details, see Run parallel tests in LeanFT

Note: LeanFT handles up to 4 execution operations (steps) in parallel.

Back to top

Run tests remotely

You can run LeanFT tests from your local computer, even if the application you want to test is located on a remote computer. This requires adjusting settings for your test, configuring the runtime engine settings on the remote computer, and in most cases, setting up secure communications between the two computers.

For details, see Run tests remotely.

Back to top

Run LeanFT tests in ALM

You can use ALM tracking and traceability features to manage automated LeanFT tests and business components.

For details, see Integrate LeanFT and ALM (Windows only).

Back to top

Add tests into the Continuous Integration system

When your tests are ready for integration into your organization's automation testing suite, you can add them to Jenkins or another continuous integration build system. For details, see Run tests in Jenkins or other CI systems.

Back to top

See also: