Display Variable Value

This is a pre-built action under @Generic element instructs Avo Assure Client to display the variable value at the time of execution or debug.

Syntax

Input: <variable>

Note: The variable name should be within curly brackets.

Output: <Dynamic Variable> (optional) ;< Dynamic Variable> (Optional)

Use case/ Example

Scenario: Displaying Order Total during Checkout

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}.

Input

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.

Last updated

Was this helpful?