Forum Discussion
karthick7
8 years agoContributor
After Test Completion.Kill Test execute Process.
Const strComputer = "." Dim objWMIService, colProcessList Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colProcessList = objWMIService.ExecQuery("SELECT * FROM Win32_Process WHERE Name = 'TestExecute.exe'") For Each objProcess in colProcessList TestExecute.Terminate() Next
- cam_farineau8 years agoContributor
Yes we can kill the process after the tests are done. But that will require to kill TestExecute from TestExecute.
And this doesn't help me to know why the tasks are still on running state even if the tests are done.
Related Content
- 12 years ago
Recent Discussions
- 14 hours ago