Display 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 display the variable value at the time of execution or debug.
Input: <variable >
Note: The variable name should be within curly brackets.
Output: <Dynamic Variable> (optional) ;< Dynamic Variable> (Optional)
Suppose you are testing an e-commerce application where you want to verify the total order amount after adding multiple items to the shopping cart. It can help you confirm that the variable holding the order total has the correct value of items before proceeding to payment. This is particularly useful in complex scenarios where multiple calculations occur, such as checkout flows, ensuring accuracy at each step. It Verify that the displayed value of {ordertotal}.
1. Input Data:
Variable: {Ordertotal} which contains the total price of items in the shopping cart.
Expected Result:
It needs to display the current value of {Ordertotal}.
Output: The variable {result} displays the status of execution as true; it can be used for display purposes.