ExpectWorkErrors (open)
Expect work errors, auto 'ok' them
Syntax
LOADLIB "mod::tollium/lib/testframework.whlib";
OBJECT FUNCTION ExpectWorkErrors(MACRO PTR call, RECORD options)
Parameters
MACRO PTR call
Call to trigger the work errors
RECORD options
BOOLEAN awaitcall
Expect the trigger call to return after answering the messagebox
STRING messagemask
Like-mask for the expected message
Return value
OBJECT
expectcallreturn
Expect call that requires the trigger-call to have finished (not usable when using awaitcall)