首页> 中文期刊>计算机测量与控制 >一种非侵入的GUI自动化测试系统设计

一种非侵入的GUI自动化测试系统设计

     

摘要

To solve the problem of the automatic testing of embedded GUI software,this paper proposes a non-intrusive GUI automatic test system,which can convert the execution steps of test cases into Python test script.The human computer interaction is transformed into the control instruction of mouse and keyboard simulation equipment to enter the required human-computer information,so that the test case execution is carried out.At the same time,in the principle of not interfering with the tested system,the output video data of the tested system is collected directly,and the result of the test case is determined automatically according to the expected output through the image data processing algorithm such as image comparison,image search and text recognition.The test system can improve the test efficiency.%针对嵌入式GUI软件自动化测试,提出一种非侵入的GUI自动化测试系统设计方案,能够使用Python格式的测试脚本灵活描述测试用例的执行步骤,能够自动化执行测试脚本;系统将人机交互步骤转成鼠标键盘模拟设备的控制命令,实现对被测软件鼠标键盘的控制,从而输入需要的人机交互信息,实现测试用例的自动执行;同时以不干扰被测系统为原则,直接采集被测系统输出到显示器中的视频数据,通过对图像数据的处理进行图像对比、图像查找和文字识别,根据测试用例预期输出自动判断用例的执行结果;该测试系统解决了嵌入式软件GUI自动化测试的难题,提高了测试效率.

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号