(DV-2008) Web Template Definition
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 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:
- Create New WT Variant
- Generate WT Variants
- Delete WT Variants
- 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:
- RFC Destination – RFC destination that is to be used for Report Variant execution.
- Bookmark – Bookmark ID for the report (F4 help available based on RFC)
- Variant description
- 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:
- Select option for bookmarks
- Variants description
- RFC flag – if unchecked local system variants will be created
- 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 (DV-2008) 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 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).