Skip to main content

Organize tests

You can organize your automated test sessions by using name, build and project 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.

Capability Description Values
name A unique identifer for your test session String
Note that only letters (A-Z, a-z), digits (0-9), periods (.), colons (:) and underscores (_) are allowed. Any other characters are ignored.
build A unique identifier to logically group multiple test sessions together String
Note that only letters (A-Z, a-z), digits (0-9), periods (.), colons (:) and underscores (_) are allowed. Any other characters are ignored.
Default: Untitled Build
project A unique identifier to logically group multiple builds together String
Note that only letters (A-Z, a-z), digits (0-9), periods (.), colons (:) and underscores (_) are allowed. Any other characters are ignored.
Default: Untitled Project
Capability Description Values
name A unique identifer for your test session

String

Note that only letters (A-Z, a-z), digits (0-9), periods (.), colons (:) and underscores (_) are allowed. Any other characters are ignored.

build A unique identifier to logically group multiple test sessions together

String

Note that only letters (A-Z, a-z), digits (0-9), periods (.), colons (:) and underscores (_) are allowed. Any other characters are ignored.

Default: Untitled Build

project A unique identifier to logically group multiple builds together

String

Note that only letters (A-Z, a-z), digits (0-9), periods (.), colons (:) and underscores (_) are allowed. Any other characters are ignored.

Default: Untitled Project

Example :

desired_caps = {
    'project': 'MySampleProject',
    'build': 'MySampleBuild',
    'name': 'MySampleTest'
}
DesiredCapabilities desiredCapabilities = new DesiredCapabilities();
desiredCapabilities.setCapability("project", "MySampleProject");
desiredCapabilities.setCapability("build", "MySampleBuild");
desiredCapabilities.setCapability("name", "MySampleTest");
desired_cap = {
	'project': 'MySampleProject',
    'build': 'MySampleBuild',
    'name': 'MySampleTest'
}
var capabilities = {
	'project': 'MySampleProject',
    'build': 'MySampleBuild',
    'name': 'MySampleTest'
}
DesiredCapabilities capability = new DesiredCapabilities();
capability.SetCapability("project", "MySampleProject");
capability.SetCapability("build", "MySampleBuild");
capability.SetCapability("name", "MySampleTest");
$capabilities = new DesiredCapabilities();
$capabilities->setCapability("project", "MySampleProject");
$capabilities->setCapability("build", "MySampleBuild");
$capabilities->setCapability("name", "MySampleTest");

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