In order to improve the efficiency of smartphone performance test, the methodology of automatic test was introduced. According to the method, an Android smartphone performance test tool called FLEX-ANDROID was developed. The components of the test tool and the test scripts were described in detail. In addition, it analyzed how to calculate and generate test results. Then, the FLEX-ANDROID test tool was used for automatic test. The time costs of automatic test and manual test were compared. The result shows that automatic test rate is about three times as fast as that of manual test rate. It indicates that the test tool can effectively improve the performance test efficiency, and greatly reduce test time and duplicate test.%针对手机性能测试中效率低、工作量大等问题,提出自动化性能测试的方法,并运用这一方法设计了Android平台手机性能测试的FLEX-ANDROID工具.对这一工具的组成结构和测试脚本的编写进行了详细研究,并且对如何计算和生成测试结果进行了分析说明.通过使用自行研发的FLEX-ANDROID工具进行自动化测试,并将自动化测试所花时间和手动测试时间进行对比,结果表明,自动测试速度大约为手动测试速度的3倍.这表明FLEX-ANDROID工具能够有效提升测试工作效率,大幅度缩减测试时间,减少测试工作的重复劳动.
展开▼