Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter name

Description

Example

Field

Field of the document for which we want to define an assertion rule.

VBTYP

Rule

Assertion rule. Possible values:

  • N/A

The database fields are ignored while performing assertions. They are displayed in the results, but they are not marked with any color.

  • Warning when different, error when empty

Suppose the values within the compared database fields differ. In that case, the fields are marked with yellow color on the results screen, indicating "warning". If there are no values within compared database fields, the fields are marked red, meaning "error".

  • Warning when empty, error when different

Suppose the values within the compared database fields differ. In that case, the fields are marked with red color on the results screen, indicating "error". If there are no values within compared database fields, the fields are marked red, meaning "warning".

  • Warning (always)

If the values within the compared database fields differ, the fields are always marked with yellow color indicating "warning".

  • Error

always error when values are different

E

  • Warning when different based on variable replacement

In case compared DB values are different IFTT compares them with specified variable. If reference/current value pair from DB comparison matches variable values result is marked as "warning".

Variable name used for checking the values has to be specified in the Processing Parameter column

  • Warning when different based on value mapping object

In case compared DB values are different IFTT compares them with specified values in the Mapping Object. If reference/current value pair from DB comparison matches mapping values result is marked as "warning".

Mapping Object name used for checking the values has to be specified in the Processing Parameter column.

Mapping object and values are configured in /INT4/IFTT_IMG → Landscape configuration → Define Mapping Objects

  • Warning when actual value doesn't match pattern

Checks current value against pattern specified in the Parameter column. Patterns can be specified as regular expressions.
{REF} placeholder can be used to indicate reference value.

00{REF} - expected same value as in reference with two leading zeros

{REF}_[0-9]{4} - expected same value as in reference with prefix '_' (underscore) followed by 4 digits

  • Warning when reference value doesn't match pattern

Checks reference value against pattern specified in the Parameter column. Patterns can be specified as regular expressions.
{ACT} placeholder can be used to indicate current value.

0000{ACT} - expected same value as in current with four leading zeros

[A-Z]{3}_{ACT} - expected same value as in current with three letters followed by '_' (underscore) as a prefix

Change Request

The difference will be highlighted green in the test report.

Note

These rules are active only when Test Case is run within Test Run type: Change Request Test

Mask Output

hide the field entry in test results

Description

optional description 

Parameter

Placeholder for additional parameter values required by some of the rule types

...