基于级别权重XML的自动化测试框架  被引量:2

Automated testing framework based on XML with level and weight attributes

在线阅读下载全文

作  者:相玉娟[1] 袁兆山[1] 

机构地区:[1]合肥工业大学计算机与信息学院,安徽合肥230009

出  处:《合肥工业大学学报(自然科学版)》2009年第3期324-328,共5页Journal of Hefei University of Technology:Natural Science

基  金:安徽省淮北矿业集团公司科技资助项目(06201);合肥工业大学科学研究发展基金资助项目(050502F)

摘  要:文章针对当前自动化测试工具/框架存在的问题,提出了一种基于级别权重XML的自动化测试框架。框架采用XML的自动化测试过程数据流模型,用XML语言来描述GUI层次结构、测试类、测试信息、配置文件、测试数据及测试结果等信息;根据测试信息中的级别与权重属性,测试用例生成模块利用级别权重策略自动生成测试脚本与测试数据,测试驱动模块采用级别权重调度算法动态执行测试脚本并生成测试结果;最后给出了简单的测试实例。For the purpose of settling problems in the present automated testing tools/frameworks, the paper presents an automated testing framework based on XML with level and weight attributes. The framework adopts an XML-based automated test process data flow model and uses the XML script to describe the GUI layer structure, testing class, testing information configuration document, testing data and testing result, etc. The test case generation module makes use of level and weight strategy and automatically creates the testing script and testing data according to the level and weight attributes in the test information. The test drive module adopts the attemperment arithmetic of levels and weights, dynamically executes the test script and produces the testing result. A simple testing example is given.

关 键 词:XML 级别权重策略 级别权重调度算法 层次结构 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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