> ## Documentation Index
> Fetch the complete documentation index at: https://momentic.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# openApp

> Launch an app by its package or bundle identifier.

Launches an app. The simplified form takes the package name (Android) or bundle
identifier (iOS) as a single string.

## Parameters

| Parameter      | Type      | Required | Description                                                 |
| -------------- | --------- | -------- | ----------------------------------------------------------- |
| `package`      | `string`  | Yes      | App package name or bundle identifier.                      |
| `activity`     | `string`  | No       | Android activity to launch (Android).                       |
| `intentExtras` | `string`  | No       | Android intent extras to pass at launch (Android).          |
| `saveAs`       | `string`  | No       | Variable to store this step's return value on `env.<name>`. |
| `retries`      | `number`  | No       | Times to retry the step on failure before failing the test. |
| `skipped`      | `boolean` | No       | Skip this step at execution time.                           |

## Shorthand

Package or bundle identifier as a single string.

```yaml theme={null}
- openApp: com.example.shop
```

## Examples

```yaml theme={null}
- openApp:
    package: com.example.shop
    activity: .MainActivity # Android: launch a specific activity
```

## Related

* [Test format](/core-concepts/test-format)
* [killApp](/reference/mobile-commands/kill-app)
