You can create one or more programmatic emulation files for use
with a programmatic emulator in the integration test client. This enables
you to supplement existing programmatic emulation files with new programmatic
emulation files that are customized for specific test purposes.
The New Emulator wizard is the tool used to create programmatic emulation
files. You can open the wizard from either the integration test client or
the workbench menu bar.
To create a programmatic emulation file:
- Complete one of the following steps:
- If you have an existing emulator that you have already defined as
programmatic and you want to create a programmatic emulation file for it,
ensure that the emulator is selected in the Configurations page of the integration
test client and that the Programmatic emulation radio
button is still selected, then click New. (Information
about defining an emulator as programmatic is found in the topic "Defining
emulators as programmatic.")
- If you do not want to create a programmatic emulation file for any
specific programmatic emulator but you want to create one that can later be
used with one or more new programmatic emulators, select File >
New > Emulator from the workbench menu bar of the Business Integration
perspective.
The New Emulator wizard opens to the Emulator page.
- In the Module drop-down list, ensure that
the module is selected where you want to save the programmatic emulation file.
- If you want to save the programmatic emulation file to a subfolder
in the module, type the name of the folder in the Folder field
or click Browse to select a folder.
- In the Name field, type the name that you
want to assign to the new programmatic emulator.
- Click Next. The Select a Component or Reference
page opens.
- In the Select a component or reference to emulate list
box, select the component, import, or reference that you want to emulate.
- Click Next. The Java™ Class page opens.
- Click Finish. The programmatic emulation
file is created and the programmatic emulation editor automatically
opens.
When you have finished creating a programmatic emulation file, you
will need to define the implementation using the programmatic emulation editor.
Information about using the programmatic emulation editor is found in the
topic "Editing programmatic emulation files."