Enabling the Eclipse p2- based applications for functional testing
If the application-under-test is based on p2-based Eclipse, you must enable the Eclipse platform for testing using the Eclipse Software Updates feature.
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.
Enabling applications based on Eclipse version 3.4 and later
You can enable applications that are based on Eclipse version 3.4 and later using the Eclipse Software Updates feature.
Procedure
- Open the application under test.
- Click .
- Click the Available Software tab.
- Click Add Site.
- Click Local.
-
Browse to the EclipseEnabler directory under the
FunctionalTest
folder in the product installation location. - Click OK.
Enabling applications based on versions prior to Eclipse version 3.4
You can enable applications that are based on Eclipse versions prior version 3.4 for testing using the Eclipse Software Updates feature.
Procedure
- Open the application under test.
- Click .
- Select Search for new features to install in the Feature Updates dialog and click Next.
- Click New Local Site in the Update sites to visit page.
-
Select the EclipseEnabler directory found under the
FunctionalTest
folder in the product installation location. Click OK. - Specify the name for the local site in the Name field and click OK. The site name is listed in the Update sites to visit page.
- Select the site from the list and click Finish. The specified directory, along with its sub folders, is listed in the Search Results page.
- Select the main directory in the Search Results page and click Next.
- In the Feature License page, select I accept the terms in the license agreement and click Next.
- Click Finish.
You can verify that the Eclipse application is enabled for testing by checking that the com.rational.test.ft.enabler.wsw plugin is added to the Plugins directory of the Eclipse application.
Note: Some Eclipse based RCP applications may not have the option. In this case you can copy the com.rational.test.ft.enabler.wsw_7.0 plugin manually from the FunctionalTest\EclipseEnabler\Plugins directory from the product installation location into the Plugins directory of the RCP application. After doing this, restart the RCP application with the -clean option.