Solution 341739

Submitted on 29 Oct 2013 by J.R.! Menzinger
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
%% h=msgbox('Click the OK button',''); clickOK(); assert(ishandle(h),'do not simply delete the figure'); drawnow; assert(~ishandle(h),'failed to click the OK button');

fid = 3 ans = 88 ans = 0 [Warning: Function ishandle has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In clickOK at 8 In verifyCode>evaluateCode at 231 In verifyCode at 40 In fevalJSON at 14]