一种非侵入的GUI自动化测试系统设计
CSTR:
作者:
作者单位:

(中国船舶工业综合技术经济研究院,北京 100081)[HJ1.58mm]

作者简介:

吴立金(1987-),男,山东人,工程师,主要从事软件可靠性与软件测试方向的研究 。[FQ)]

通讯作者:

中图分类号:

基金项目:


Design of Non-Intrusive GUI Automated Test System
Author:
Affiliation:

(China Institute of Marine Technology & Economy,Beijing 100081,China)

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    针对嵌入式GUI软件自动化测试,提出一种非侵入的GUI自动化测试系统设计方案,能够使用Python格式的测试脚本灵活描述测试用例的执行步骤,能够自动化执行测试脚本;系统将人机交互步骤转成鼠标键盘模拟设备的控制命令,实现对被测软件鼠标键盘的控制,从而输入需要的人机交互信息,实现测试用例的自动执行;同时以不干扰被测系统为原则,直接采集被测系统输出到显示器中的视频数据,通过对图像数据的处理进行图像对比、图像查找和文字识别,根据测试用例预期输出自动判断用例的执行结果;该测试系统解决了嵌入式软件GUI自动化测试的难题,提高了测试效率。

    Abstract:

    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自动化测试系统设计计算机测量与控制[J].,2017,25(12):49-53.

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2017-06-13
  • 最后修改日期:2017-07-23
  • 录用日期:
  • 在线发布日期: 2018-01-04
  • 出版日期:
文章二维码