A test run must be created with at-least one test case

I was trying to run an automated test using TCM.exe and the executable was failing with a message saying “A test run must be created with at-least one test case.” On looking at the code, I found why it is failing and what should I do to come out of this error. Later on I found a good link which talks about the same problem and all the possible solutions to come out of it.  :)

https://stackoverflow.com/questions/11797341/a-test-run-must-be-created-with-at-least-one-test-case-error-via-tcm-exe