首页> 中文期刊> 《计算机工程与设计》 >面向安卓手机App功能测试技术的方法

面向安卓手机App功能测试技术的方法

             

摘要

针对安卓手机App功能测试工具中存在的测试不全面和测试用例复用性差等问题,提出在标准路径引导下基于控件遍历的App功能测试方法.由测试人员录制一条测试路径作为标准路径;自动获取被测界面中的控件,根据控件的逻辑顺序生成控件关系图;采用基于深度优先搜索的测试用例生成方法对控件关系图进行遍历,生成测试用例.基于该测试用例进行功能测试,测试结果表明,该方法生成的测试用例提高了测试的覆盖率和脚本的复用性,简化了测试操作,验证了其可行性.%Aiming at the problems of incomplete testing and poor reusability of test cases for Android mobile App function testing tools,a generation method of automation test cases based on control traversal under the guidance of standard path was proposed.A test script was recorded as a standard path by the tester,the control in the interface was automatically acquired and the control relationship graph was generated.The test case generation method based on the depth-first search was used to traverse the control relationship graph to generate test cases.The test case was used for functional testing.The results show that the test case generated using the proposed method improves the test coverage and script reusability,simplifies the test operation and verifies the feasibility of the method.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号