DeviceCloud
Console UIMaestro DocsDiscord
  • Welcome to DeviceCloud
  • Getting Started
    • Quick Start
    • API Keys
    • Executing Flows
    • Limits
    • Upgrade Guide
    • Device Configuration
  • CI/CD Integration
    • Overview
    • GitHub Actions
    • BitRise
    • Any CI
    • Status API
  • Reference
    • Test Execution
    • App Management
    • Environment Variables
    • Device Orientation
    • Device Locale
    • Async Execution
    • Retry Strategies
    • Report Formats
    • Download Artifacts
    • Quiet Mode
    • Maestro Versions
    • Test Run Name
    • Google Play APIs
    • Email Notifications
    • Exit Codes
    • Runner Type
  • Infrastructure & Security
    • IP Addresses
    • Security Overview
    • IT Security Policies
    • Enterprise SSO
  • Legal
    • Service Level Agreements
    • Open Source Notices
    • Privacy Policy
    • Terms and Conditions
    • Refund Policy
Powered by GitBook
On this page
  • Basic Usage
  • Execution Modes
  • Sync (Default)
  • Async
  • Test Selection
  • Options
  • Output
  • Retry & Environment
  • Binary Management
  • Device Selection

Was this helpful?

Edit on GitHub
  1. Reference

Test Execution

Run Maestro flows on DeviceCloud.

Basic Usage

# Simple run
dcd cloud --app-file ./app.apk --flows ./tests/

# Named run
dcd cloud --name "smoke-tests" --app-file ./app.apk --flows ./tests/

Execution Modes

Sync (Default)

  • Blocks until completion

  • Shows real-time progress

  • Returns results immediately

Async

dcd cloud ... --async --name "nightly" 
  • Returns immediately

  • Continues in background

  • Check dashboard for results

Test Selection

# Single flow
dcd cloud ... --flows login.yaml

# Directory
dcd cloud ... --flows smoke/

# By tags
dcd cloud ... --include-tags smoke,critical
dcd cloud ... --exclude-tags slow

Options

Output

# Quiet mode
dcd cloud ... -q

# Generate reports
dcd cloud ... --report junit

Retry & Environment

# Retry failed tests
dcd cloud ... --retry 3

# Set variables
dcd cloud ... -e API_URL=https://test-api.com

Binary Management

# Multiple apps
dcd cloud --app-file main.apk --additional-app-files helper.apk ...

# Using IDs
dcd cloud --app-binary-id abc123 ...

Device Selection

# Android
dcd cloud ... --android-device pixel-6 --android-api-level 33

# iOS
dcd cloud ... --ios-device iphone-15 --ios-version 17
PreviousStatus APINextApp Management

Last updated 3 months ago

Was this helpful?