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

Run your tests on BrowserStack

To run your Flutter integration tests on iOS devices on BrowserStack App Automate, follow these steps:

Upload your test package

Before running your tests, ensure that you have uploaded your test package to BrowserStack App Automate.

Run your Flutter integration tests

Use the builds REST API to execute your tests. The builds API mandates the following parameters:

testPackage: Set this to either the test package URL, the custom ID, or the shareable ID of your test package. To learn more, refer to the upload your test package.

devices: Specify the device and the OS version on which you want to test your app. Use the device selector below to select your device. Each value in the list follows this format: <devicename>-<os version>.

To specify devices using regular expressions (regex), refer to this page.

Use the cURL request below to execute your Flutter integration tests:

Select device
This device is not available in the free plan. Please upgrade to paid plan.
 

You can execute tests on multiple devices too. For more information, refer to the run tests in parallel documentation.

Review the API response

Upon executing a successful API request, you receive a response similar to the following:

{
    "message": "Success",
    "build_id": "741c219db523cb51d4cdf35723ce3bfc592fb74a"
}

The build_id returned in the API response is a unique identifier for your test execution. Each test build represents the execution of your Flutter test suite on all selected devices.

Once you start the Flutter test execution using REST API, you can access the test execution results on the App Automate dashboard.

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