Processing of CAMUNDA BPMN 2.0 models to generate test cases in HP ALM
Blog: BPM-Xchange team blog
Modeling with BPMN 2.0 is nowadays a very common case for documentation and automation of business processes. But testing of complex models is not an easy task. BPM-X® processes BPMN models from tools like CAMUNDA, generates test cases and uses tools like HP ALM for test execution and automation.
There are many tools in the market for BPMN modeling and execution and some of them are supporting the new BPMNDI standard by OMG for data exchange format. A good implementation of BPMN modeling and data exchange is CAMUNDA, an open source tool for process automation. BPM-X is a model bus software for diagram and model interchange with the capability to generate test cases in different tools.
The described use-case comprises the use BPMN 2.0 to describe the business processes for automation. The created model and diagram is stored in a .BPMN file. The following picture shows an BPMN 2.0 model SAP® business process procure-to-pay.
The created .BPMN file is loaded into the BPM-X® model bus using the BPMNDI adapter. After having loaded the model into the model bus, operations like automated test case generation can be executed. Processing an BPMN model is a kind of simulation of the model for possible end-to-end paths and generation of test cases. The algorithms are based on model-based testing (MBT). During this processing of the BPMN model a cost optimization is performed to calculate the minimal set of required est cases. This optimization can lower the number of generated end-to-end paths to cover all tasks, all transitions, all paths and even higher coverage based on needs for quality.
After processing of end-to-end paths each path becomes a test case assigned with specific custom data attributes. The BPM-X model bus then uses its HP ALM adapter to store the test cases via REST web services in the HP ALM test plan and specific subject.
Leave a Comment
You must be logged in to post a comment.