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.
Procedure
- Click from
Functional Tester.
- 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 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 Rational
Functional Tester, do this:
- Click from
Functional Tester.
- 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 Rational Functional Tester with the arguments -vmargs
-Dft.testability=true, from the Application Configuration
Tool.