首页 | 本学科首页   官方微博 | 高级检索  
     

自动化测试中基于GUI非标准控件的识别和应用
引用本文:厉旻,陆璐,李昕.自动化测试中基于GUI非标准控件的识别和应用[J].微计算机信息,2010(4).
作者姓名:厉旻  陆璐  李昕
作者单位:华南理工大学;
摘    要:图形用户界面(GUI)中Windows第三方非标准控件识别率不高,对基于Windows第三方控件的应用软件进行自动化测试一直是软件自动化测试中的难题,本文基于Windows消息机制提出了一种解决第三方控件识别的设计方案,该方案通过自动化测试软件发送Windows消息,而Windows应用程序捕获消息并解析传递的xml数据,从而准确定位到图形界面的某一控件,并模拟测试软件对其控件操作已达到自动化识别的目的,实践证明,基于该方案构建的测试系统具有良好的测试效果。

关 键 词:自动化测试  GUI图形界面  非标准控件  Windows消息  xml  

A Recognition and implementation of GUI Non-standard control in Test Automation
LI Min LU Lu LI Xin.A Recognition and implementation of GUI Non-standard control in Test Automation[J].Control & Automation,2010(4).
Authors:LI Min LU Lu LI Xin
Affiliation:LI Min LU Lu LI Xin(Software Engineering,South China University of Technology GuangZhou 510006,China)
Abstract:In this Paper,A new Method is recommended to solve the problem in recogising the Non-standard control of GUI in the automatic test,this method based on Windows message mechanism,through the automatic test tool send windows message,and the Windows application picking up the message,parseing the transfer the xml Data,catching the control,and then simulate the test tool operate it. In the end,the results and procedures for testing an exact program with the method are presented.
Keywords:Automatic test  GUI  Non-standard control  windows message mechanism  xml  
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号