Where to set them
You can set capabilities at two levels:- Per test case — Dashboard → Test Cases → open a case → Configuration → Appium Capabilities. These apply to that case only.
- Per app — Dashboard → app Settings → Appium Capabilities. These apply to every case in the app.
appium:autoLaunch with the value false. The same values apply to both local and cloud runs.
Start without launching the app
By default noqa launches your app at the start of a test. Sometimes you don’t want that — for example, when the flow starts on a website rather than in the app. Setappium:autoLaunch to false. noqa still installs the app, but leaves it closed. Then describe where to start in the instructions:
Android: apps with more than one entry point
Some Android apps have several launch activities — a normal entry, a debug entry, a deeplink handler, and so on. To make a test start from a specific one, name it withappium:appActivity.
If the activity that opens is not the one you end up on (for example, a splash screen hands off to the main screen), also set appium:appWaitActivity so Appium waits for the right screen before the test begins:
You can use
* as a wildcard in appWaitActivity — for example *.MainActivity — when the package prefix varies between builds.