I am trying to find a way to access the current build number and / or current environment settings from MTM so that the test suite runs as part of the build. I want to use this information in my own reports, as the information provided by MTM does not display everything I need.
Who succeeded? I read a lot of posts about people's attempts, but they all seem to end in dead ends or Test Scribe, which simply outputs the same data to word doc and is quite limited (there is no custom file path to save and is not executed during tests) .
Unfortunately, I have no code to represent what I tried, as I was not even close. Although I looked rather closely at TestContext in VisualStudio2010, and it does not seem to take a lot of MTM information outside of the current test system.
source share