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

Run your tests on BrowserStack

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

Upload your app and test suite

Before running your tests, ensure that you have uploaded your app and Flutter test suite to BrowserStack App Automate.

Run your Flutter integration tests

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

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

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

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.

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

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

The above command uses sample values for app and testSuite. Use actual values when running your tests.

You can execute tests on multiple devices too. For more information, refer to the Execute a build API 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.

For a complete list of parameters that you can use for your Flutter integration test execution, refer to our Flutter Build API reference.

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