Modifying the Export Formatter

If you want test results stored in a format other than CSV or the default HTML format, you can create an export formatter in the output format that you want. To create a customized export formatter, modify the example export formatter included in Manual Tester.

Creating an export formatter requires knowledge of Java programming.

Ensure that Eclipse is installed and running on your machine.

To modify the example export formatter:
  1. From within Eclipse, expand the HTML Exporter project.
  2. Double click plugin.xml to open the file in the Eclipse editor.
  3. Click the Extensions tab.
  4. Expand com.ibm.rational.test.mt.interfaces.exportFormatter.
  5. Under Extension Details, change the Name field to the specify the name you want for your customized export formatter. This is the name that the export wizard displays in the Format for exported data list.
  6. Modify the run() method to output the export data in the appropriate format.
  7. Modify the formatAndExportEventmethod to process the data according to your needs.
  8. Click File > Save.
Eclipse saves your modifications to the export formatter. If these changes are correct, you can build the import formatter Eclipse plug-in.

Parent topic: Creating an Export Formatter

Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.