Create Constant Variable

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

Syntax

Input Value: <Constant Variable>;<Value>

Argument
Description

<Constant Variable>

(Required)

The name of the constant variable you want to create.

<Value> (Required)

The fixed value you want to assign to the constant. Supported variable: Number, string, alphanumeric, special characters, URL, etc

Output Value:

Argument
Description

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

This variable stores the status as true or false

Example

Create a constant variable with a fixed value The Create Constant Variable action takes the value from the Input Value column (e.g., {AppURL};https://avotestlab.avoassure.ai) and creates a constant variable named AppURL with the value https://avotestlab.avoassure.ai Constant variables remain unchanged throughout the test execution. The action status is saved in the {Status} variable with the following possible values:

  • True – if the constant variable is created successfully

  • False – if the action fails

variable
Input Value (syntax)
Result

Text Strings

{String};AdminUser

AdminUser

Numeric Strings

{Number};35629

35629

Special Character

{AppURL};https://avotestlab.avoassure.ai

https://avotestlab.avoassure.ai

Alphanumeric strings

{Alphanumeric};OR1002

OR1002

Last updated

Was this helpful?