Sun Worklist Manager Service Engine User's Guide

Defining the Test Input

The test input file allows you to define the input data for the Worklist Manger application. You can modify this file after each test to run multiple tests.

ProcedureTo Define Test Input

  1. In the Projects window, expand the composite application, expand Test, and expand your test case.

  2. Right-click Input and select Edit.

  3. Modify the contents as needed. For example, wherever you see <value>?string?</value> select ?string? and replace it with a string of any length.

    Do not include the characters “<” (less-than sign) or “&” (ampersand) unless you use them with XML semantics.

  4. When you are satisfied, click Save.

  5. Right-click Output.xml and select Edit.

    If this file is empty, this is a special state that triggers a special operation when the test is run. Each time the test is run, the current output is compared to the contents of Output.xml. If any differences are detected, they are stored in the Actual_yymmddhhmmss.xml file under the test case. However, when Output.xml starts empty, the output is written to Output.xml. In each run after the first, assuming Output.xml is no longer null, its contents are preserved and is never overwritten by new results.