Loops
Repeat actions using the repeat command for iterative test scenarios.
Loop strategies
Fixed iterations (times)
times)# Add 5 items to a list
- repeat:
times: 5
commands:
- tapOn: "Add Item"
- tapOn: "Save"Conditional loops (while)
while)# Delete messages until the "Inbox Empty" text appears
- repeat:
while:
notVisible: "Your inbox is empty"
commands:
- tapOn: "Delete Message"
- tapOn: "Confirm"The smart loop
Use JavaScript for complex logic
Integrate nested Flows with loops
Next steps
Last updated