AnswerMessageBox (open)

Answers the currently open messagebox


LOADLIB "mod::tollium/lib/testframework.whlib";

ASYNC FUNCTION AnswerMessageBox(STRING answer, RECORD options)


STRING answer

Button to press in the message box

RECORD options
STRING messagemask

Like-mask for the expected message

STRING namemask

Like-mask for the name of the messagebox

Return value

Promise resolving when the messagebox has closed