# ${BUNDLEID}

### Description

Automatically contains the iOS BundleID or Android Package Name. This is particularly useful when executing cross platform tests as the Moropo runner will automatically. \
\
When authoring a new test Moropo will include `${BUNDLEID}` in the Test Configuration by default.  This means any tests you write will automatically be suitable to run cross-platform.&#x20;

### What does it contain?

Dependant on platform

* For iOS it contains the relevant app Bundle ID
* For Android it contains the relevant app Package Name

e.g. `org.wikipedia`

### Usage

In **script** mode

```yaml
appId: ${BUNDLEID}
---
- launchApp: ${BUNDLEID}
```

In **step** mode

<figure><img src="/files/QGNiyrimze5z9amOGUZp" alt=""><figcaption></figcaption></figure>

This script snippet is set up to launch the app the test run one was triggering from. We can run this code on an iOS or Android build and the app would launch.&#x20;

### When is it set?

The variable is set when you upload the first build of your app, for iOS and Android respectively.&#x20;

If you need to change this after it has been set we suggest creating a new app from within Moropo, or contacting <support@moropo.com>.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.moropo.com/creating-tests/environment-variables/usd-bundleid.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
