Previous Topic: Building SubprocessesNext Topic: Convert an Existing Test Case into a Subprocess


Create a Subprocess Test Case

Follow these steps:

  1. Create a test case or open an existing one.
  2. Open the Test Case Information tab of a test case.

    To open the Test Case Information tab, click anywhere in the empty space in the model editor (without selecting a step). The Test Case Information tab opens in the right panel.

  3. To make this test case a subprocess, select the This is a subprocess box.

    By default, a test case is not designated to be a subprocess.

  4. Two new tabs for Subprocess Input and Subprocess Output Parameters are added.
  5. In the Documentation tab, provide some detailed documentation of the subprocess.

    This text is visible in any test step that calls the subprocess.

  6. When you have finished adding the subprocess steps, configure the input and output properties for the subprocess.
Define Subprocess Input Properties

Follow these steps:

  1. Click the Subprocess Input Parameters tab.
  2. Define the input parameters and the prospective input parameters.

    A list of the parameters that the subprocess requires appears in the Subprocess Input Parameters field. Some parameters are added automatically. You can add other parameters if necessary.

  3. To add a property, click Add Icon - plus sign at the bottom of this panel.
  4. Enter the values for Key (property name), Description, and Default Value.

    The default value is used when you run the subprocess in the Interactive Test Run facility (ITR). This value lets you test the subprocess as though it was a regular test case. These default values are ignored when another test step invokes the subprocess.

  5. To remove unwanted properties, use the Delete button LISA--icon_image_slantedblackx.
    Prospective Input Parameters (may be required parameters)

    If DevTest finds a possible input property in the subprocess, the property is listed in this field. If it is a valid input property, use the Add button to promote this property to the Subprocess Input Parameters list.

Define Subprocess Output Parameters

Subprocess Output (Result) Properties: A list of all the properties that the subprocess sets. A list of the parameters that the subprocess requires appears in the Subprocess Output Parameters field. Some parameters are added automatically. You can add other parameters as necessary.

To add a property, use the Add button Icon - plus sign at the bottom of this panel.

To remove properties that you do not want to be made available to the calling step, use the Delete LISA--icon_image_slantedblackx button.

After the input and return properties are checked, and all the input parameters have default values, you can run the subprocess in the ITR.