Tosca Test Repository search methods
The Search Test Repository action may be configured to search a Tosca Test Repository in several different ways, depending upon where tests that match values in the action’s Source table are expected to be found.
The type of search performed for Tosca Test Repositories by the Search Test Repository action is determined by each Test Repository‘s Search Methods settings. These are shown when a Tosca Test Repository is created or edited from the Guided Configuration - Test Repositories screen, or when a Tosca Test Repository is created or edited in the LiveCompare Studio.
No selections
If no selections are made in the Test Repository screen‘s Search Methods section, the Search Test Repository action searches a Tosca Test Repository using the settings configured in the Tosca section of the Configuration - Test Repository screen. The results will be the same as the Search Test Repository action‘s results in LiveCompare 4.8.2.
SAPGUI section
These settings determine how the Search Test Repository action searches for SAPGUI test assets.
Transaction
If the Transaction check box is selected, the Search Test Repository action searches Tosca Test Repository to find Tosca test cases that use SAP engine modules. Transaction search results are similar to <no selections> search results with the following Tosca Test Repository configuration options set Configuration - Test Repository screen.
| Setting | Value |
|---|---|
| FindSAPModules | Y |
| FindAPIModules | N |
| FindClassicModules | N |
| ScanTestCases | N |
Fiori/UI5 section
These settings determine how the Search Test Repository action searches for SAPGUI Fiori/UI5 assets
Buffer
If the Buffer check box is selected, the Search Test Repository action captures the WAPA’s technical name as part of a URL stored in a buffer. If this search method is used, the Buffer Patterns field must be set to include one or more comma-separated string values. The search is limited to buffer names that include any of the buffer patterns as a substring.
Test Configuration
If the Test Configuration check box is selected, the Search Test Repository action captures the WAPA's technical name as part of a URL stored in a configuration parameter.
Tile Text
If the Tile Text check box is selected, the Search Test Repository action captures the WAPA’s tile text stored somewhere in the test case (for example, in steps or reusable test step blocks).
Parameter
If the Parameter check box is selected, the Search Test Repository action matches SEARCH_TERM values from its Source table against parameter values stored somewhere in a test case (for example, in steps or reusable test step blocks).
Buffer, Test Configuration, Tile Text and Parameter search results are similar to <no selection> search results with the following Tosca Repository configuration options set Configuration - Test Repository screen.
| Setting | Value |
|---|---|
| ScanTestCases | Y |
| FindAPIModules | N |
| FindClassicModules | N |
| FindSAPModules | N |
UI5 Test Types to Find searches are supported by the Search Test Repository action if its Use Cache parameter is set to false. If options in both the SAPGUI and Fiori/UI5 sections are set, the Search Test Repository action performs both types of search.
Api Type SAP Module
If the Api Type SAP Module check box is selected, the Search Test Repository action matches SEARCH_TERM values from its Source table against custom modules associated with Fiori apps to find the associated tests. The custom modules have an ApiType attribute that begins with ‘sap.’.