I am reading 3.4 Grouping Test Steps and Their Output. The check_results_list.js with try/catch block doesn’t fail as shown Figure 21 or 22 when pressing the play button under the script pain.
The result in the Editor Log is
Error instead of
Fail, including the
"Issue: Script ended without explicting closing this test".
Am I doing wrong? My environment is Xcode 4.6.3, Instrument 4.6, and iOS Simulator 6.1.
When pressing the Record button on top left corner, the result in the Trace log becomes bit different. The log group is
Error, although it includes “Fail”. The timing of log output seems different from what shown in Figure 21 or 22.
Here are the Screen shots of the log.