(KATE-146) Test Cases Definition

Query Test Case Definition

A Query Test Case consists of a number of Query Variants. If you click on the 'Variants' button (Figure 58) a screen for the Query Variants selection is displayed (Figure 59).



Figure 58: Creation of Query Test Case



Figure 59: Query Test Case variant selection screen


The Query variants selection screen allows you to create new or add an existing Query Variants into a Query Test Case. All functions are accessible from the toolbar menu.
Create New Query Variant
Please refer to 7.1.1 ('Create new Query Variant') section for a detailed description of the creation of Query Variants, because the steps for defining Query Variants directly in Test Cases are similar to that in the Variant Editor.
By double clicking on a created Query Variant you can reenter the dialog and edit the variant properties. However, it is not possible to edit variant properties if this variant is already in use for another Test Run.
Create New Bookmark Variant
Please refer to 7.1.2 ('Create new Bookmark Variant') section for a more detailed description, as the steps for defining a Bookmark Variant directly in the run, are similar to that in the Variant Editor.
Add existing Query Variant
By clicking the 'Add existing Query Variant' button, a list of all the existing Query Variants in the system is displayed. Here you can select your set of variants and by using the 'Copy' button (Enter) these are added into the list of selected variants. Please note that each Query Variant can only be used once for each Test Case.

Add Query Variant from Test Run ID

By selecting a test run and clicking the 'Add Query Variants of Run' button a list of all the existing Query Test Runs is displayed and you can add all the variants used in the selected run into to the Test Case variant selection.

Copy Query Variant from Test Run ID

By selecting a test run and clicking the 'Copy Query Variants of Run' button, a list of all the existing Query Test Runs is displayed and you can add all the variants used in the selected run into to the Test Case variant selection as copies.

Generate Query Variants from HM (Optional)

This option is enabled only if you have HeatMap Query Statistics present in the system and allows you to generate new Query Variants automatically.
For a detailed description on how to use the Generate Query Variants from HM functionality please refer to 7.1.3('Generate Query Variants from HeatMap Statistics') section as the steps used for generating the Query Variants directly in a Test Case are the same as that in the Variant Editor.

Create Based on Web Template

To create Query Variants based on a Web Template you can click on 'Create Based on Web Template' button. Please refer to 7.1.4 ('Create Variants of Web Templates') section for a detail description of this functionality.
Generate Web Template Bookmark Variants
To create Query Variants based on Web Template Bookmark you can click on 'Gen. Web Template Bookmark Variants' button. Please refer to 7.1.5 ('Generate Web Template Bookmark Variants') section for a detail description of this functionality.
Once the Query Variants have been selected, click on the 'Continue' button (Enter), to save the Variants selection for the Query Test Case and click on the 'Ok' button (Enter) in the Test Management.
By selecting the variants from the list and from the context menu additional options are displayed where you can access following functions:

Add Variants of Test Case

By clicking the 'Add Variants of Test Case' button a list of all the existing Query Test Cases is displayed and you can add all the variants used in the selected Test Case into to the Test Case variant selection.

Copy Variants of Test Case

By clicking the 'Copy Variants of Test Case' button a list of all the existing Query Test Cases is displayed and you can add all the variants used in the selected Test Case into to the Test Case variant selection as copies.

Create After Images as copies

Please refer to 7.1.11 ("Create After Images as Copies") section for function details.

Compare Settings

Please refer to 7.1.12 ("Compare Settings") section for function details.

Copy Settings

Please refer to 7.1.13 ("Copy Settings") section for function details.

Copy Query Variants

Please refer to 7.1.14 ("Copy Query Variants") section for function details.

ListCube Test Case Definition

ListCube Test Case is a collection of ListCube Variants. After you click on 'Variants' button (Figure 60) a screen for ListCube Variants selection is displayed (Figure 61).



Figure 60: Creation of ListCube Test Case



Figure 61: ListCube Test Case variant selection screen


Here you can create a new or add an existing ListCube Variants into a ListCube Test Case. All functions are accessible from the toolbar menu.

Create New ListCube Variant

You can create a new ListCube Variant by clicking on 'Create New ListCube Variant' button and for details on how to create a ListCube variant please refer to 7.2.1 ('Create new ListCube Variant') section.

