The ERP Report Test Case is a collection of Report Test Variants.
...
RFC Destination – RFC destination that will be used for Report Variant execution.
- Variant Description – The description of the new Report Variant. Following placeholders are allowed in the description:
- <REPORT> - will be replaced with the name of the report defined in this variant
- <VARIANT> - will be replaced with the name of the report variant defined in this variant
- <DATE> - will be replaced with the current date on the system
- <TIME> - will be replaced with the current time on the system
Report (required) – Technical name of the report to be used for image creation.
Note Validate creates before and after images from report execution spool. Only reports that create such spools when executed in a background job should be used
Report Variant (ABAP Variant) – Variant of the specified report to be used when the report is executed. These variants can be managed in transaction SE38.
After Image Variant ID – ID of the Report Test Variant that is used for the after image creation. This allows you to compare the output of different Reports/Report Variants or outputs from different systems.
By clicking on Advanced Settings we can define comparison settings, that will be used at the comparison stage of the variant. If nothing is changed in comparison settings, the default Simple Report Comparator will be used. We can change the following settings:
Ignore Date and Time - Each report comparator is capable of ignoring time stamps in a number of standard formats that often cause the difference in the output of reports as they are executed at different times. Following date format patterns are recognized with all date notation (using delimiters '.', '/' and '-' ): mm*dd*yyyy, dd*mm*yyyy, yyyy*dd*mm, yyyy*mm*dd, mm*yyyy, yyyy*mm. Following time format are recognized: hh:mm:ss, hh:mm.
Info Each recognized date and time is internally not removed but replaced with special character '#' in appropriate character length, e.g.: '16.04.2020' with '##########', '04/2020' with '#######' or '21:56:06' with '########'
Compare Only Data – Each report comparator can ignore lines that don't contain any alpha-numerical character (0-9, a-z, or A-Z).
- Report Comparison Type – Datavard Validate comes by default with five report comparators:
- Simple Report Comparator compares the report output in B-image and A-image row by row so matching lines have to be in the same position. This comparison is suitable for auditing if frozen data was affected with some change on the same system after a period of time.
- Advanced Report Comparator searches for the exact match of a row from Before Image in After Image rows independent of the position of row. Each row in the before image and after image is normalized before comparison. The process of row normalization depends on selected comparison attributes and on defined mapping if was chosen.
...
You can create copies of Report variants by selecting multiple variants in the selection table and then clicking on
Copy Report Variants toolbar button. For each selected variant new variant is created with exactly the same settings as the source variant.Message log from copying variants
...
You can edit the existing Report variants by double-clicking on them in the table view. Only Variants that are not already in use in Test Runs can be edited. If a Report Variant is already used in the Test Runs, then the details can only be reviewed, but not changed.
When variant details are displayed, you can check where this variant is used. By pressing the Where Used button a table is displayed that contains all Test Plan/Test Case/Run ID information where this variant is used.
...
Where Used List for Variant
Mass Edit Variants
You can edit more Report variants at once. Mass edit is done by selecting the required variants in the list and clicking on 'Mass Edit Variants' button, a Dialog for mass edit of variants is then displayed.
These are settings for comparison and variants, which are applied to every variant user selected. Changes to these values are done after clicking on the 'Continue' (Enter) button. By marking the 'Edit' checkbox (on the left) only the values, which you want to be changed will be replaced in selected variants. Only variants that are not yet used in test runs can be changed by mass edit. Before the change, mass edit checks if the variant is used as before or after image in any test run. If the variant is not editable, or there is another problem, a warning/error message is displayed in the log.
Report Variant Editor
Tip | ||
---|---|---|
| ||
(DV-2105) Variant Editor provides a central location where you can manage all the backend-testing variants |
...