Conditionals
These conditionals allow users to define different execution paths in a test based on a specied condition. A test can use a combination of IF, ELSE IF, ELSE and END IF. If the IF doesn't have a corresponding END IF then the user cannot save the test. Such errors are highlighted in red.
Description | This condition takes a custom javascript as an input. The script must evaluate to TRUE or FALSE. If the condition returns true then subsequent steps in the test block are executed. |
---|---|
Parameter options | Custom Script |
Advanced options | None |
Return value | TRUE or FALSE |
Description | Used to create an alternative path for test execution |
---|---|
Parameter options | None |
Advanced options | None |
Return value | None |
Description | Used to end a conditional block |
---|---|
Parameter options | None |
Advanced options | None |
Return value | None |