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.
IBM® 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.
- Click fromTest UI.
- Click the Eclipse Platforms tab.
- 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
- 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.
- 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.
- To enable support for GEF, select the GEF support checkbox.
The GEF enablement plugin is copied to the plugin directory
of the AUT.
- Click Enable.
The
selected Eclipse platform is appended with Enabled in parentheses.
- Click Finish.
-
If the application under test (AUT) is an Eclipse based rich client platform (RCP) application
that shell shares with Test UI, do
this:
-
Click fromTest UI.
-
Click Add to add the Eclipse application, and click
Next.
-
Select Executable file and click Next.
-
Browse to the application executable file, and click Open.
-
Click Finish.
The application is listed in the Applications list in the Application
Configuration Tool.
-
In the Args field, specify -vmargs
-Dft.testability=true.
-
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.