基于样本程序的自动化测试工具  被引量:8

Automated Testing Tool Based on Sample Program

在线阅读下载全文

作  者:王津 左春 张正[1] WANG Jin;ZUO Chun;ZHANG Zheng(Sinosoft Co.,Ltd,Beijing 100190,China;Institute of Software,China Academy of Sciences,Beijing 100190,China)

机构地区:[1]中科软科技股份有限公司,北京100190 [2]中国科学院软件研究所,北京100190

出  处:《计算机工程》2020年第3期198-205,213,共9页Computer Engineering

摘  要:为提升基于样本程序的行业软件质量,在分析样本程序内容和领域数据的基础上,提出一种自动化测试工具。通过分析样本程序中规范化的骨架注释,利用规则库提取出自动化测试所需的元素定位参数和业务流程标识,并从领域数据中抽取出业务数据。在此基础上,应用代码引擎自动生成测试脚本。实验结果表明,该测试工具可快速测试和修改基于样本程序的行业软件的业务流程,与通用的QTP测试工具相比,其测试效率和脚本正确率较高。In order to improve the quality of industry software on the basis of sample programs,this paper proposes an automated testing tool based on the analysis of sample program content and domain data.By analyzing the standardized skeleton comments in sample programs,the rule base is used to extract the element positioning parameters and business process identifiers needed for automated testing,so as to extract business data from domain data.On this basis,the code engine is used to automatically generate a test script.Experimental results show that the test tool can quickly test and modify the business procedure of industry software based on sample programs,outperforming the frequently used QTP test tool in terms of the test efficiency and the script accuracy.

关 键 词:自动化测试 样本程序 规则库 领域数据 脚本数据自动生成 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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