After you have determined the changes that you want to make to
the example import formatter, modify the code that specifies the source type,
configuration page and finish action.
Creating a customized import formatter requires knowledge of Java
programming.
To modify the source type, configuration page, and finish action:
:
- In the Eclipse Package Explorer view, expand the Example Importer
project and double-click plugin.xml to open the plug-in in the Editor view.
- Select the Extensions tab and expand the com.ibm.rational.test.mt.interfaces.importSourceTypes extension.
- Click Example Type (sourcetype).
- Under Extension Element Details, change
the Name field to the source format you want to import,
for example, Lotus Notes.
- Click com.ibm.rational.test.mt.interfaces.importSourceTypes.
This reads the new source type name and displays it in the All Extensions tree
view.
- Click (configpage) to modify the configuration
page and finish action.
- Change the source-type text field from Example
Type to one of the source type you are using source types provided, Microsoft
Excel, Microsoft Word, or TestManager ManualTest.
- Change the display-name field to the name
of the import formatter you are creating. This name is displayed in the list
of source type formatters in the import wizard.
- Modify the display-class to define the UI
widgets that are displayed on the Manual Tester configuration
page.
- Change the finish-action-class that is called
when the Finish button is clicked
- Click .
Eclipse saves your modifications to the source type, configuration
page, and finish action. If these changes are correct, you can build the import
formatter Eclipse plug-in.