Add Existing ListCube Variant

The 'Add Existing ListCube Variant' button displays all existing ListCube variants in system and you can select one or more variants to be added into the current Test Case.

Add ListCube Variants of Run

The 'Add ListCube Variants of Run' button displays all the ListCube run in the system and you can select one that variants to be added into the current test case.
Copy ListCube Variants of Run
The 'Copy ListCube Variants of Run' button displays all the ListCube runs in the system and you can select one that variants to be added as copies into the current test case.

Generate ListCube Variants

This is used for generating the ListCube variants. Please refer to 7.2.2 ('Generate ListCube Variants') section for a more detail description of this process.
Generate RFC ListCube Variants
This is used for the generation of ListCube variants with their specified RFC destination. Please refer to 7.2.3 ('Generate RFC ListCube Variants') section for a more detailed description of this process.

Add Variants of Test Case

The 'Add Variants of Test Case' button displays all the ListCube Test Cases in the system and you can select one that variants to be added into the current test case.

Copy Variants of Test Case

The 'Copy Variants of Test Case' button displays all the ListCube Test Cases in the system and you can select one that variants to be added into the current test case as copies.

Generate OutBoard Variants

By clicking on 'Generate OutBoard Variants' button you can generate ListCube variants based on NLS secondary indexes. This option is available only when DataVard OutBoard TM is installed on the same system as KATE. In generation screen you can define same setting as described in 7.2.3 ('Generate RFC ListCube Variants') section except any filtering options.



After the generation is confirmed the InfoProviders archived via OutBoard NLS that has active DAP (Data Archiving Process) multiple variants are generated. The number of variants depends on number of archiving requests for which secondary indexes are defined. Each variant is then created with filters defined by the archiving request index selection. If index selection object cannot be used in ListCube it is omitted.
By selecting the variants additional options are displayed in the context menu where, you can access following functions:

Create After Images as copies

Please refer to 7.2.8 ("Create After Images as Copies") section for function details.

Compare Settings

Please refer to 7.2.9 ("Compare Settings") section for function details.

Copy Settings

Please refer to 7.2.10 ("Copy Settings") section for function details.

Copy Variants

Please refer to 7.2.11 ("Copy ListCube Variants") section for function details.

Drill Down Test Case Definition

Drill Down Variants selection screen allows you to create new or add existing Drill Down Variants into a Drill Down Test Case. All functions are accessible from toolbar menu. After you click on the 'Variants' button (Figure 62) a screen for ListCube Variants selection is displayed (Figure 63).

Figure 62: Creation of Drill Down Test Case



Figure 63: Drill Down Test Case variants selection

Create New Drill Down Variant

Create a new Drill Down Variant for information about creating a Drill Down variant please refer to 7.4.1 ('Create new Drill Down Variant').

Add Existing Drill Down Variant

Displays the existing Drill Down variants in system and you can select one or more variants to be added into the current test case.

Add Drill Down Variants of Run

Select a specific backend-testing run. Drill Down Variants of selected run will be added into the current Drill Down Test Case.

Copy Drill Down Variants of Run

Select a specific backend-testing run. Drill Down Variants of selected run will be added into the current Drill Down Test Case as copies.

Generate Drill Down Variants

Drill Down variants for generation are displayed. Please refer to 7.4.2 ('Generate Drill Down Variants') section for more information about this process.

Add Variants of Test Case

Select a specific DrillDown Test Case. Drill Down Variants of selected Test Case will be added into the current Drill Down Test Case.

Copy Variants of Test Case

Select a specific DrillDown Test Case. Drill Down Variants of selected Test Case will be added into the current Drill Down Test Case as copies.

Copy Variants

Please refer to 7.4.7 ("Copy DrillDown Variants") section for function details.

DTP Test Case Definition

You can add existing and create new DTP Variants into DTP Test Case. All functions are accessible from toolbar menu. Once you click on the 'Variants' button (Figure 64) and screen for ListCube Variants selection is displayed (Figure 64).

Figure 64: Creation of DTP Test Case



Figure 65: DTP Test Case variants selection

Create New DTP Variant

