TEST AUTHORING
Interactive Test Authoring

Conditionals

4min

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.

IF / ELSE IF

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

Document image


ELSE

Description

Used to create an alternative path for test execution

Parameter options

None

Advanced options

None

Return value

None

END IF

Description

Used to end a conditional block

Parameter options

None

Advanced options

None

Return value

None



Updated 04 Dec 2023
Doc contributor
Did this page help you?