摘要: 在对工作流系统进行仿真测试时,由于业务系统跨度和规模大,并且存在大量人机交互工作,增加了仿真测试的难度。为解决该问题,提出一种基于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
中图分类号:
袁钢, 孙瑞志, 向勇. 基于Selenium的工作流业务系统仿真测试[J]. 计算机工程, 2012, 38(20): 30-33.
YUAN Gang, SUN Rui-Zhi, XIANG Yong. Workflow Business System Simulation and Test Based on Selenium[J]. Computer Engineering, 2012, 38(20): 30-33.