The goal of automated process testing is to develop an AI agent that can thoroughly evaluate a process.
Here are some scenarios to consider:
- The starting point could simply be the process.
- Begin with a form; once it is submitted, initiate the process.
- The process can follow many paths.
What do we want the AI agent to achieve?
- Assess the flow and develop a testing plan.
- Complete the forms and submit them.
- Keep track of tasks, choose options, and complete the tasks.
- Explore different routes, try all options.
- Identify problems.
This example demonstrates the following process workflow.

This example uses the following form.

On the Form Definitions page, select the Form, then click the View > Execute with params menu option. We are instantiating a new process instance by submitting the Form.

On the Configuration page, select the Form Definition from the drop-down list. Then, select the Process Definition from the drop-down list. Choose the process variable to store the Form Instance ID. Select the language to render the Form from the drop-down list. Set “AI Agent” as the test mode. Check the box to save the process instance. Select the user to run this test mode from the drop-down list. Click the “Save Form URL” button to create a new process instance with a single click. Finally, click the Execute button to start a new process execution.

The form appears on a new page. Enter the required information, then click the Submit button to finish.

The process instance invokes the “AI Agent Test” to validate the process workflow by exploring various paths. It monitors tasks, makes decisions, and completes both regular and form tasks. A pop-up window appears when the test completes.
This example shows a successful test of the agent. Click the View Instance link to view the result.

The process instance is shown below. You will see that all workflow paths have been tested and that the steps have been completed without errors.

This example shows that an agent test has failed because one of the steps returned an error. Click the View Instance link to view the result.

The process instance is shown below. You will see that all workflow paths have been tested, and one step has failed. Click the error step to view its properties.

The step properties appear on a new page. Choose View > Errors to see the details.

The error message is shown below. In this example, the process step has encountered an error due to an incorrect configuration. You can click the “AI - How to fix” button for assistance.

The "AI - How to fix" advice might not always be accurate. It offers potential solutions to the step-return error as follows:

Return to the Process Instances page and note that the instance has finished with a “AgentTested” status.
