Enabling the Eclipse non-p2 based applications for functional testing

If the application under test is a non-p2 Eclipse based application, you can enable the Eclipse platform for functional testing using the Eclipse enabler.

Before you begin

HCL DevOps Test UI (Test UI) automatically enables the environments for functional testing. As a result, you can directly record functional test scripts without enabling components manually. The automatic enablement takes place under certain conditions and has limitations. For more information about the conditions and limitations, see Automatically enabled environment for functional testing.

Procedure

  1. Click Configure > Enable Environments for Testing fromTest UI.
  2. Click the Eclipse Platforms tab.
  3. Click Search. You can search for the Eclipse platforms in two ways:
    • Search all drives: Searches the Eclipse platforms in all your hard disk drives
    • Search in: Searches the Eclipse platform in the specific directory
  4. Select a search mechanism and click Search.
    The search results are listed in the left pane of Enable Environments window.
    Note: Use the Add button to browse to the Eclipse platform and add directly.
  5. Select the Eclipse platform that you want to enable from the left pane of the window. The detailed information consisting of the name and path of the selected Eclipse platform is displayed in the right pane of the window.
  6. To enable support for GEF, select the GEF support checkbox.
    The GEF enablement plugin is copied to the plugin directory of the AUT.
  7. Click Enable.
    The selected Eclipse platform is appended with Enabled in parentheses.
  8. Click Finish.
  9. If the application under test (AUT) is an Eclipse based rich client platform (RCP) application that shell shares with Test UI, do this:
    1. Click Configure > Configure Applications for Testing fromTest UI.
    2. Click Add to add the Eclipse application, and click Next.
    3. Select Executable file and click Next.
    4. Browse to the application executable file, and click Open.
    5. Click Finish.

      The application is listed in the Applications list in the Application Configuration Tool.

    6. In the Args field, specify -vmargs -Dft.testability=true.
    7. Click Run to start the application.
      Note: You must start an AUT that is an Eclipse based RCP application that shell shares with Test UI with the arguments -vmargs -Dft.testability=true, from the Application Configuration Tool.

What to do next

Configuring applications for testing