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

计算机工程 ›› 2012, Vol. 38 ›› Issue (20): 30-33. doi: 10.3969/j.issn.1000-3428.2012.20.008

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

基于Selenium的工作流业务系统仿真测试

袁 钢1,孙瑞志1,向 勇2   

  1. (1. 中国农业大学信息与电气工程学院,北京 100083;2. 清华大学计算机科学与技术系,北京 100084)
  • 收稿日期:2011-12-14 修回日期:2012-02-05 出版日期:2012-10-20 发布日期:2012-10-17
  • 作者简介:袁 钢(1978-),女,讲师、博士研究生,主研方向:工作流管理及应用;孙瑞志,教授、博士;向 勇,副教授、博士
  • 基金资助:
    国家自然科学基金资助项目(60736020, 30900869);国家“863”计划基金资助项目(2007AA010305)

Workflow Business System Simulation and Test Based on Selenium

YUAN Gang 1, SUN Rui-zhi 1, XIANG Yong 2   

  1. (1. College of Information and Electrical Engineering, China Agricultural University, Beijing 100083, China; 2. Department of Computer Science and Technology, Tsinghua University, Beijing 100084, China)
  • Received:2011-12-14 Revised:2012-02-05 Online:2012-10-20 Published:2012-10-17

摘要: 在对工作流系统进行仿真测试时,由于业务系统跨度和规模大,并且存在大量人机交互工作,增加了仿真测试的难度。为解决该问题,提出一种基于Selenium工具的工作流业务系统仿真测试方法。在对B/S结构的业务系统进行仿真测试时,采用该方法自动模拟不同参与者进行人机交互工作,直至业务流程执行完毕。应用结果表明,在大批量流程实例同时分发的情况下,该方法可以并行启动及执行多个流程实例,实现系统性能测试。

关键词: 工作流, 业务系统, Web表单, 仿真测试, Selenium工具, 流程实例

Abstract: In using workflow system, as business systems have large span and scale, and there are large numbers of interactive work within it, all of which increase the difficulty of simulation and testing. Under these circumstances, this paper puts forward a way that using Selenium to simulate and test the business systems in workflow. It can automatically simulate different participants’ complex interactive work and complete the implementation of the business processes in B/S structural business system. Application result shows that this method can automatically start and run multiple process instances at the same time, and test the performance of the system in the case of distributing large quantities of process instances.

Key words: workflow, business system, Web form, simulation and test, Selenium tool, process instance

中图分类号: