When you first add an emulator to a test configuration module in
the integration test client, it is automatically defined as a manual emulator
and you will need to manually specify response values for the emulator whenever
it is used in a test. However, you can choose to redefine the emulator as
programmatic, which enables you to automatically and programmatically specify
response values for the emulator using a programmatic emulation file.
To redefine an emulator as programmatic:
- In the integration test client, click the Configurations tab.
The Configurations page opens.
- In the Configurations area, expand the test configuration, module,
and Emulators containers.
- In the Emulators container, select the emulator
that you want to redefine as programmatic.
- In the Detailed Properties area, select
the Programmatic emulation radio button. The emulator
is now redefined 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 dialog
box opens.
- In the Choose a File list box, navigate
to your programmatic emulation file and select it. (Programmatic emulation
files have a default 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".