Tosca Test Repository search methods

The Search Test Repository action searches a Test Repository to find tests that match entries in the action’s Source table. You can configure the action to search a Tosca Test Repository in different ways, depending on how you expect to find matching tests.

Search methods

To use one or more Tosca Test Repository search methods, you must set the Search Test Repository action’s Use Cache property to false in your workflows. You can specify one or more search methods in the Tosca Test Repository’s Search Methods section by completing the following fields.

Transaction

It you set the Transaction switch, LiveCompare searches the Tosca Test Repository to find Test Cases that use SAP Engine modules.

Buffer Patterns

If you specify one or more Buffer Patterns, LiveCompare searches the Tosca Test Repository to find BSP Application technical names stored in a buffer. LiveCompare limits the search to buffers that match one or more buffer pattern strings anywhere in their name. You should specify buffer patterns as comma or semicolon-separated list of values.

Test Configuration

It you set the Test Configuration switch, LiveCompare searches the Tosca Test Repository to find BSP Application technical names in URLs stored in configuration parameters.

Parameter Patterns

If you specify one or more Parameter Patterns, LiveCompare searches the Tosca Test Repository to find matching Test Cases whose associated Business Parameters include one or more of the specified patterns as a substring. LiveCompare searches for Business Parameter matches in each of the Test Case’s Test Steps and in any of their top-level or nested Reusable Test Step Blocks. You should specify parameter patterns as comma or semicolon-separated list of values.

Test Data Repository

Enter the name of a Tosca Test Data Repository stored in Test Data Service (TDS). This search method can be used where the following apply:

  • A TDS type in the Test Data Repository stores an identifying element of the SAP executables to be tested (for example, the Launchpad tile text of a Fiori app).

  • A Tosca Test Case refers to the TDS type.

In this case, LiveCompare matches the Test Case with the executable from the Search Test Repository action’s Source table. This search method works with Tosca REST Test Repositories only.

Tile

It you set the Tile switch, LiveCompare searches the Tosca Test Repository to find BSP Application technical names stored in the tile text associated with Fiori apps.

API Type SAP Module

If you set the API Type SAP Module switch, LiveCompare searches the Tosca Test Repository to find matches in custom modules associated with Fiori apps. The custom modules have an ApiType attribute that begins with sap..

Default search

If you don’t set anything in a Tosca Test Repository’s Search Methods section, LiveCompare searches the Test Repository using the settings in the Configuration - Test Repository screen’s Tosca section.

Related topics

Guided Configuration - Test Repositories

Create Test Repositories

Edit Test Repositories