<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Helpful Internals of TRX (and VSMDI files)</title><link>http://blogs.msdn.com/dhopton/archive/2008/06/12/helpful-internals-of-trx-and-vsmdi-files.aspx</link><description>One of the questions that comes up internally, and externally is "What are these magic GUID attributes in the file? How can I generate them?". This is often from people who are creating tools to export TRX files from some sort of private test hardness,</description><dc:language>en-GB</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>VSTS Links - 06/19/2008</title><link>http://blogs.msdn.com/dhopton/archive/2008/06/12/helpful-internals-of-trx-and-vsmdi-files.aspx#8621544</link><pubDate>Thu, 19 Jun 2008 15:55:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8621544</guid><dc:creator>Team System News</dc:creator><description>&lt;p&gt;Maor David on Configure Team Foundation Build For An Incremental Build Mike Azocar on Want to be famous?...Enter...&lt;/p&gt;
</description></item><item><title>re: Helpful Internals of TRX (and VSMDI files)</title><link>http://blogs.msdn.com/dhopton/archive/2008/06/12/helpful-internals-of-trx-and-vsmdi-files.aspx#8722176</link><pubDate>Sat, 12 Jul 2008 02:21:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8722176</guid><dc:creator>starbuck_ms</dc:creator><description>&lt;P&gt;Great article!&lt;/P&gt;
&lt;P&gt;What about the case where there really is no Test List or Test List is not within a VSMDI file? If the test list is set to a Guid.NewGuid(), then when the .trx file is opened within VS2008, it complains that the TestListID is invalid. A dialog of "Test List with Id {guid} not found." Is there a way to get around this?&lt;/P&gt;
&lt;P&gt;Thanks in advance...&lt;/P&gt;</description></item><item><title>re: Helpful Internals of TRX (and VSMDI files)</title><link>http://blogs.msdn.com/dhopton/archive/2008/06/12/helpful-internals-of-trx-and-vsmdi-files.aspx#8722188</link><pubDate>Sat, 12 Jul 2008 02:30:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8722188</guid><dc:creator>dhopton</dc:creator><description>&lt;p&gt;So, to clarify the question:&lt;/p&gt;
&lt;p&gt;a) trx file with results in it&lt;/p&gt;
&lt;p&gt;b) You put the test list details in the test list section of the trx file&lt;/p&gt;
&lt;p&gt;c) You have bound the result result to the test list section?&lt;/p&gt;
&lt;p&gt;Do you have a specific example of the TRX in this case?&lt;/p&gt;
</description></item><item><title>re: Helpful Internals of TRX (and VSMDI files)</title><link>http://blogs.msdn.com/dhopton/archive/2008/06/12/helpful-internals-of-trx-and-vsmdi-files.aspx#8722242</link><pubDate>Sat, 12 Jul 2008 03:10:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8722242</guid><dc:creator>starbuck_ms</dc:creator><description>&lt;p&gt;To answer...&lt;/p&gt;
&lt;p&gt;a) Yes.&lt;/p&gt;
&lt;p&gt;b) No. In the .xsd, the TestListType only says Description, RunConfiguration and TestLinks.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;I have none of these. Should I add them?&lt;/p&gt;
&lt;p&gt;c) I think so... The UnitTestResult node contains an attribute testListId which matches...&lt;/p&gt;
&lt;p&gt;It looks like the TestLists node is optional, not required. Then, if the TestLists Node is left out, then the TestEntries node can also be left out since it has a required attribute 'testListId'. However, the UnitTestResult node has a required testListId. &lt;/p&gt;
&lt;p&gt;I can generate a file which contains a specific example. Can I email it to you?&lt;/p&gt;
&lt;p&gt;Thanks...&lt;/p&gt;</description></item><item><title>re: Helpful Internals of TRX (and VSMDI files)</title><link>http://blogs.msdn.com/dhopton/archive/2008/06/12/helpful-internals-of-trx-and-vsmdi-files.aspx#8751850</link><pubDate>Sat, 19 Jul 2008 01:19:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8751850</guid><dc:creator>dhopton</dc:creator><description>&lt;p&gt;Well, if you look at a TRX with test results in it that were bound to test lists, you'll see a test list section in there.&lt;/p&gt;
&lt;p&gt;The key here is, the test id property is required; but it default to a &amp;quot;Well known&amp;quot; ID, as mentioned in myposts. However to refere to your custom lists, you need to dump them in the TRX file so we can load them. The vsmdi file isn't required to view the tests by lists in the results window, just the trx. Thus all the goop is in there.&lt;/p&gt;
</description></item><item><title>re: Helpful Internals of TRX (and VSMDI files)</title><link>http://blogs.msdn.com/dhopton/archive/2008/06/12/helpful-internals-of-trx-and-vsmdi-files.aspx#8858428</link><pubDate>Wed, 13 Aug 2008 17:12:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8858428</guid><dc:creator>DmytroL</dc:creator><description>&lt;P&gt;Hi Dominic,&lt;/P&gt;
&lt;P&gt;Would you please comment on several related questions?&lt;/P&gt;
&lt;P&gt;1. Is it possible to publish several TRX files under the same test run (of course provided all the TRX files in question specify the same correct test run GUID in the TestRun tag)?&lt;/P&gt;
&lt;P&gt;2. Is it permitted to overwrite the outcome of a certain test within the same test run?&lt;/P&gt;
&lt;P&gt;3. Are there any potential problems if these TRX files are published by different people?&lt;/P&gt;
&lt;P&gt;The scenario behind all this is: a test run is a collection of manual tests put together to verify certain functionality (I know there's a notion of test list for this, but one can't slice the TFS warehouse cube by test lists). Now, subsets of the test run are assigned to different QA engineers for execution. So, each QA engineer goes through her "share" of tests and publishes the results - but the results from all QA Engineers involved should go under the same test run.&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;</description></item><item><title>Republishing Results</title><link>http://blogs.msdn.com/dhopton/archive/2008/06/12/helpful-internals-of-trx-and-vsmdi-files.aspx#8867503</link><pubDate>Thu, 14 Aug 2008 21:04:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8867503</guid><dc:creator>Dominic Hopton's Blog</dc:creator><description>&lt;p&gt;There was a interesting question posted in my comments on the TRX file format , about being able to republish&lt;/p&gt;
</description></item></channel></rss>