FoneMonkey
Environment Variable Value Description
FM_ENABLE_AUTOEXIT YES Set application to terminate after OCUnit tests have run
FM_ENABLE_XML_REPORT YES Save test results in XML format to application's Documents Directory
FM_ENABLE_SCREENSHOT

FAILURE

ALL

NONE

Writes out a screenshot each time a script failure occurs

Writes out a screenshot after each command is executed

No screenshots will be written

FM_ENABLE_QUNIT ScriptName.js Set application to run QUnit test in ScriptName.js
FM_ENABLE_UIAUTOMATION YES Generate UIAutomation JavaScript file instead