55.2 Setting values in the procedure call
In addition to converting node sequences, it is useful to set the appropriate Variable definitions when generating the Procedure call, optionally enter a name for the Variable for return value, and set doctags or add a comment to the Comment.
55.2.1 Setting parameters in the procedure call
The nodes to be converted often contain values that should be transferred to the
Variable definitions of the procedure call - for example the Text
of a Text input or the QF-Test component ID. The
set procedure call parameters section of a definition specifies
which values from the recorded node should be entered into the procedure call under
which parameter name.
Both the parameter name and the parameter value can contain Placeholders, which are replaced by the corresponding values of the recorded node during processing. This allows attribute values of the node or identification properties of the associated component to be used as the parameter value.
If multiple nodes in a definition contribute to the same parameter, the
overwrite option controls whether
an existing value is kept or overwritten, or whether the new value is appended to
the existing one with a separator.
55.2.2 Setting a variable for the return value
A Variable for return value can be entered in the created procedure call,
see set variable for return value.
55.2.3 Setting a comment/doctags
The Comment of the Procedure call definition can be transferred to the procedure call
via the option OPT_RECORDING_PROCESSOR_COMMENT_CONTENT - either the entire comment,
only specific doctags, or not at all. In addition, the
doctags section in the YAML code
provides the option to define doctags.