Create Dynamic Variable

This is a pre-built action, located under @Generic element. This action instructs Avo Assure to create a dynamic variable and assign the value according to the input value and save the result in dynamic variable.

Syntax

Input Value: <variable name>;<value to be stored>

Argument
Description

variable name

(Required)

The name of the variable you want to create

<value to be stored>

(Required)

The actual data you want to store in the variable. Supported variable: Number, string, alphanumeric, special characters, etc

Output Value:

Argument
Description

<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)

This variable stores the status as true or false

Example

Create a dynamic variable at runtime with a specific value The Create Dynamic Variable action takes input in the format {VariableName};Value (e.g., {Username};AdminUser) from the Input Value column. It stores the specified value (AdminUser) in the dynamic variable named {Username}, which can be used across multiple steps in the Test Case. The action's execution status is stored in the {Status} variable with the following possible values:

  • True – if the variable is created and assigned successfully

  • False – if the action fails

variable
Input Value (syntax)
Result

Text Strings

{String};AdminUser

AdminUser

Numeric Strings

{Number};35629

35629

Special Character

Alphanumeric strings

{Alphanumeric};OR1002

OR1002

Array

{Array};1,2,3,4,5

{Array}=[1,2,3,4,5]

Last updated

Was this helpful?