ExpectAndAnswerMessageBox (open)
Expect a message-box to open after a trigger-call, and answer it
Syntax
LOADLIB "mod::tollium/lib/testframework.whlib";
ASYNC FUNCTION ExpectAndAnswerMessageBox(STRING answer, MACRO PTR call, RECORD options)Parameters
STRING answerButton to press in the message box
MACRO PTR callCall to trigger the messagebox
RECORD optionsBOOLEAN awaitcallExpect the trigger call to return after answering the messagebox
STRING messagemaskLike-mask for the expected message
STRING namemaskLike-mask for the name of the messagebox
Return value
expectcallreturnExpect call that requires the trigger-call to have finished (not usable when using awaitcall)