API for automated tests

Started by Kris

Kris

API for automated tests   06 May 2020, 21:58

Does the Connection Emulator have an API that can be used to program/control the Emulator in automated tests?
SoftPerfect Support forum - Ann avatar image
Ann

Re: API for automated tests   06 May 2020, 22:15

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

Re: API for automated tests   06 May 2020, 22:17

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

Sometimes you can find a solution faster if you try the forum search, have a look at the knowledge base, or check the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • Write in English. If possible, check your spelling and grammar.

Author:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

 **     **  **     **   ******    **     **   *******  
 **     **  **     **  **    **   **     **  **     ** 
 **     **  **     **  **         **     **  **     ** 
 **     **  **     **  **   ****  **     **   ******** 
 **     **   **   **   **    **    **   **          ** 
 **     **    ** **    **    **     ** **    **     ** 
  *******      ***      ******       ***      *******  

Message: