CVS Monitor not executing external command
search cancel

CVS Monitor not executing external command


Article ID: 188766


Updated On:


Service Virtualization


Created a test which would hit live service and based on assertion it would execute the external command (batch file to execute automation script).

The external command work when executed the test locally.

However, when deployed the test as CVS Monitor, the assertions are working fine but the external command is not triggered. Hence, specified machine name in the command line but its throwing and error


All supported DevTest releases.


You can run Simulator as Service, but you wouldn't be able to interact with desktop. If you wish to have your test case launch something that needs desktop interaction, then running Simulator from command prompt is the only way.


Please follow the steps below to facilitate the test case execution to launch browser;

1. Ensure that the option 'Spawn Process' is selected for the 'Execute External Command' step
2. Stop Simulator Service
3. Open command prompt as administrator
4. Go to LISA_HOME/bin folder and run the command 'Simulator.exe'

NOTE: If you have defined any runtime options using SimulatorService.vmoptions file, then replicate the same options in the file Simulator.vmoptions

With these changes, you will be able to achieve the desired result.