[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.hyades] Re: Automated testing


Hi Mitch,

Rational XDETester is capable of testing Eclipse, Eclipse plugins, RCP apps and vanilla SWT applications, however there is a small amount of work that needs to be done to enable these applications to be testable.  The steps that are necessary vary depending on what type of application you are testing.  I have spoken to some people here at Rational who are using XDETester to test RCP apps, and they have told me that you can enable an RCP app in the same manner that you can enable a standard Eclipse (non-RCP based) application.  This procedure is unchanged from the procedure for enabling Eclipse 2.0 based applications.  I am pasting the description (from the XDETester Release notes)  for your convenience.  Please contact IBM support if you are unable to use XDETester to test your RCP based app after following these instructions.  If you still have problems after that, please contact me directly and I'll make sure your question is properly answered.

Thanks,
--Joe


Using XDE Tester to Test Eclipse 2.0-based Applications

To test an Eclipse 2.0-based application in XDE Tester, you must perform two major tasks:
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.

Configuring XDE Tester to Test Eclipse 2.0-Based Applications
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

Enabling Eclipse 2.0-Based Applications for Testing
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 you want to test; for example,
C:\Program Files\IBM\WebSphere Studio\eclipse\plugins.
You are now ready to begin testing the Eclipse 2.0-based application-under-test in XDE Tester.