If
Last updated
Was this helpful?
Last updated
Was this helpful?
This action of Avo Assure available under the @Generic element instructs Avo Assure client to check if the condition is satisfied or not. If the condition is satisfied, then it will execute IF part and when the condition is not satisfied then it will execute ELSE part.
Input: (<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 operations or keyword that performs a specific operation on one or more operands.
Supported Input Format:
1. Text
2. Static values/ Dynamic variables
3. Supported operators: >, <, ==, >=, <=,!= along with the logical operators AND, OR, NOT
Output: N/A
In a bank application, users want to test a banking application that determines whether a user is eligible for a loan based on their income. The criteria for eligibility are Income must be at least $50,000 more than that.
As per the input value is 75000 and the compare value is 50000, and the operator is greater than or equal to, so in this condition it will check the condition.
If Salary greater than or equal to 50000
if yes, then it executes If block.
The user enters a salary of $75,000
Salary=$75000
It needed to satisfy the condition, and the person will be eligible for a loan.
Output is displayed as person “Eligible for a loan.”