Comment on page
Test Configuration
When you start a new test in Moropo, Test Creator will automatically populate the only mandatory field (
appId
):appId: ${BUNDLEID}
---
- launchApp
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_EMAIL: [email protected]
MY_KEY: 123
---
- launchApp
- inputText: ${MY_EMAIL}
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
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
Last modified 4mo ago