This project is read-only.

Windows Service

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 timeout-milliseconds 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-start name="MyService"/>
	<service-stop name="MyService" timeout-milliseconds="15000"/>

Last edited Oct 6, 2014 at 9:26 PM by Seddryck, version 1


No comments yet.