You can add one or more inline or standalone human task
emulators to a test configuration module in the test suite editor.
This enables you to programmatically emulate human tasks with different
outputs and automatically claim and complete the tasks in the test
client rather than claiming and completing them manually in the Business
Process Choreographer Explorer.
About this task
If your test is invoking a one-way operation, the test will
return a result of Passed, but the emulation will not actually run
unless you have followed the instructions in the topic "Emulating
components and references when invoking one-way operations". To
add a human task emulator to a test configuration module:
Procedure
- In the test suite editor, click the Configurations tab.
The Configurations page opens.
- Click the Add icon
. The New Configuration wizard opens.
- In the Wizards list box, select Human
Task Emulator and click Next. The
Select a Module page opens.
- In the Select a module to continue list
box, locate the test configuration that contains the module where
you want to add an emulator, then select the module.
- Click Next. The Add Human Task Emulators
page opens.
- If you want to emulate inline human tasks, complete the
following steps:
- Ensure that Inline is selected.
- In the Emulated human tasks in this module list
box, select the check box beside the name of each inline human task
that you want to emulate.
- If you want to emulate standalone human tasks, complete
the following steps:
- Select Standalone.
- In the Emulated human tasks in this module list
box, select the check box beside the name of each standalone human
task that you want to emulate.
- Click Finish. The human task emulators
are added to the selected test configuration module.
What to do next
When you add an inline or standalone human task emulator
to a test configuration module, it is automatically defined as a manual
emulator by default. If you want to define an emulator as a programmatic
emulator, see the topic "Defining emulators as programmatic."
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15