For a more detailed look into creating a DTP variant please refer to 7.3.1 ('Create New DTP Variant') section for a more detailed description.

Add Existing DTP Variant

All existing DTP variants in the system are displayed and you can select one or more variants that are to be added into the current test case.

Add DTP Variants of Run

Choose a DTP Test run that all variants to be added into the current DTP Test Case.

Copy DTP Variants of Run

Choose a DTP Test run that you want all of variants to be copied into the current DTP Test Case.

Add Variants of Test Case

Choose a DTP Test Case that you want all of variants to be added into the current DTP Test Case.

Copy Variants of Test Case

Choose a DTP Test Case that you want all variants to be added into the current DTP Test Case as copies.

Create After Images as copies

Please refer to 7.3.6 ("Create After Images as Copies") section for function details.

Copy Variants

Please refer to 7.3.7 ("Copy DTP Variants") section for function details.

SLO ListCube Test Case Definition

The SLO Test Case consists of a number of ListCube Variants. If you click on the 'Variants' button (Figure 66) a screen for the ListCube Variants selection is displayed.


Figure 66 Creation of SLO ListCube Test Case


The SLO ListCube scenario uses the same variants as the standard ListCube scenario therefore the same screen is displayed and is described in section 5.2.

ERP Report Test Case Definition

The ERP Report Test Case is a collection of Report Variants. After you click on 'Variants' button (Figure 67) a screen for Report Variants selection is displayed (Figure 68).



Creation of ERP Report Test Case



ERP Test Case variant selection screen


Here you can create a new or add an existing Report Variants into an ERP Report Test Case. All these functions are accessible from toolbar menu.

Create New Report Variant

To create a new Report Variant click on the 'Create New Report Variant' button.

The Screen for creating new Report Variant is displayed by clicking on the 'Create New Report Variant' button (Ctrl + F3).



Create new Report Variant screen

In this screen you can define:

  1. RFC Destination – RFC destination that is to be used for Report Variant execution.
  2. Variant Description – The description of the new Report Variant.
  3. Report (required) – Technical name of report to be used for image creation.
  4. Report Variant (ABAP Variant) – Variant of specified report to be used when the report is executed. These variants can be manage ins transaction SE38.

The Report Variant is created after you click on the 'Continue' button (Enter). 

KATE creates before and after images from report execution spool. Only reports that create such spools when executed in background job should be used.

Add Existing Report Variant

The 'Add Existing Report Variant' button displays all of the existing Report variants in the system and you can select one or more variants to be added into the current Test Case.

Add Report Variants of Run

The 'Add Report Variants of Run' button displays all of the ERP Reports that have been run in the system and you can select one these variants to be added into the current test case.

Copy Variants

You can create copies of Report variants by selecting multiple variants in selection table and then clicking on  'Copy Report Variants' toolbar button. For each selected variant new variant is created with exactly same settings as source variant. 



Copy Variants

Web Template Test Case Definition

A Web Template Test Case is a collection of Web Templates Variants, click on the 'Variants' button (Figure 69) and the screen for Web Template Variants selection is displayed (Figure 70).



Figure 69: Creation of Web Template Test Case



Figure 70: Web Template Test Case variant selection screen


Here you can create a new or add to an existing or Web Template Variants into the Web template Test Case.

Create new Web Template variant

To create a new WT variant, click on Create new Web Template Variant' button and a screen (Figure 71) is displayed, use Search Help for bookmarks, select RFC if necessary. It's possible to add different after image variant



Figure 71: Create new Web Template Variant

Add existing Web Template variant

Clicking on 'Add existing Web Template Variant' a screen (Figure 72) is displayed, where we can choose from created WT variants.


Figure 72: Add existing variant


Please note that the RFC destination is checked for validity before you can add a new variant.

Manage variant steps

By double clicking on 'Test case ID number in grid', (Figure 73) is displayed where you can activate or deactivate a particular step from the current variant. If a test case has a different after image variant it's required to define mapping between those two variants and their tables

Figure 73: Test Case Step management

Generate Web Template variant

By clicking on 'Generate Web Template Variant' screen (Figure 74) is displayed where we can generate multiple variants at once.



Figure 74: Generation of Web Templates variant

Web Intelligence Test Case Definition

