节点文献
基于Windows Hook的GUI测试操作捕获方法
Capture method based on Windows Hook’s GUI testing
【摘要】 通过对目前图形用户界面(graphical user interface,GUI)自动化测试理论和技术的分析比较,提出一种利用窗体钩子(Windows Hook)技术自动捕获基于.NET Framework框架下图形用户界面软件测试操作过程的解决方法。利用分类捕获和优先捕获策略对不同的操作对象进行捕获,转化为测试人员的测试操作脚本文件。通过对测试操作脚本文件的复用,达到了在测试过程中快速进行用例编写和问题报告编写的目的,提高了软件测试的工作效率。
【Abstract】 Through analyzing and comparing current graphical user interface(GUI)test automation theory and technology,a solution was proposed for automatically capturing operation of graphical user interface software under the.NET Framework testing process using Windows Hook technology.Classification and priority capture strategy was used for different capture objects,and ultimately the purpose of the operations process to generate a test scripts file was achieved.Through multiplexing of the script file of the test operation,the goal of quickly preparing and issuing reports using cases written in the testing process was achieved,improving the efficiency of software testing.
【Key words】 GUI; automated test; Windows Hook; automated capturing; test script;
- 【文献出处】 计算机工程与设计 ,Computer Engineering and Design , 编辑部邮箱 ,2016年03期
- 【分类号】TP311.53
- 【被引频次】9
- 【下载频次】95