Wiki source code of SetVarConcat
Last modified by Outhman Moustaghfir on 2024/02/26 17:12
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | = Overview = | ||
2 | |||
3 | The `SetVarConcat` function is designed to help you easily update and concatenate values to variables during the execution of scenarios in your application. | ||
4 | |||
5 | = Purpose = | ||
6 | |||
7 | This function is useful when you need to modify the content of a variable dynamically within a scenario. | ||
8 | |||
9 | = Parameters = | ||
10 | |||
11 | * **variable_name**: (Type: string) The unique identifier for the variable. | ||
12 | * **value**: The new value to concatenate with the existing variable value. | ||
13 | * **global**: (Type: boolean, Optional) Specifies whether the variable is global or local. Defaults to False | ||
14 | |||
15 | = Uses = | ||
16 | |||
17 | {{code language="XML"}} | ||
18 | <TEST><xsl:value-of select="ixf:SetVarConcat('variable_name','ValueToConcat','false')"></xsl:value-of></TEST> | ||
19 | |||
20 | {{/code}} | ||
21 | |||
22 | = = |