首页> 外国专利> UI AUTOMATED FUNCTION TESTING METHOD, TESTING DEVICE, TESTING APPARATUS, AND STORAGE MEDIUM

UI AUTOMATED FUNCTION TESTING METHOD, TESTING DEVICE, TESTING APPARATUS, AND STORAGE MEDIUM

机译:UI自动功能测试方法,测试设备,测试设备和存储介质

摘要

A UI automated function testing method, a testing device, a testing apparatus, and a storage medium. The testing method comprises: acquiring jump information of a user interface under test (S1), the jump information comprising a pre-jump interface node, a jump element, and a post-jump interface node; acquiring a resulting topological flow diagram established according to the jump information (S2), the topological flow diagram comprising a root interface node and one or more branch paths, and each of the branch paths at least having one jump element and a corresponding post-jump interface node; performing depth traversal on the topological flow diagram, and generating, according to each branch path from a traversal start node, testing code corresponding thereto (S3), the testing code comprising a program executing a user interface jump operation with respect to each jump element; and running the testing code in a test environment, and obtaining a test result (S4).
机译:UI自动功能测试方法,测试设备,测试装置和存储介质。该测试方法包括:获取被测用户界面的跳转信息(S1),该跳转信息包括跳转前接口节点,跳转元素和跳转后接口节点。获取根据跳转信息建立的结果拓扑流程图(S2),所述拓扑流程图包括根接口节点和一条或多条分支路径,每个分支路径至少具有一个跳转元素和对应的跳转后接口节点;在拓扑流程图上进行深度遍历,并根据遍历起始节点的每个分支路径,生成与之对应的测试代码(S3),该测试代码包括针对每个跳转元素执行用户界面跳转操作的程序;在测试环境中运行测试代码,并获得测试结果(S4)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号