Get test case report issues API in Automated Tests
Use this API to get issue details of a test case for an Automated Tests build.
get test case report issues
Request parameters
Request
curl -u "YOUR_USERNAME:YOUR_ACCESS_KEY" \
https://api-accessibility.browserstack.com/api/automated-tests/v1/builds/{thBuildId}/issues?test_case={test_case_id}
Request
curl -u "YOUR_USERNAME:YOUR_ACCESS_KEY" \
https://api-accessibility.browserstack.com/api/automated-tests/v1/builds/{thBuildId}/issues?task_id={task_id}
-
next_page String
Used to fetch subsequent pages from the API when has_next parameter is true. Pass the next_page reference received in the response of last request.
Response Attributes 200 OK
JSON
Response
{
"name": "BStack Sample Test - Add product to cart",
"tags": null,
"file": "/src/test/resources/features/sample.feature",
"scopeList": [
"browserstack-demo"
],
"osData": {
"name": "OS X",
"version": null,
"logo": "mac"
},
"browserData": {
"name": "chrome",
"version": "131.0.6778.70",
"logo": "chrome"
},
"report_link": {CSV_file_link}
}
-
name String
Name of the test case.
-
tags String
Any tag associated with the test case.
-
file String
The path of the filename that houses the test case.
-
scopeList Array
An array of strings that describes the scope of the test case.
-
osData Object
Contains details about the OS on which the test case was run.
-
name String
Name of the OS used.
-
version String
Version of the OS used.
-
logo Object
Brand name of the OS used.
-
-
browserData Object
Contains details about the browser on which the test case was run.
-
name String
Name of the browser used.
-
version String
Version of the browser used.
-
logo String
Brand name of the browser used.
-
-
report_link String
A hyperlink of the CSV file.
-
pagination Object
Contains information to facilitate fetching additional records if they exist.
-
has_next Boolean
True if there are more records to fetch. False if the current response is the last page of records.
-
next_page String
A reference to the next page. Pass this as a request parameter in the subsequent request as “next_page” to get the next page of records.
-
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.