These commands will be executed on the server running the test-suite. They start or stop a Windows Service. For both of the commands, if the service is already started/stopped, this command will have no influence (and will not failed).
- service-start: this command will let you start a windows service.
- service-stop: this command will let you stop a windows service.
For both commands, the xml attribute name
specify the name of the windows service and the attribute
is setting a maximum time to elapse before the command has effectively been applied or before raising an exception. This attribute is optional but a default value of 5 seconds is applied in case this attribute is not specified.
<service-stop name="MyService" timeout-milliseconds="15000"/>