I have some TC scripts where I throw a warning if something I am watching for isn't correct. It could be a count on objects on the screen or for any other reason.
When running the tests through TC, the test will finish and I will see the test icon showing the yellow warning symbol that lets me know to dig into the test and see what's up.
I noticed that when running a test from Visual Studio (VS), if just a warning is in the test (no red errors) the test will complete and show a green check in VS.
I don't have many warnings ever getting thrown but, through VS, it is looking like if the tests run through fine but there are warnings (mine or, given from TC), the only way to know on the VS/MTM side is to open up the output .mht file each time.
For those integrating TC scripts into Microsoft Test Manager (MTM)/Visual Studio, do you have a way to have the icon change (I know, long shot but, would be cool) in VS to indicate something isn't quite right? What workaround did you do? Did you find any good alternatives? Did you have to switch everything to error messages (don't really want to do that.)?
Thanks for you feedback
Brad