Skip to main content
🚀 Self Healing AI Agent now live in App Automate! Auto-fix flaky tests instantly with zero code changes. Enable now!
No Result Found
Get your setup working faster. Join our Discord for optimisation tips from elite testers. Join our DiscordJoin our Discord

Organize Appium tests

Organize your Appium test sessions on BrowserStack App Automate. Test on 3000+ devices on our real device cloud.

You can organize your automated test sessions by using various SDK and Non-SDK capabilities on BrowserStack. These capabilities define how your test sessions are grouped together and accessed on the App Automate dashboard and REST API. All these capabilities are optional.

If you are using BrowserStack SDK, you can set the following capabilities in the browserstack.yml file:

Capability Description Values
buildName A unique identifier for your test session String
Only letters (A-Z, a-z), digits (0-9), periods (.), colons (:), hyphens (-), square brackets ([]), forward slashes (/), asperands (@), ampersands (&), single quotes (‘), and underscores (_) are allowed. Any other characters are ignored.
buildIdentifier A unique identifier to logically group multiple test sessions together String
Only letters (A-Z, a-z), digits (0-9), periods (.), colons (:), hyphens (-), square brackets ([]), forward slashes (/), asperands (@), ampersands (&), single quotes (‘), and underscores (_) are allowed. Any other characters are ignored.
Default: Untitled Build
projectName A unique identifier to logically group multiple builds together String
Only letters (A-Z, a-z), digits (0-9), periods (.), colons (:), hyphens (-), square brackets ([]), forward slashes (/), asperands (@), ampersands (&), single quotes (‘), and underscores (_) are allowed. Any other characters are ignored.
Default: Untitled Project
buildTag A custom tag for your builds String
Only letters (A-Z, a-z), digits (0-9), periods (.), colons (:), hyphens (-), square brackets ([]), forward slashes (/), asperands (@), ampersands (&), single quotes (‘), and underscores (_) are allowed. Any other characters are ignored.
Use buildTag: ${BSTACK_BUILD_TAG} in .yml file, where BSTACK_BUILD_TAG is the environment variable you will export while running tests.
browserstack.yml
Copy icon Copy

It’s best practice to group all test sessions executed from a single CI/CD build job under a unique build name.

Adding build tags

You can add a custom build tag to your builds using the buildTag capability or using REST API. You can filter your builds according to the assigned tag on the App Automate dashboard.

browserstack.yml
Copy icon Copy

Ensure that you set up build name before you add a tag, otherwise the build tag will be ignored.

Manage projects using REST API

After your test sessions are grouped into projects, you can view, rename, and delete the projects using the App Automate REST API. To get the ID of a project, use the list recent projects API.

Get project details

Get the details of a project, including the list of builds that ran under it. For all parameters, see the get project details API.

Terminal
Copy icon Copy

Rename a project

Update the name of an existing project. For all parameters, see the update project details API.

Terminal
Copy icon Copy

Delete a project

Delete a project that you no longer need. For all parameters, see the delete a project API.

A project must be empty of builds and sessions before you can delete it. Deleted projects can’t be recovered.

Terminal
Copy icon Copy

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