Wie können wir Ihnen helfen?
< Zurück
Drucken

Link building blocks

In order for a building block to work with correct data or for the calling test case to learn about data generated in the building block, it is important that parameters are passed correctly. This happens via input and output parameters in the building block call.

 

Building block call – Parameter passing via variable / fixed values:

  1. Edit the building block call with the “Edit step” button.
  2. The “Input parameters” are used to transfer data to the building block. All variables available in the building block are displayed in the drop-down menu.
  3. Select a variable and add it via the “Add input parameter” button.
  4. Define whether the transfer should happen via a “value” or via a variable.
  5. If the parameter is passed as a fixed value, enter the relevant value, if it is passed via a variable, assign the relevant variable.
  6. Carry out steps 3 – 5 for all necessary input parameters.
  7. Under “Output parameters”, data generated in the building block is returned to the calling test case.
  8. Select a variable from the drop-down menu and add it via the “Add output parameter” button.
  9. Assign a variable to the output parameter.
  10. Perform steps 8 – 9 for all necessary output parameters.
  11. Confirm your parameter assignment via the “Apply” button.

 

Building block call – Parameter transfer with reference to other building block call:

Parameters of a building block call can be used directly as input parameters for another building block call. This makes it unnecessary to create separate variables for return parameters.

  1. Edit the building block call via the “Edit step” button.
  2. Select as “Value” the step with the building block call to which you want to refer.
  3. Select the relevant variable from the building block call.
  4. Carry out steps 2 – 3 for all necessary input parameters.
  5. Confirm the input with the “Apply” button.

 

 

Building block call – Delete parameter assignment:

  1. Edit the block call via the “Edit step” button.
  2. Delete the variable assignment via the “Remove” button.
  3. Confirm the changes with the “Apply” button.
Inhaltsverzeichnis