A Web Intelligence Test Case is made up from a collection of Web Intelligence Variants. Click on the 'Variants' button (Figure 75) and the logon screen for Web Intelligence is displayed. (Figure 76). After successful logging into the server, a screen for the Web Intelligence Variants selection is displayed (Figure 78).



Figure 75: Creation of WEBI Test Case



Figure 76: Logon screen for WEBI server

Server maintenance

Servers can be maintained from the KATE settings under the TAB Web Intelligence (Figure 77)



Figure 77: Bobj server maintenance



Figure 78: Web Intelligence Test Case Variants selection screen

Add new WEBI variant – document

You can attach documents from left tree that are under the folders as Test Case variants by double clicking on it. When the variant is successfully added to Test Case, it will also be visible on the right-hand side(Figure 79). By default, all fields are checked. If you want to exclude some TABS or Tables just uncheck the checkbox.



Figure 79: Variant under the Test Case

Design Studio Test Case Definition

A Design Studio Test Case is made up from a collection of Design Studio Variants from different Sources. Click on the 'Variants' button (Figure 80) and the source selection screen for Design Studio is displayed. (Figure 76Figure 81). At present, only NetWeaver based Design Studio documents saved on BW system are supported. After source selection, a screen for the Design Studio Variants selection is displayed (Figure 82).



Figure 80: Creation of DS Test Case



Figure 81: Source selection for DS Test Case



Figure 82: Design studio Test Case Variants selection screen

Add new DS variant – document

You can attach documents from the left tree, by double clicking on it. When the variant is successfully added to Test Case, it will also be visible on the right-hand side (Figure 83). By default, all fields are checked. If you want to exclude some TABS or Tables just uncheck the checkbox.
Please note that for creating new TC variant from document java is required. It's necessary to fill java path in the KATE Settings - tab "Front End Settings".



Figure 83: Variant under the Test Case

Manage variant steps

By double clicking on Variant ID number in the right tree, (Figure 84) displayed where you can activate or deactivate a particular step from the current variant. If a test case has a different after image variant it is required to define mapping between those two variants and their tables.



Figure 84: DS Test Case Variant definition screen

Generate Design studio variant

By clicking on 'Mass variant generation' screen (Figure 85) is displayed where we can generate multiple variants at once.

Figure 85: Mass variant generation

Add existing Design Studio variant

Clicking on 'Add existing Variant' a screen (Figure 72) is displayed, where we can choose from already existing KATE Design Studio variants.

Figure 86: Add existing variants

Table Test Case Definition

This is a collection of Table Variants, after you click on the 'Variants' button (Figure 87) a screen for Table Variants selection is displayed (Figure 88).



Figure 87 Creation of Table Test Case



Figure 88 Table Test Case variant selection screen


Here you can create a new or add existing Table Variants into a Table Test Case. All functions are accessible from the toolbar menu.

Create new Table Variant

You can create a new Table Variant by clicking on 'Create New Table Variant' button and for details on how to create a Table variant please refer to 7.5.1 ('Create new Table Variant') section.

Add Existing Table Variant

The 'Add Existing ListCube Variant' button displays list of all existing Table variants in a system and you can select one or more variants that are to be added into the current test case.

Add Table Variants of Run

The 'Add Table Variants of Run' button displays list of all existing Table runs in system and you can select run that variants to be added into the current test case.

Copy Table Variants of Run

The 'Copy Table Variants of Run' button displays a list of all existing Table runs in system and you can select a run that the variants will be added into the current test case as copies.

Add Variants of Test Case

The 'Add Variants of Test Case' button displays a list of all existing Table Test Case in system and you can select a Test Case that the variants are to be added into the current test case.

Copy Variants of Test Case

The 'Copy Variants of Test Case' button displays list of all existing Table Test Case in system and you can select Test Case that variants to be added into the current test case as copies.

Create After Images as copies

Please refer to 7.5.7 ("Create After Images as Copies") section for function details.

Compare Settings

Please refer to 7.5.8 ("Compare Settings") section for function details.

Copy Settings

Please refer to 7.5.9 ("Copy Settings") section for function details.

Copy Variants

Please refer to 7.5.10 ("Copy Table Variants") section for function details.