基于RFT的自动化测试框架的设计与实现
首发时间:2009-02-19
摘要:自动化测试是使用或者开发一些自动化测试工具,通过脚本的录制,编辑和回放来完成测试。这种方式使数据和脚本混在一起,几乎一个测试用例对应一个脚本,维护成本很高。而且即使界面的简单变化也需要重新录制,脚本可重复使用的效率低。本文设计了一个可重用的自动化测试框架,该框架基于IBM的自动化测试工具RFT,在借鉴IBM自动化测试框架的基础上,完成自动化测试脚本的开发。本文实现的测试框架能够从数据文件中读取测试数据,然后传入自动化脚本,不同的数据文件对应不同的测试用例。这种模式实现了数据和脚本分离,提高了脚本的利用率,并使脚本的可维护性大大提高。
For information in English, please click here
The Design and Implementation of Automated Testing Framework based on RFT Framework based on RFT
Abstract:Automated testing is using or developing some automated testing tools to complete the testing through the script recording, editing and playback. In this way, data and scripts are mixed, almost a test case corresponds to a script, and it needs high maintenance costs. Furthermore, a simple interface change needs to re-recording, so reusability of the scripts is inefficient. This paper design a reusable automated testing framework based on IBM automated testing tools RFT, using the IBM automated testing framework for reference to complete the development of automated test script. In this paper, the automated testing framework can read testing data from data files, then introduce them to automation scripts, and different data files correspond to different test cases. This pattern achieves the separation of data and scripts, so it increase utilization of scripts and greatly enhance script maintainability.
Keywords: automated testing testing framework RFT
基金:
论文图表:
引用
No.2932128722712350****
同行评议
勘误表
基于RFT的自动化测试框架的设计与实现
评论
全部评论0/1000