small medium large xlarge

Generic-user-small
17 Jan 2014, 11:56
Yuliya Ogdanskaya (1 post)

Hi, Is anybody know how to trace the app crash at runtime of automated test? I have situation when app crashes during the executing of test but at the end there is no error about it. Script is highlighted in green as if there was no error.

Avatar_pragsmall
17 Jan 2014, 17:00
Jonathan Penn (43 posts)

Alas, this is not possible. The UI Automation tests don’t know if an application crashed. If you are running Instruments from the command line, however, and the application crashes then you will get a non-zero status code even though the UI Automation tests say things passed.

  You must be logged in to comment