About Customizing the Example Export Formatter

Manual Tester includes an export formatter that you can use to export a test log to a CSV text file. You can also create a formatter that exports your test results to another format. For example, if you want to easily share the test results, you might want them in the HTML format. This topic explains how to determine the type of export formatter you need and how you want to customize it.

Creating a customized export formatter requires knowledge of Java programming.

If you do not want to use the default export formatter, you can

Export Formatter with Default HTML Output

To determine if the example export formatter meets your needs, you can build it without modifications and export a test log.

If you are satisfied with the HTML format, you can change the name of the example export formatter and the .jar file to create, and build the export formatter. Copy the export formatter to Manual Tester to make it available to Manual Tester users.

Export Formatter with Modified Output

If the example export formatter does not meet your needs, you can modify it to create output in another HTML format or in another format. For example, if you use a customized database to store your test results, you can create an export formatter to export Manual Tester logs to that database format. You can use and store Manual Tester test logs with your existing test results data.

To customize the example export formatter, determine the modifications to make to the example Java code.

Methods Description
run() Is called when the Finish button is pressed. Defines the output format of the exported data.
formatAndExportEvent() Defines the properties or attachments that are exported. Formats and outputs the data into the export format. This method is called for each test result event.

Parent topic: Creating an Export Formatter

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