December 2019
Beginner to intermediate
770 pages
16h 14m
English
Earlier, it was noted that, when asserterror enables the test to continue with the next statement, it will not check the error as such. And that is what this helper function needs to do, as shown in the following code:
local procedure VerifyBlockedCategoryErrorThrown()var CategoryIsBlockedTxt: Label 'This category is blocked.';begin Assert.ExpectedError(CategoryIsBlockedTxt);end;
Read now
Unlock full access