基于QTP的数据驱动测试开发  被引量:2

Data driven testing development based on QTP

在线阅读下载全文

作  者:王敏[1] 高霞[1] 王智超[1] 

机构地区:[1]武昌理工学院信息工程学院,湖北武汉430223

出  处:《微型机与应用》2014年第2期91-94,共4页Microcomputer & Its Applications

摘  要:提出采用面向自动化测试的测试用例设计格式,通过QTP的编程功能,使用外部数据源来实现较复杂的数据驱动测试。具体方法是采用Excel作为测试数据源,制定Excel中测试数据的设计格式,建立专用的函数库来操作Excel数据,实现以数据为驱动的自动化测试。这一方法能有效地实现测试数据与测试脚本的分离,同时,测试数据的设计操作变得方便,数据的可读性增强,提高了测试效率和测试数据的维护效率。This paper proposed a test case design format for automatic testing , using external data sources to realize more complex data driven testing by the programming function of QTP . The method used Excellas data source , and established the de-sign format of test data in Excell, and then created a function library to realize the data-driven automation test . This method makes it easy to design test data , and improve the readability of test data , it can effectively realize the separation of test data from the test script and improve the test efficiency and the maintenance efficiency of test data .

关 键 词:QTP 函数库 测试脚本 测试用例 测试报告 

分 类 号:TP274[自动化与计算机技术—检测技术与自动化装置] TP311.52[自动化与计算机技术—控制科学与工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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