View and manage test results
View your test results on the Automate Dashboard
After running your tests on BrowserStack, you can view results for the same from the Automate Dashboard.
This page explains how you can view your test results on the Automate Dashboard. You can also visit the documentation page for debugging failed tests to know more about debugging options available on Automate.
The Automate dashboard allows you to view the tests that you have executed on the BrowserStack infrastructure. Not only can you view the results of the tests, but you can also debug the tests using the different logs that are accessible from there.
Build view in Automate dashboard
The Automate dashboard shows you a list of builds that have run through your organization’s account. The following screenshot is the build listing dashboard view:
-
Sidebar: Enables quick access to all your builds. The sidebar also displays meta-information such as number of sessions, status of sessions, and project name.
-
Build tags: Add a custom build tag to your build using the
buildTag
capability or using REST API. -
Builds filter: Filters your builds by user, project, framework, status, or build tags. As you apply filters, the dashboard URL changes, enabling you to share filtered views with other team members.
-
Global search: Searches for projects, builds, and sessions by their name or IDs.
-
Build name: Shows the build name and project name.
-
Public Link: Allows you to copy the public URL of the current build. This public link enables unauthenticated sharing of the build. To disable from dashboard, build reports, and REST API, reach out to the Support team.
-
Build meta: Provides useful information about the build, such as, build status, build duration, number of parallels used, build ID, and the name of the user who executed the build. The build status can be any of the following:
-
COMPLETED
: If the status of all test sessions in the build is completed. -
RUNNING
: If status of one or more test session is running. -
FAILED
: If one or more test session in the build had failed. -
Timed Out
: If status of one or more test sessions is timed out.
-
-
Status: Shows different statuses of your test sessions. The REST API status (
PASSED
,FAILED
, orUNMARKED
) denotes the session status that you mark using the REST API or JavascriptExecutor, or from the dashboard itself. The BrowserStack status represents a session state (RUNNING
,ERROR
, ORTIMED OUT
) on the Automate infrastructure. The two different statuses help you quickly identify the reason for test failures. -
Parallels and queued sessions: Displays the total number of used parallels and queued sessions.
-
Download report: Allows you to download your build report of the latest 200 sessions in a
PDF
file format. -
Build level filters: Filter sessions in a build by user, spec status, device, or OS.
- Edit session details: Allows you to edit your test session details such as Session Name, Status, and Reason from the dashboard or using REST API.
BrowserStack does not know whether your tests have passed or failed hence we need you to explicitly mark your tests as passed or failed as outlined in the mark test as passed
or failed
section. Use the Automate REST API to mark your tests as pass or fail.
Session view in Automate dashboard
After you click a particular session in the build view, you will be taken to the session details view of the Automate dashboard as shown in the following sample screenshot:
-
Input Capabilities and Device Capabilities: Shows a well-formatted view of the input capabilities that you supplied. These are visible by default and are searchable using the browser’s default find feature.
-
Filters: Allows you to filter builds similar to the build view.
-
Sidebar: Select a build from the list of builds available in the left sidebar.
-
Session name: Displays the spec name. Click Build to return to the builds view.
-
Session meta: Provides helpful information about the session, such as Browser, OS, Duration, Local testing on/off, Session ID, timestamp, and the user’s name who executed the session.
-
Session Video: Captures the recording of the test as it happens in the session. Use this recording to go at a precise point in time when an error occurred and debug.
Some points in the progress bar of the recording might be marked in Red or Yellow color during your test run indicating certain issues. Each color represents the following issues:-
Red:
- BrowserStack-specific errors such as
SO_Timeout
- Console annotator marked as
Error
- Session marked as
failed
using JavaScript executor, API, or SDK
- BrowserStack-specific errors such as
-
Yellow:
- Any log that is tagged as a
Warning
- Console annotator marked as
warn
- Selenium exceptions
- Any log that is tagged as a
-
Red:
-
Logs tab: Select Text Logs, Console Logs, or Screenshots tab to view detailed logs. These logs show the steps executed in the test, the browser’s JavaScript console output, or the error message captured when the build failed.
-
Public Link: Allows you to copy the public URL of the current session. This public link enables unauthenticated sharing of the session. To disable from dashboard, build reports, and REST API, reach out to the Support team.
- Edit session details: Allows you to edit your test session details such as Session Name, Status, and Reason from the dashboard or using REST API.
View test results without visiting dashboard
You can also download the build or session level data and associated logs pertaining to the sessions that ran on BrowserStack Automate, using an extensive set of REST APIs that we provide. To explore more about the same, please refer to our REST API Documentation.
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
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!