Modify Variable Value
Last updated
Was this helpful?
Last updated
Was this helpful?
This is a pre-built action located under @Generic element 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.
Initial Balance {InitialBalance}: 300 (Balance is updated to the account with a balance from 100to 300)
The variable {InitialBalance} is updated to reflect the new value to 300.
The updated quantity value stores in initialBalance as 300 which can be utilized for further work.