Skip to main content

File injection in remote devices

App Live enables you to upload files on remote BrowserStack devices and test use cases such as:

  • Uploading files to the remote device and moving the files to your app.
  • Downloading files from your app to the remote device.

In this guide, you learn about:

Supported devices and files

App Live supports file injection on the following devices:

App Live supports file injection on devices with Android OS 6 and higher.

App Live supports file injection on devices with iOS 13 and higher.

  • Files in the .csv, .doc, .docx, .pdf, .txt, .xls, or .xlsx formats.
  • File size not exceeding 15 MB.

Upload your file to the remote device

Important: You can upload only one file at a time.
  1. Log in to the App Live dashboard.
  2. On the App Live dashboard, upload or install your app and select the device to start your test session.
  3. On the App Live vertical toolbar, click File Injection.
  4. Click Upload and select the file that you want to upload from your system.
    After the file upload is complete, the following message is displayed: File upload successful

The uploaded file is available in the Downloads folder in the File Manager app of the remote Android device.

Prerequisite

In the info.plist file of your app, ensure that the UIFileSharingEnabled and LSSupportsOpeningDocumentsInPlace parameters are set to true.

To upload a file:

  1. Log in to the App Live dashboard.
  2. On the App Live dashboard, upload or install your app and select the device to start your test session.
  3. On the App Live vertical toolbar, click File Injection.
  4. Click Upload and select the file that you want to upload from your system.
    After the file upload is complete, the following message is displayed: File upload successful

The uploaded file is available in the <your_app_name> folder in the Files app of the remote iOS device.

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
Talk to an Expert