Analyzing Results

BitBar offers comprehensive test run results and device performance data. You can easily access and analyze these results in one of the following ways:

Test run summary

You can view the test run summary in two ways:

  • From the Dashboard, navigate to the Last Test Runs section.

  • In the Projects tab, expand a project and select any test run.

Test Run overview

Test run details

For additional details on the test run and to compare results across devices, click Go to results located at the bottom of the test run summary.

Opening the device session details

The test run details view includes five sections:

Device Session Browser

The Device Session Browser widget displays the devices used in the test run.

Each device's current state is indicated by the color-coded icon:

  • Yellow for Waiting

  • Blue for Running

  • Green for Succeeded

  • Orange for Warning

  • Brown for Aborted

  • Red for Failed

The icon indicates the success rate of the test method for each device. Hover over the icons for more details.

Hovering over a device reveals an icon. Click on this icon to view details for that specific device.

To edit a device's name, click the icon.

Device Session Browser

Session Details

Note

You can retry the device session by clicking the icon.

The Session Details widget is organized into the following tabs for easy navigation:

Analytics

The Analytics tab provides details about the Test Summary and Device State.

Analytics tab

Device

The Device tab contains information about device details, capabilities, and browsers.

Device tab

Capabilities

The Capabilities tab exclusively showcases custom capabilities utilized by users for running client-side tests, specifically Selenium and Appium.

Capabilities

Tests and Steps

If your test includes test steps or functions, they are displayed in the order they were executed. The Tests and Steps tab indicates the sequence of test execution and whether the functions were successful or not.

Tests and Steps tab

Also, you can compare the test case runs among the devices used in the test run.

Test case runs comparison

In case of a test run error, you can access the stack trace by clicking Stacktrace, allowing for swift identification of the issue's source.

Stacktrace

Issues

On the Issues tab, you can find execution issues, issues that might be worth checking, and the test run status.

Issues tab

Artifacts

The Artifacts widget is organized into the following tabs for easy navigation:

Screenshots

Navigate to the Screenshots tab to access your screenshots. Click on any screenshot to open it for viewing. You can also download the screenshot by clicking , or rotate it clicking .

Artifacts: Screenshots

Videos

Go to the Videos tab to watch your videos. Click on a video to start watching it. You can also download the video by clicking , or rotate it clicking .

Artifacts: Videos

Files

The Files tab includes all files generated and captured during the test. You can manage which files are saved and displayed here by configuring your run-tests.sh.

  • – Click to view the file.

  • – Click to download the file.

  • – Click to open the file in a new tab.

Files tab

VisualTest

For details on how BitBar integrates with VisualTest, consult VisualTest.

Logs

The console.log widget provides line-by-line information about the test run. It allows showing the different types of log data available from the test run. These include logcat, Appium logs. The logs can be searched by browser search or the widget’s own search box. For easier debugging the view can be enlarged to full screen.

Logs widget

Performance

The Performance widget provides details of the test run for CPU and memory usage. You can click any given step/time to get more specific information about resource consumption.

Performance widget

See Also

Mobile App Tests

Publication date: