OPEN_APP
The OPEN_APP command launches an application using its package name. This ensures deterministic app switching, especially in multi-app test flows.
Syntax:
OPEN_APP: com.android.chrome
When to use:
Triggering to open an application
Cross-app journeys
What is a Package Name?
A package name is a unique identifier assigned to every Android application. It defines the exact app Drizz should launch, ensuring precision regardless of device state or app order.
Few examples of package names:
com.android.chrome — Google Chrome
com.whatsapp — WhatsApp
Best Practice:
It is recommended to place an OPEN_APP: <package_name> command at the beginning of every test. This provides a clean and explicit starting point and avoids ambiguity when multiple apps are installed or involved in the workflow.
Last updated
Was this helpful?