CreateAssertionErrorMessageForStandardDatatype (FUN)¶
FUNCTION CreateAssertionErrorMessageForStandardDatatype : WSTRING(Constants.WSTRING_LENGTH)
wsErrorMsg is used, it is recommended to change the value of the library parameter Constants.WSTRING_LENGTH.- InOut:
Scope
Name
Type
Comment
Return
CreateAssertionErrorMessageForStandardDatatypeWSTRING(Constants.WSTRING_LENGTH)a
WSTRINGsimilar to “Assertion failed: ‘<wsActualValues>’ <wsAssertOperator ‘<wsReferenceValues>’. [Additional information: <wsErrorMsg>]”Input
wsActualValueWSTRING(Constants.WSTRING_LENGTH)The actual value as
WSTRINGwsReferenceValueWSTRING(Constants.WSTRING_LENGTH)The reference value as
WSTRINGwsAssertOperatorWSTRING(Constants.WSTRING_LENGTH)The assert operator e.g. “=” or “CONTAINS”
wsErrorMsgWSTRING(Constants.WSTRING_LENGTH)A custom error message that should be appended. If no message is provided the “Additional information” part will not be added to the returned error.