I was under the impression that the test methods in a unit test class would be executed in the order that they appear in the class file. Apparently this is not true. It also
It's very simple. I am using this
C:>mstest /testcontainer:C:\MyTest.dll /resultsfile:C:\MyTestresults.xml
The logic is here that by default mstest gives you a .trx file. So in the command against [/resultfile:] option write the name of file by giveing .xml extension. So I used /resultsfile:C:\MyTestresults.xml instead of /resultsfile:C:\MyTestresults.trx
This works fine for me. Let me know if it works for you.