计算机与现代化

• 应用与开发 • 上一篇    下一篇

基于脚本的流程自适应自动化测试研究

  

  1. 1.江苏电力信息技术有限公司,江苏南京210009;2.江苏省电力公司信息通信分公司,江苏南京210024
  • 收稿日期:2014-11-05 出版日期:2015-02-28 发布日期:2015-03-06
  • 作者简介:王游(1989),男,江苏南京人,江苏电力信息技术有限公司系统工程师,硕士,研究方向:人机交互,自动化测试; 冯曙明(1982),男,工程师; 何金陵(1983),男,江苏省电力公司信息通信 分公司工程师; 方泉(1969),男,高级工程师,硕士。

A Study of Adaptive Automated Testing to Processes

  1. 1. Jiangsu Electric Power Information Technology Co., LTD, Nanjing 210009, China;
    2. Information & Telecommunication Branch, Jiangsu Electric Power Company, Nanjing 210024, China
  • Received:2014-11-05 Online:2015-02-28 Published:2015-03-06

摘要:

自动化测试技术因其低成本和高可重复性在大型软件的开发中占有重要地位,然而现有的自动化测试技术多用于静态代码逻辑或功能的测试,较少关注动态流程的测试,而流程测试在复杂的商业
软件开发中既重要又困难。对此,本文介绍面向流程的自适应自动化测试系统。该系统基于脚本测试技术,通过使用脚本库管理大量异构脚本,统一脚本数据接口,维护流程和脚本及脚本间关系,构造
动态脚本运行计划,实现了大量脚本的统一管理,脚本间的自动协作,以及对流程变更的自适应回归测试。本文将结合实际的业务流程说明该系统的具体实现。

关键词: 自动化测试, 业务流程, 脚本管理, 自适应测试, SAP, ERP

Abstract:

It is important to use automated testing techniques in ERP software development for less cost and better repeatability. But, most these techniques can only test one
object, and unable to test the processes of ERP software which may contains many different test objects. And, the correctness of processes of business software is essential.
This paper describes a selfadjusted and automated testing system to ensure the correctness of processes for ERP software. The system uses script database to manage the kinds
of testing scripts, changes each testing script to have the same data interfaces, and maintains the relationships among scripts and processes. Then, the system is able to manage
the scripts in a uniform way, and the scripts can exchange data automatically, and the scripts can be organized automatically to test the changed processes. This paper will use
real example to explain this system.

Key words: automated testing, business processes, scripts management, adaptive testing, SAP, ERP

中图分类号: