runFlow
Execute a subflow file with optional environment variables.
Parameters
Parameter
Type
Description
Usage examples
Run a separate Flow file
appId: com.example.app
---
- launchApp
- tapOn: Username
- inputText: Test User
- tapOn: Password
- inputText: Test Password
- tapOn: LoginappId: com.example.app
---
- runFlow: Login.yaml # <-- Run commands from "Login.yaml"
- tapOn: Profile
- assertVisible: "Name: Test User"appId: com.example.app
---
- runFlow: Login.yaml # <-- Run commands from "Login.yaml"
- tapOn: Settings
- assertVisible: "Switch to dark mode"Pass environment variables to a subflow
When to use inline subflows
Run an inline Flow
Cloud execution
Related content
Last updated