Evaluate
Last updated
Last updated
Description & Usage:
This action in Avo Assure under the @Generic element instructs the Avo Assure client to execute mathematical operation based on the provided input value and store the result in output variable.
Syntax:
(<operand1>;<operator>; <operand2>)
An operand is the value or data that an operator acts upon. It can be a constant (number, string, etc.)
An operator is a mathematical operation or keyword that performs a specific operation on two or more operands.
Supported Input Format: Static values/ Dynamic variables
Supported operators: +, -, /, ^, *
Output: <Dynamic Variable>;<Dynamic Variable>(Optional)
Use case/Example:
Scenario: Testing a Simple Calculator Application
In this scenario, users are testing a basic calculator application that performs arithmetic operations: addition, subtraction, and multiplication. The user wants to multiply two numbers. According to the input value, the user can enter the required values. Once the debugging process begins, the two operands (10 and 5) will be multiplied together, and the result will be stored in the “Output” variable.
Input: In the given Input as (10) *(5)
Expected result: This action needs to get 50 as a result in the output variable.
Output: The output variable {Output} contains the value 50, which can be utilized for display or other purposes.