IBM Support

Configuring and Enabling Eclipse based applications

Troubleshooting


Problem

This note describes how to configure and enable an Eclipse 1.0 or 2.0-based application

Resolving The Problem

The information below is taken from the IBM® Rational® XDE™ Tester v. 2003 release notes:

To test an Eclipse 1.0-based application with XDE Tester, the user must
1. Configure XDE Tester and the application-under-test so that each runs in its own instance
of the Eclipse 1.0 shell.
2. Enable the application for testing by XDE Tester.

To configure XDE Tester and the application-under-test so that each runs in its own instance of the Eclipse 1.0 shell:

1. Create a separate metadata directory so that you can run a separate instance of the
shell.

Note that this directory does not need a special name or location. However, remember the name and location of this directory because you need to refer to it when configuring the application under test, as described in Steps 2 - 6.

2. In XDE Tester, open the Application Configuration tool by selecting Configure > Configure
Applications for Testing.

3. In the Application Configuration Tool dialog box, click Add.

4. In the Add Application dialog box, select Executable or Batch File and click Next.

5. In the File Edit dialog box, insert the full path name of the Eclipse 1.0 executable, which is
either of the following, depending on the type of application that is installed:

<drive letter>:\<path>\eclipse.exe

or
<drive letter>:\<path>\wsappdev.exe

6. In the Args text box of the Application Configuration Tool, specify a new metadata
directory by entering the following and then clicking OK:

-data <dir/path for metadata>

Note that if you have spaces in the names in your directory, you must put the full path in quotes.

To enable the application for testing by XDE Tester:

1. Copy the com.rational.test.ft.enabler.wsw plug-in (typically found in C:\Program
Files\Rational\XDE Tester\eclipse\plugins) to the plugins directory of the Eclipse-based
application you want to test; for example, C:\Program Files\IBM\Application
Developer\plugins.

2. After the Enabler directory is copied, start the target Eclipse-based application that you
want to test. In the application-under-test, select Perspective > Show View > Other.

3. In the Show View dialog box, select XDE Tester Enabler to expand the node and then
select XDE Tester Enabler View. This action adds the invisible XDE Tester Enabler view
to the Eclipse-based application.

Once the view is selected, the other open views resize to accommodate it. This resizing action confirms that the view is loaded. The XDE Tester Enabler view appears as a blank window.

The user is now ready to begin testing the Eclipse 1.0-based application under test with XDE Tester.

To test an Eclipse 2.0-based application in XDE Tester, the user must

1. Install XDE Tester and the application-under-test in separate instances of the Eclipse 2.0
shell.
2. Enable the application for testing by XDE Tester.

To configure XDE Tester and the application-under-test so that each runs in its own instance of the Eclipse 2.0 shell:

1. In XDE Tester, open the Application Configuration tool by selecting Configure >
Configure Applications for Testing.

2. In the Application Configuration Tool dialog box, click Add.

3. In the Add Application dialog box, select Executable or Batch File and click Next.

4. In the File Edit dialog box, insert the full path name of the Eclipse 2.0 executable, which is
either of the following, depending on the type of application that is installed:

<drive letter>:\<path>\eclipse.exe
or
<drive letter>:\<path>\wsappdev.exe

To enable the application for testing by XDE Tester, copy the com.rational.test.ft.enabler.wsw_2.0.0 plug-in (typically found in C:\Program Files\Rational\XDE Tester\eclipse\plugins) to the plugins directory of the of the Eclipse-based application to be tested, for example, C:\Program Files\IBM\WebSphere Studio\eclipse\plugins.

The user is now ready to begin testing the Eclipse 2.0-based application-under-test in XDE Tester.

Note: The procedures in this section also apply to users who are running XDE Tester in a configuration where it shares its shell with other products.



[{"Product":{"code":"SSSHZT","label":"Rational XDE Tester"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"--","Platform":[{"code":"PF033","label":"Windows"}],"Version":"2003;2003.06.00;2003.06.01;2003.06.12;2003.06.13","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
16 June 2018

UID

swg21157092