(DV-2102) Web Template Definition

A Web Template Test Case is a collection of Web Templates Variants

Click on the 'Variants' button and the screen for Web Template Variants selection is displayed.


Creation of Web Template Test Case


Web Template Test Case variant selection screen


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

Create a new Web Template variant

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


Create new Web Template Variant


Add existing Web Template variant

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


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', 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 the mapping between those two variants and their tables

Test Case Step management


Generate Web Template variant

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


Generation of Web Templates variant


Web Template Variant Editor Tab

The Web Template Variant editor provides an overview of all the WT Variants used in the Front end testing and these WT Variants can be managed from this screen.


Web Template Variants Editor Tab


The Web Template Variant editor provides you with the following functionalities:

  1. Create New WT Variant
  2. Generate WT Variants
  3. Delete WT Variants
  4. Edit WT Variants

Create new Web Template Variant

The Screen for Creating a new Web Template Variant is displayed by clicking on the 'Create New Web Template Variant' button (F5).


Create new Web Template Variant

 
In this screen you can define the following fields:

  1. RFC Destination – RFC destination that is to be used for Report Variant execution.
  2. Bookmark – Bookmark ID for the report (F4 help available based on RFC)
  3. Variant description
  4. After Image Variant ID – ID of the WT variant that is used for the after image creation. This allows you to compare the output of different Bookmarks or Bookmarks from different systems.


If After Image Variant is filled, it's necessary to maintain the mapping between those different bookmarks tables. A screen will be automatically opened after creating such a variant. 

Generate Web Template Variants

The Screen for the generation of Web Template Variant is displayed by clicking on the 'Generate New Web Template Variant' button (F6). Mass generation of WT variants is the fastest way to create variants with the same settings for cross-system testing.


Generate new Web Template Variant 


In this screen you can define the following fields:

  1. Select option for bookmarks
  2. Variants description
  3. RFC flag – if unchecked local system variants will be created
  4. Source, target RFC system for variants

Edit Web Template Variant

To edit variant, double click on desired variant ID in the ALV grid, to show variant details a screen where you can click the change button in the bottom right-hand corner (CTRL + F1) to switch between edit and display mode.


Variant edit mode 


Additional options available from the (DV-2102) Variant Editor.

Delete Web Templates Variants

Deleting the existing WT Variants can be done easily by selecting the desired rows and clicking on the delete button in the ALV toolbar.

Any WT Variants that are still in use in Front End Testing will be locked; therefore, it is first necessary to delete these WT Variants from the given runs (or specific runs) before proceeding in deleting these permanently from the Web Template Variant Editor (i.e. system).