Modify Variable Value

This is a pre-built action located under @Generic element instructs Avo Assure to change the value in existing variable to another variable value and save the result in dynamic variable.

Syntax

Input Value: <variable whose value needs to be changed>;<new value>

Argument
Description

<variable whose value needs to be changed>

(Required)

The name of the variable you want to update or change

<new value> (Required)

The new value you want to assign to the variable. 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

Modify the value of an existing variable during test execution The Modify Variable Value action takes the value from the Input Value column (e.g., {Username};User) and updates the value of the existing variable Username to Admin. This is useful when test data needs to be dynamically changed during the execution flow. The updated value is stored in the same variable, and the action status is saved in the {Status} variable with the following possible values:

  • True – if the variable is updated successfully

  • False – if the action fails

variable
Input Value (syntax)
Result

Text Strings

{String};User

Admin

Numeric Strings

{Number};35629

43578

Special Character

Alphanumeric strings

{Alphanumeric};OR1002

OR1005

Last updated

Was this helpful?