A process is an instance of a program. In cases, especially at the beginning of test module, some processes become excess.
Here are some cases:
- Clean data before running (batch file)
- Kill all processes at once, to begin new clean session and avoid duplicate
- Kill browser which remember previous session, to begin new clean session
- Terminate a running process immediately
Kill multiple processes from the command line by using the taskkill command with the following syntax:
In TestArchitect, we will use action “start program” with “program” argument is taskkill