随着移动应用软件复杂性不断提高,高效的测试技术和工具逐渐成为高质量移动应用的必要保证。基于录制一回放技术提出一种GoogleAndroid平台上移动应用的自动化测试解决方案,并实现了一个黑盒测试工具。通过举例描述系统录制测试用例、生成脚本并回放的过程,详细分析了GUI自动化测试工具录制一回放模块关键技术的设计与实现。该GUI测试工具主要应用于回归测试阶段,能够提高测试效率。
With Constant increase of the complicity of mobile applications, efficient testing techniques and tools gradually become essential to assure high-quality mobile applications. Based on capture-replay technique, in this paper we address an automatic testing solution for mo- bile applications on Google Android platform, and implement a black-box testing tool. Through presenting an example to depict the recording testing case and the process of script generation and replay, we dissect the design and implementation of key technique in capture-replay mod- ule of GUI automatic testing tool. The GUI testing tool is mainly used for regression test and can improve testing efficiency.