Extending a log
You can customize your log files by configuring the plug-ins to extend an extension point and writing a class that designs your log.
Before you begin
To extend a log:
Procedure
- Create a new plug-in project. By default, the Eclipse environment displays the project Overview after you create the project.
If the project Overview is not displayed by default, right-click MANIFEST.MF under the META-INF folder, and click Open With > Plug-in Manifest Editor.
- Click the Dependencies tab, and click Add under Required Plug-ins.
- Select com.ibm.rational.test.ft.playback 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.playback.logExtension extension point from the list, and click Finish.
- Type the extension ID and Name.
- Right-click com.ibm.rational.test.ft.playback.logExtension in the left pane of Extensions window.
- Click New > Log. 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.