Managing Test Results

Saving Searches#

If you've created a search that you want to use in the future, you can save it by adding it to your favorites.

  1. After you've built your search from the filters or written it in the Search text field on the Archives page, click the star icon next to the text field to save it.
Test results archive - Save a search
  1. Click the expand icon next to the star to view your favorited searches. You can select a favorite search to run it, or remove it by clicking the Delete icon.
Saved archive search

Deleting Test and Build Results#

You can delete any of the tests or builds listed on your Archives page.

  1. Select the test or build result you want to delete. You can also select multiple test or build results for deletion.
  2. Click Delete.
  3. In the confirmation dialog, click Yes.
Results are Permanently Deleted

Once you delete a test or build result, it's gone forever and cannot be recovered. Be careful when you click Yes.

Changing the Archive Page Layout#

You can change the layout of your Archives page by changing which columns are displayed, and how the content in those columns is sorted.

  1. On your Archives page, click Show Columns.
  2. Select the columns you want to display, or clear the selection of columns you want to remove.
  3. Click Apply.
  4. Click Sort By to change the display of your results based on search score or ascending or descending dates.

Your layout changes will be saved until you change them again.

Managing Automated Build and Test Results#

Whenever you kick off an automated test or build with Sauce, you will see the build or test begin to run in Sauce Labs, and, if you have set up your tests to report whether they've passed or failed, the ultimate result of that build or test run on either the Automated Builds or Automated Tests page.

Once the results have been logged to the page, you have a couple options for filtering those results with the filters in the upper-right corner of the page:

FilterDescription
OwnerThe owner filter allows you to view test results for:
  • Builds or tests that you have run
  • All the builds or tests for your organization
  • Builds or tests run run by one of your selected sub-accounts
StatusThe status filter lets you filter tests and builds by:
  • Passed
  • Failed
  • Complete (the test completed but was not assigned a Pass/Fail status)
  • Running
  • Error

Search Fields and Operators#

You can use any of these filters singly or or combination to search through the tests and builds on your Archive page. The Example column shows how you could construct a search using a specific filter in the Search text field. See Searching for Test Results for examples of how to build structured searches using multiple filters in the Search field.

FilterDescriptionExample
TextSearch for any mention of the string across test details.text: Appium
NameSearch for full or partial test name.name: SauceTest
PlatformSearch for tests that ran on one or multiple operating systems. This field only accepts operating systems currently supported by Sauce Labs.platform:("OS X 10.10" "Windows 8.1")
BrowserSearch for tests that ran on one or multiple browsers. Only accepts browsers currently supported by Sauce Labs.browser:("Google Chrome 43" "Internet Explorer 11")
DateSearch for tests that ran on a specific date or over a specified range. Dates should be in YYYY-MM-DD format.date:[2014-05-05 TO 2015-05-05]
StatusSearch for tests based on their status. Currently there are four possible states: failed, passed, complete, errorstatus: failed
BuildSearch for tests that belong to a specific build.build:main and browser:"Internet Explorer 11"
TagSearch for tests that have one or multiple tags.tag: Jenkins
OwnerSearch for tests that were created by a specific user.owner: admin
Last updated on by Laura Thomas