摘要: ##UIAutomation UIAutomation是随iOS4.0系统一起发布的一款旨在iPhone Device/Simulator上可执行的自动化测试框架。 ##使用UIAutomation准备 * 被测试app源代码 * 了解JavaScript ##录制测试脚本 * 录制测试脚本 1. 使用Xcode打开被测试app工程 2. command + i 打开Instrument 3. 选择Automation template ->profile ![](http://images.cnitblog.com/blog/147647/201409/141247390123688.jpg) 4. command + R 停止 profile 5. 找到scripts 选择 add->create... 会看到一个新的脚本文件,下方有3个操作按钮 ![](http://images.cnitblog.com/blog/147647/201409/161326317065425.png) 6. 点击红色录制按钮,会启动APP,你在设备或 阅读全文
posted @ 2014-09-16 13:29 supermvn 阅读(1162) 评论(0) 推荐(0) 编辑