I am running a coded ui script in infinite loop as per my requirement. I can start the coded ui test using the the mstest.exe.
I wanted to know is there any way using which I can stop the coded Ui test, any command that I can use in the batch file to stop the coded ui script?
You can try this little batch to kill any process :
And if you want to see more features like how to start a process and how to kill one process or multiple processes at once that interact with user input with a dynamic menu you should take a look at this post ==> How to check and correct user input when he omit the extension .exe to kill the process?