How to validate a Windows Service is running through Test Complete
I'm new to Test Complete and scripting as a whole. I'm trying to build a test in Test Complete that can check the status of a Windows service and then display that status in the test log as well as allow me to fail the test if the status of that service is not "Running".
This PowerShell command returns the information I'm needing if I were running this test manually:
Status Name DisplayName
------ ---- -----------
Running WinRM Windows Remote Management (WS-Manag...
Does anyone have any ideas on how to approach this?
As much explaination as you can provide is much appreciated. It helps me to learn more about the "why" of things rather than just copying someone else's responses
Those documents give very simple examples of scripts to execute that you can use to get started.
Robert Martin [Hall of Fame] Please consider giving a Kudo if I write good stuff ----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group. I love good food, good books, good friends, and good fun.