Moropo
search
Ctrlk
Roadmapchevron-downTermschevron-down
  • Welcome to Moropo
  • Quick Start
  • Uploading your app
    • Producing an Android Build
    • Producing an iOS Build
    • Uploading Your Build To Moropo
  • Creating Tests
    • Using the Test Creator
    • Test Configuration
    • Test Step Commandschevron-right
      • addMedia
      • assertNotVisible
      • assertTrue
      • assertVisible
      • back (Android only)
      • clearKeychain (iOS Only)
      • clearState
      • copyTextFrom
      • doubleTapOn
      • eraseText
      • evalScript
      • extendedWaitUntil
      • hideKeyboard
      • inputRandomEmail
      • inputRandomNumber
      • inputRandomPersonName
      • inputRandomText
      • inputText
      • launchApp
      • longPressOn
      • openLink
      • pasteText
      • pressKey
      • repeat
      • runFlow
      • runScript
      • scroll
      • scrollUntilVisible
      • setLocation
      • startRecording
      • stopApp
      • stopRecording
      • swipe
      • takeScreenshot
      • tapOn
      • travel
      • waitForAnimationToEnd
    • Test Step Selectors
    • Importing From Maestro
    • Environment Variableschevron-right
    • Advanced Use Caseschevron-right
  • Running Tests
    • Manually Trigger a Test Run
    • Scheduling a Test Run
    • Tags
    • Supported Devices
    • Test Execution Limits
    • Flakiness Tolerance & Retries
  • CI Integration
    • Initial CI Setup In Moropo
    • GitHub Action
    • Moropo APIchevron-right
  • Test Results
    • Results Explorer
    • Slack Reporting
    • Email Reporting
  • App Frameworks
    • Flutter
    • React Native
  • Guides
    • React Native Expo
    • Git workflow using Moropo API
    • Migrating to DeviceCloud
  • Infrastructure
    • IP Addresses
  • Security
    • Services Infrastructure
    • Security Best Practices
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
githubEdit
  1. Creating Tests

Test Step Commands

A list of Maestro commands available to use in the Moropo Test Creator

When in script mode, you can use any standard Maestro command from the list below.

hashtag
Tapping, swiping and traversing the screen

tapOnchevron-rightdoubleTapOnchevron-rightlongPressOnchevron-rightscrollchevron-rightscrollUntilVisiblechevron-rightswipechevron-right

hashtag
Working with text or pressing keys

inputTextchevron-rightinputRandomPersonNamechevron-rightinputRandomNumberchevron-rightinputRandomEmailchevron-rightinputRandomTextchevron-rightcopyTextFromchevron-rightpasteTextchevron-righteraseTextchevron-rightpressKeychevron-rightback (Android only)chevron-righthideKeyboardchevron-right

hashtag
Assertions

assertVisiblechevron-rightassertNotVisiblechevron-rightassertTruechevron-right

hashtag
Waiting

extendedWaitUntilchevron-rightwaitForAnimationToEndchevron-right

hashtag
Test Helpers

takeScreenshotchevron-rightrepeatchevron-rightrunFlowchevron-right

hashtag
Geolocation Helpers

setLocationchevron-righttravelchevron-right

hashtag
Launching and Stopping

launchAppchevron-rightstopAppchevron-rightopenLinkchevron-right

hashtag
Clearing Data

clearStatechevron-rightclearKeychain (iOS Only)chevron-right

hashtag
JavaScript Commands

evalScriptchevron-rightrunScriptchevron-right

hashtag
Media

addMediachevron-rightstartRecordingchevron-rightstopRecordingchevron-right

Last updated 1 year ago

  • Tapping, swiping and traversing the screen
  • Working with text or pressing keys
  • Assertions
  • Waiting
  • Test Helpers
  • Geolocation Helpers
  • Launching and Stopping
  • Clearing Data
  • JavaScript Commands
  • Media