Modify Variable Value
Last updated
Last updated
This is a pre-built action in Avo Assure and comes under @Generic element. This action instructs Avo Assure Client to change the value in existing variable to another variable value.
Input: <variable whose value needs to be changed>; <new value>
Note: The variable name should be within curly brackets.
Output: <Dynamic Variable> ;< Dynamic Variable> (Optional)
You are testing a Banking application where a user is deposited and withdrawal of the money from a bank account. It allows you to modify the bank Balance according to transaction of money in account. It ensures that the system responds correctly to user actions after each transaction changing amount and helps verify that bank balance is updated accordingly. The initial Balance stores a value of 100 and the modified bank Balance updates this to 300.
Input Data
nitial Balance {InitialBalance}: 300 (Balance is updated to the account with a balance from 100to 300)
2. Expected Result:
The variable {InitialBalance} is updated to reflect the new value to 300.
Output: The updated quantity value stores in initialBalance as 300 which can be utilized for further work.