有没有办法在 javascript 测试代码中访问仪器的命令行参数?
我正在使用以下命令开始 UI 测试:
仪器 -t /Developer/Platforms/iPhoneOS.platform/Developer/Library/Instruments/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -e UIASCRIPT abc.js
有没有办法在 javascript 测试代码中访问仪器的命令行参数?
我正在使用以下命令开始 UI 测试:
仪器 -t /Developer/Platforms/iPhoneOS.platform/Developer/Library/Instruments/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -e UIASCRIPT abc.js