Edit Input/Output Property/Parameter Dialog Box (API Testing)

Relevant for: API testing only

This dialog box enables you to define custom input or output properties for the current step or input or output parameters for a test.

Add Property for Custom Code or .NET Assembly Activities

Option Description
To access
  1. Do one of the following:

    • Ensure that an API test or component is in focus in the document pane.

    • In the Solution Explorer, select an API test or component.

  2. Add a Custom Code or .NET Assembly activity to the canvas.

  3. Select the Properties pane's Input/Checkpoints tab.

  4. In the parameters grid, select a parameter

  5. Click the Edit button .

Relevant tasks

The following elements are included (unlabeled elements are shown in angle brackets):

UI Element

Description

Name

A name for the property.

Type

For Simple types, a drop down list of simple data types, such as String or Integer.

Filter

For Advanced types, a textual expression by which to filter the displayed assemblies. For example, to show only those assemblies that begin with the system prefix, enter system.

Simple

Shows the simple data types, such as String or Integer.

Advanced

Shows an extensive list of types, including all .NET types and DLLs referenced by the test, and all types from the imported assemblies.

<list of properties>

A list of the types, including .NET types, types from DLLs referenced by the test, and all types of the imported assemblies.

Description

A description of the property.

Back to top

Add Input/Output Parameter for Test Settings

The image below shows the dialog used to add an input parameter. This example also shows the options available when adding a test parameter to a test stored on an ALM server with Lab Management.

Option Description
To access
  1. Create or open an API test or action.

  2. Select the Start or End steps in the canvas.

  3. Click the Properties pane's Test Input/Output Parameters tab.

  4. In the parameters grid, select a parameter

  5. Click the Edit button .

Relevant tasks

Run a test using Server-Side Execution.

See also

Run tests in Server-Side Execution

The following elements are included:

UI Element

Description

Name

A name for the parameter. A default name for the parameter is provided.

Type

A drop down list of simple data types, such as String or Integer.

For parameters linked to ALM AUT parameters, the type will always be String.

Default Value

A default value for the parameter, used during the run session if no other value is provided for the parameter.

For ALM AUT parameters, you can set this value by selecting Copy default value (override) in the Select AUT Parameter Dialog Box.

ALM AUT Parameter

The path to an ALM AUT Parameter from the Lab Resources > AUT Environment module in ALM Lab Management.

You cannot edit the text in this box. Use the Select ALM application parameters to enter an AUT parameter.

Note: Available only if OpenText Functional Testing is connected to an ALM server that has the Lab Management module, and a test stored on that server is selected in the solution explorer.

Select ALM application parameters. Opens the Select AUT Parameter dialog box for selecting a parameter from an AUT environment defined in the Lab Resources > AUT Environment module. For details, see Select AUT Parameter Dialog Box.

Note: Available only if OpenText Functional Testing is connected to an ALM server that has the Lab Management module, and a test stored on that server is selected in the solution explorer.

Remove link to ALM application parameters. Removes the linking of the selected parameter from ALM. This parameter will now be an ordinary test parameter.

Note: Available only if OpenText Functional Testing is connected to an ALM server that has the Lab Management module, and a test stored on that server is selected in the solution explorer.

Description

A description of the parameter.

Back to top

Add Input/Output Property for REST Service Steps

Option Description
To access
  1. Do one of the following:

    • Ensure that an API test or component is in focus in the document pane.

    • In the Solution Explorer, select an API test or component.

  2. Click the Add REST Service button in the OpenText Functional Testing toolbar. The Add REST Service dialog box opens.

  3. Create a REST method, service, or resource.

  4. Click the Custom Input/Checkpoints tab in the right pane .

  5. Click the Add button and select one of the following:

    • Add Input Property

    • Add Output Property (for REST methods only)

Relevant tasks

Create a REST service model.

See also

Add/Edit REST Service Dialog Box

Back to top