Last updated
Was this helpful?
Last updated
Was this helpful?
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.
Input Value: <variable whose value needs to be changed>;<new value>
Note: The variable name should be within curly brackets.
Output Value:
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
Knowledge Bites: Below are some examples of different variable scenarios
Text Strings
{String};User
Admin
Numeric Strings
{Number};35629
43578
Special Character
{Email ID};John@gmail.com
Alice@gmail.com
Alphanumeric strings
{Alphanumeric};OR1002
OR1005
<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
<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
This variable stores the status as true or false