IF element
Test against an expression and if it evaluates to true executes the THEN flow container.
When to use?
When we want to test an if expression and execute certain block of code depending on the outcome.
How to use:
- In the TEST field enter an expression,
example: ${number == 8}
- Add other elements to THEN container,
example(text response): number ${number} is correct
- Add ELSE IF element to IF element in ELSE IF container (optional),
example: ${number == 10}
- Add other elements in ELSE container (otpional)
- example(text response): correct number is ${number}