Skip to main content
Transform your testing process with: Real Device Features, Company-wide Licences, & App Percy
No Result Found

Upload apps from filesystem

To test your native and hybrid apps on BrowserStack using Appium, you first need to upload your app to BrowserStack servers. Its easy to upload an Android app (.apk or .aab file) or an iOS app (.ipa file) from your local filesystem or CI/CD server to BrowserStack using the either the REST API or App Management UI (available only on the new dashboard).

Note: With App Automate, you can upload mobile apps up to 1GB in size.

Upload apps from filesystem using REST API

To upload an app using filesystem via the REST API, use the following cURL example:

Terminal
Copy icon Copy

A sample response to the above API request is shown below:

{
    "app_url":"bs://f7c874f21852ba57957a3fdc33f47514288c4ba4"
}
Note: App upload will take a few seconds to about a minute depending on the size of your app. Do not interrupt the cURL command until you get the response back.

Note the value of app_url in the API response (bs://f7c874f21852.... in the above example). This value will be used later to set the app capability to specify application under test in your Appium test scripts.

You can manage your uploaded apps by using our REST API. Use the recent apps API endpoint to list your recently uploaded apps. You can delete your uploaded apps by using the delete app API endpoint. By default, we will delete the uploaded app after 30 days from the date of upload.

Upload apps from the filesystem using App Management UI

The App Management UI is available only in the new dashboard and not in the legacy (old) dashboard.

To upload an app using the App Management UI, follow the steps below:

  1. On the App Automate dashboard, go to Utilities > App Management.

  2. On the App Management UI, click Upload App.

  3. Select the app you want to upload from your filesystem.

  4. After selecting the app, choose the App Automate framework you want to use for testing. You can optionally add flags and a custom ID.

  5. Click Upload. The app is uploaded to the BrowserStack servers. You’ll receive an App ID, which you can use to run tests.

To view your uploaded apps, apply the My Apps filter.

Upload apps from the filesystem using App Management UI

  • You can download apps which are uploaded by you or your team.
  • You can delete only the apps that you uploaded.

To manage your apps, refer to the documentation on managing apps using App Management UI.

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle