Forum Discussion
mpolamuri
Occasional Contributor
HI Sankar
Please provide me steps to kill the Testcomplete in build steps for jenkins
shankar_r
7 years agoCommunity Hero
I use cygwin64 in-order to execute command lines
#!c:\cygwin64\bin\bash.exe --login set +x echo "Terminate TestExecute" pids=`tasklist | grep TestExecute.exe | awk '{printf ("%s ",$2)}'` echo $pids if [ "$pids" != "" ]; then for pid in $pids do echo "Terminating pid: $pid" taskkill /f /t /pid $pid done else echo "No processes found to terminate" fi echo "---------------"
- Walter216 years agoOccasional Visitor
shankar_r wrote:
I use cygwin64 in-order to execute command lines myfirstpremiercard
#!c:\cygwin64\bin\bash.exe --login set +x echo "Terminate TestExecute" pids=`tasklist | grep TestExecute.exe | awk '{printf ("%s ",$2)}'` echo $pids if [ "$pids" != "" ]; then for pid in $pids do echo "Terminating pid: $pid" taskkill /f /t /pid $pid done else echo "No processes found to terminate" fi echo "---------------"
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.
Related Content
- 8 years ago
- 5 years ago
Recent Discussions
- 20 hours ago
- 20 hours ago
- 5 days ago