The Sauce Labs Cookbook

Sauce Headless

Front End Performance Testing


External Resources

More Info

Page tree
Skip to end of metadata
Go to start of metadata

The Archives page includes a number of filters you can use to search through your tests and builds. You can search using a single filter, or you can use multiple filters to build a structured search. 

Basic Filtering

  1. Go to Automated > Archive.
  2. Click the filter you want to use to open it. 
  3. In the filter text field, enter the terms you want to search for.
    As you type, autocomplete will suggest existing results that match your search terms. If you want to select a date or date range, use the Calendar icon in the Date filter. 
  4. When you find the items you want to use in your filter, select them.
  5. When you've finished selecting your filter criteria, click Apply.

Special Filter Criteria and Operators

Some filters include additional options and the ability to use special operators. See Search Filters and Operators for more information.  

Creating Structured Searches

You have two options for creating structured searches.

Building Structured Searches from Filters

With this option, you would select filters and filter criteria as you would for basic filtering, but each time you make a selection, you will see it added to the Search field to build the query. Using this option, there is an implied AND between the different filters you select, and an implied OR between the values within a specific filter.

Writing Structured Searches Based on Filters

If you want to create a more complex search using AND, OR, or special operators associated with a specific filter, you can write your own structured search in the Search field. As you enter search criteria, the autocomplete will suggest values, operators, and filters to match your text. If your search query syntax is incorrect, your query text will turn orange, and you will see suggestions for how to correct it below the search field. When your syntax is correct, the text will turn blue.

Tips fo Writing Structured Searches

  • Strings must always be enclosed with quotation marks, but criteria values that are supplied by the application (for example, status:failed) do not.
  • If you want to search using text only, enter text: in the search field, and then enter the text you want to search for enclosed in quotation marks.
  • You can use * as a wildcard in any of your filter criteria.
  • Use quotation marks around a string to search for that exact string. For example, "ruby test" will return "ruby test 1" and "ruby test 2," but not "ruby example test."
  • Use parentheses around a string to find those terms anywhere in the search field. For example, (ruby test) will return both "ruby test 1" and "ruby example test."

Examples of Structured Searches

Search DescriptionStructured Search
Find all of the tests that were tagged as Selenium_194 or Selenium_193 that have failed since 03/10/2015tag:(Selenium_194 Selenium_193) and status:failed and date:[2015-10-03 TO *]
Find only the IE tests that have failed with the word Main in the"Main*" AND browser:"Internet Explorer *"