计算机工程与应用 ›› 2009, Vol. 45 ›› Issue (4): 82-85.DOI: 10.3778/j.issn.1002-8331.2009.04.023

• 研发、设计、测试 • 上一篇    下一篇

Web系统测试用例自动执行系统

贾 丽,许 静,金 鑫,田 禾   

  1. 南开大学 机器智能研究所,天津 300071
  • 收稿日期:2008-01-09 修回日期:2008-04-08 出版日期:2009-02-01 发布日期:2009-02-01
  • 通讯作者: 贾 丽

Test case auto-execution system for Web application

JIA Li,XU Jing,JIN Xin,TIAN He   

  1. Institute of Machine Intelligence,Nankai University,Tianjin 300071,China
  • Received:2008-01-09 Revised:2008-04-08 Online:2009-02-01 Published:2009-02-01
  • Contact: JIA Li

摘要: 由于Web应用系统的迅速发展,如何进行有效的Web测试对于保证Web系统的可靠性越来越重要。设计的Web功能测试用例自动执行系统,改进了传统的录制/回放方式,可以模拟用户操作,对Web系统进行功能性测试。提出一种基于XML的测试用例的结构描述,称之为X-Case,对于经常更新的Web系统,修改X-Case结构内的相关数据就可以进行回归测试,不需要重新生成大量的测试用例,节约Web测试的成本。该系统支持部分测试数据自动生成,对动态和静态网页均能执行自动化测试。

Abstract: Web applications have grown faster and faster and become more and more complex.How to confirm the quality and the reliability of these systems has been ever important.This paper proposed a test case automatic execution system,which based on a X-Case structure,which authors designed using Extensible Markup Language(XML).It can perform like a real user in the terminal system to test any Web application.The system is characterized by high reusability of test cases,only the first testing of test cases needs to be generated.For some of the changes of a Web system,authors just need to change the relevant parameter of X-Case and do the test procedure again.This system supports parts of the test data auto-generating and does the test well no matter the pages are static or dynamic.