View 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.

Note: 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.

Overview of Automate dashboard

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, you can also debug the tests using the dashboard 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. Following is a sample screenshot of a builds listing dashboard view and an explanation of the different items in the view: Automate Dashboard Builds View

  1. Sidebar for builds and sessions: The sidebar enables quick access to all your builds and sessions. The meta-information such as number of sessions, status of sessions, and project name gives useful information at a glance.

  2. Filters builds and sessions: You can filter builds and sessions by user, project, status, team, and framework. As you apply filters, the dashboard URL also changes, enabling you to share filtered views with other team members easily.

  3. Build name and actions: This bar shows the build name and makes actions such as delete and contact support easily accessible.

  4. Build meta: The build meta provides useful information about the build for e.g. build duration, run time, number of sessions, build ID and the name of the user who executed the build.

  5. REST API Status: You would notice two different statuses for sessions: BrowserStack status and REST API status. The REST API status (passed, failed, or unmarked) denotes the session pass/fail status that you mark using the REST API or JavascriptExecutor based on your test assertions. The BrowserStack status represents a session state (running, error, timed out, or completed) on the Automate infrastructure. The two different statuses help you quickly identify the reason for test failures.

  6. Build level search and filters: You can find sessions in a build using build-level search and filter options. You can search for a session by its name or ID, and you can filter sessions by OS, browser, device, and status.

  7. Search across projects, builds, and sessions: This (the top-level) search bar is accessible from all the dashboard pages. You can search for projects, builds, and sessions by their name or IDs.

  8. Parallels and Queues: The number of total and used parallels & queued sessions is available at the top.

Note: BrowserStack does not know whether your tests have passed or failed hence we need you to explicitly mark your tests as passed/failed as outlined in the mark test as pass/fail documentation page. The REST API status as explained in point 5 above will show this test assertion status to you.

Session view in Automate dashboard

Once you click on a particular session in the build view, you will be taken to the session details view of the Automate dashboard as shown in the sample screenshot below: Automate Dashboard Sessions View

  1. Session name and actions: This bar shows the session name and makes actions such as delete, contact support, and report a bug easily accessible. You can also click on Build and go back to the builds view with the list of sessions displayed.

  2. Session meta: The session meta provides useful information about the session for e.g. OS, browser, run time, Local testing on/off, session ID, timstamp and the name of the user who executed the session.

  3. Input Capabilities and Device Capabilities: Input and device capabilities are visible by default and formatted for better viewing. You can use browser find (CTRL+F or CMD+F) to search in Input Capabilities and Device Capabilities sections.

  4. The session video is available in this view. You can play the video and also maximize the screen while the video is playing. This is very useful to see what actually happened during the test and it is very helpful in debugging.

  5. The logs are also available. By default, the text logs are visible but you can also switch tabs to access all the different logs (Console/Network/Selenium), if enabled by you during the session.

  6. The Sessions view also allows you to filter builds as is available in the builds view.

  7. The list of builds is always available for you to select from in the left sidebar.

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

Thank you for your valuable feedback