Moropo
Ask or search…
K
Links
Comment on page

Test Configuration

Moropo uses the Maestro Open Source format for test configuration and test steps.
When you start a new test in Moropo, Test Creator will automatically populate the only mandatory field (appId):
appId: ${BUNDLEID}
---
- launchApp
NB: if this is your first test, there is nothing else you need to do here. Proceed to test steps.

Environment Variables

Use the env configuration option to provide variables to your test. These can then be used in the steps with the ${MY_VARIABLE} syntax.
appId: ${BUNDLEID}
env:
MY_KEY: 123
---
- launchApp
- inputText: ${MY_EMAIL}

On Flow Start

The onFlowStart option can be used to run any test steps before the test starts. This is useful for running setup actions.
appId: ${BUNDLEID}
onFlowStart:
- runFlow: mySetup.yaml
- setLocation:
latitude: 51.45052532643149
longitude: -2.594704204455719
---
- launchApp

On Flow Complete

The onFlowStart option can be used to run any test steps before the test starts. This is useful for running setup actions.
appId: ${BUNDLEID}
onFlowComplete:
- runFlow: myTeardown.yaml
- stopApp
---
- launchApp