You can customize your log files by configuring the plug-ins to
extend an extension point and writing a class that designs your log.
About this task
To extend a log:
- Create a new plug-in project. By default, the
Eclipse environment displays the project Overview after
you create the project.
Note: If the project Overview is
not displayed by default, right-click MANIFEST.MF under
the META-INF folder, and click .
- Click the Dependencies tab, and click Add under Required
Plug-ins.
- Select com.rational.test.ft.core from the Plug-in
Selection list, and click OK.
- Save the plugin.xml file.
- Click the Extensions tab, and click Add.
- Select the com.rational.test.ft.core.logExtension extension
point from the list, and click Finish.
- Type the extension ID and Name.
- Right-click com.rational.test.ft.core.logExtension in
the left pane of Extensions window.
- Click . The log file is displayed under the extension
file.
- In Extension Element Details, specify the
properties of the log.
- Type a unique ID for the log in LogID field. Rational Functional Tester uses this LogID
to list the log type on the Preference Page.
- Type a class name in Class field. This
class name extends the base class LogExtensionAdapter.
- Optional: Type a description of the log in Description field.
- Save the project.