API for controlling the emulator in automated tests

3 posts · Closed

Kris Guest
6 May 2020

Does the Connection Emulator have an API that can be used to program/control the emulator in automated tests?

Ann SoftPerfect
6 May 2020

There are a few command-line parameters:

consim.exe [/runtime:120] [/hide] [/quit] [config_file.xml]

If the Connection Emulator is launched with an XML file specified, it will load the specified configuration profile and begin emulation automatically. If the emulation is already running, it will load the specified file and continue with the new parameters.

If the /runtime switch followed by a number of seconds is present, the emulation will run for the specified number of seconds and then the application will terminate. To run the application without the user interface, specify /hide to hide the main window. To terminate emulation immediately, specify /quit to close the running instance.

Are you looking for something else?

Kris Guest
6 May 2020

That might be good enough. Thanks for the quick response.

This topic is closed. It has had no new posts for over a year, so the software versions it talks about may be out of date. Start a new topic in Connection Emulator if you have a similar question.