When you first add an emulator to a test configuration
module in the test suite editor, it is automatically disabled. However,
you can choose to define the emulator as programmatic, which enables
you to automatically and programmatically specify response values
for the emulator using a programmatic emulation file.
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
define an emulator as programmatic:
Procedure
- In the test suite editor, click the Configurations tab.
The Configurations page opens.
- In the Configurations area, expand
the test configuration and module containers.
- Complete one of the following steps:
- If you want to define a component or reference emulator as
programmatic, expand the Component and Reference Emulators container.
- If you want to define a human task emulator as programmatic,
expand the Human Task Emulators container.
- Select the emulator that you want to define as programmatic.
- In the Detailed Properties area,
select Programmatic emulation. The emulator
is now defined as a programmatic emulator, but you must specify a
programmatic emulation file for it as described in the following steps.
- If you have an existing programmatic emulation file that
you want to use with the programmatic emulator, complete the following
steps:
- Click Browse. The File Selection
window opens.
- In the Choose a File list box,
navigate to your programmatic emulation file and select it. (Programmatic
emulation files have a file extension of .emulate.)
- Click OK. The name of the programmatic
emulation file appears beneath the Programmatic Emulation radio
button and it is ready to be used with the programmatic emulator for
testing.
- If you want to modify your programmatic emulation file,
follow the instructions in the topic "Editing programmatic emulation
files."
- If you do not have an existing programmatic emulation file
that you can use with the programmatic emulator, create one by following
the instructions in the topic "Creating programmatic emulation files".
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15