Conditions
By design, Maestro discourages the usage of conditional statements unless absolutely necessary as they could easily ramp up the complexity of your tests.
runFlow conditionally
pageNested Flows
Or, if you don't wish to extract your commands into a separate flow file, you can run the commands inline like this:
pagerunFlow
runScript conditionally
pagerunScript
Multiple conditions
Note that multiple conditions are applied as AND conditions.
Conditions
Supported conditions include:
JavaScript
Usage of JavaScript conditions is possible via true
condition:
pageJavaScript
Last updated