Jovani_smo
2 years agoOccasional Contributor
How to start service Windows with TestComplete
Hi guys!
I'm using Windows 10 and TC 15.54.
Using WMI.GetServiceState I can get the status of the service, in this case it is Stopped.
How do I start this service through TestComplete?
I already tried, but it didn't work...
var ServiceName = 'Sysmo S1 Task Scheduler';
WshShell.Run("net start" + ServiceName);
Excellent, no problem :-)
If you're happy please can you mark the solution as complete?
Thanks,
Rup