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. Note: Variable name should be enclosed between underscores (for ex: _var_).

<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.

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?