GAT:Windows平台下GUI软件自动化测试框架研究  被引量:3

GAT: Research on GUI Software Automated Test Tools on Windows OS

在线阅读下载全文

作  者:钱汉伟 QIAN Han-wei(Department of Computer Information and Network Security, Jiangsu Police Institute, 210031, Chin)

机构地区:[1]江苏警官学院计算机信息与网络安全系,江苏南京210031

出  处:《软件》2018年第3期72-76,共5页Software

基  金:江苏警官学院重点项目(项目号:2016SJYZZ02)

摘  要:介绍主流的GUI自动化测试工具的原理,方法和优缺点。针对自定义控件识别率不高的缺点,提出了采用DLL注入技术将预定义动态库文件加载到被测程序的进程空间,调用被测试程序自定义控件函数获取自定义控件坐标位置等信息,并通过COM接口把GUI控件信息传递给测试脚本,再由GUI测试脚本模拟用户操作实现自动化测试工作。测试脚本采用关键字驱动技术,有效提高了测试脚本的可读性和编写效率。Introduces the principle, method, advantages and disadvantages of the mainstream GUI automated testing tools. In view of the disadvantage of low recognition rate of custom control, this paper proposes to use DLL injection technique to load the predefined dynamic library file into the process space of the program under test, and to call the custom control function of the tested program to obtain the information of the coordinate position of the custom control. Through the COM interface to the GUI control information passed to the test script, and then by the GUI test script to simulate user operations to automate testing. Test script using keyword-driven technology to effectively improve the readability of test scripts and write efficiency.

关 键 词:图形用户界面 DLL注入 自动化测试 关键字驱动 

分 类 号:TP311.56[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象