Under Consideration

How to Automatize Testing with Dinamic Data

I saw that not allowing dinamic data is a limitation of Bizagi Testing Tool.

I would like to know if there is any plan to change that in near future or if there is another tool that we can use to automatize complex test scripts, where many business rules must be verified, involving dinamic inputs and checking the outputs generated by the automatized test.

Comments (4)

photo
1

Dear Carlos,

Currently our product does not include this feature. This question is considered as an idea so that the whole Bizagi BPM Modeler community can vote and discuss them. We want to make sure we solve the needs of our clients, so that we can add the features you consider most important.

Regards

photo
1

Carlos, worse, if you add or remove an attribute, the automatic testing will fail immediately.

We tried Selenium, but the dynamic nature of the Bizagi forms creates new guids that Selenium must remap, too time consuming.

We tried AutoHotkey scripts, some success, where you simply automate the mouse and keyboard. However you are not notified of errors, you have to run & watch.

- - -

We tried a radical approach, making a new process that calls all our reusable forms sequentially in the bpm, and in the process form, add a rule that if a process-level attribute is empty, or not empty, click on Next.

We then set OnEnter the ID to a record we want to run the form against - so we are using pre-established master data, not doing Delete Cases.

In one case, we did looping, to run the same form against all the data. The magic being, the process form does an automatic Next.

If there is an error thrown, or a validation fail, the auto-next doesn't occur. So we run this process somewhere and keep an eye on it.

At the very least - we know our reusable forms are functional every time - not broken because of an attribute change or a script change.

photo
1

An option is to leverage an external tool and Bizagi WS so you can apply your dynamic data, without involving Bizagi Testing. We are using a similar setup and it works pretty well for us.

photo
1

This is a great ideia because we can improve Bizagi tests.

As you can see, this ideia will decrease the time to find a erro, and fix the problema