作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (5): 46-48,5. doi: 10.3969/j.issn.1000-3428.2010.05.017

• 软件技术与数据库 • 上一篇    下一篇

基于控件约束关系的Web功能测试系统

贾 丽,许 静,金 鑫,田 禾   

  1. (南开大学机器智能研究所,天津 300071)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2010-03-05 发布日期:2010-03-05

Web Functional Test System Based on Control Constrains Relationship

JIA Li, XU Jing, JIN Xin, TIAN He   

  1. (Institute of Machine Intelligence, Nankai University, Tianjin 300071)
  • Received:1900-01-01 Revised:1900-01-01 Online:2010-03-05 Published:2010-03-05

摘要: 设计一种基于XML描述和网页结构分析的Web功能自动化测试系统,利用控件约束规则自动生成测试数据和测试用例,记录用户在所有页面中进行的有序操作,并用XML语言描述。参照工作流的定义规则定义测试流。通过采用测试流和自动生成的测试数据,系统可以模拟用户手工测试,从而实现自动化测试,提高测试效率。

关键词: Web功能测试, 自动化测试, 测试用例

Abstract: An automatically system for Web functional test is presented, which is based on an XML description and integrates the Web pages structure analysis. It can generate test data as well as test cases automatically by the constraints and the rules. This system can record the path where user operates on a Web with all the pages that passed by. Refering to the definition of workflow, it defines a test-flow and is described by using XML. It can do the test as a user when following the test-flow with using the test data. It promotes the test efficiency.

Key words: Web functional test, automation test, test cases

中图分类号: