08-19-2008 02:47 PM
Does NI Test Stand support outputting its test results to a TRX file? We want to get the test results into this format so that we can publish the results to the Team Build server alongside the build results.
If Test stand does not support TRX do you have any suggestions on how to convert your data results to this file fothis functionality currently doesn't exist we can also investigate converting from the NI Test Stand format to the TRX format.
Thanks!
08-20-2008 10:18 AM
How do,
This is currently not supported by TS. I'm not familiar with TRX or how it is formatted but I did find this converter: http://www.sandsconsulting.com.au/trxcvt.html
If you save your reports as txt files then you can simply call the command line and convert them using this tool. The syntax for the conversion tool on the command line is: trx_cvt.com InputFile OutputFile C:F
C is if you are converting from trx to txt and F is if you are converting txt to trx.
If TRX files need certain tags or whatever then you probably can't do this so simply. You would have to change the process model to support trx which would be quite a project.
Regards,
08-22-2008 03:43 AM
Hi
I hv tried this convertor utility on a .txt file and it produces a .trx file but when i m trying to open the .trx file in visual studio 2008 then .trx file cannot be read and
its showing the error mesage that the .trx file format generated doesn't not have the expected format.
Please give your input to this problem.
regards
08-25-2008 11:37 AM
Yeah apparently there is more than one trx extension. I just realized that this converter might not be the correct trx extension. Now that you said Visual Studio I'm assuming the correct format is the Interpreting Database Unit Test Results format.
This does not look like it will be an easy road to get TS results into this format. I can think of a couple ideas but honestly you will have a lot of work.
1- You can write a new process model that formats the result data into a trx format. In this case you will need to understand the process model and how all the parts fit together. Especially the reporting parts of the process model. I would look at how the xml (since this seems to be the closest to trx) files are generated in the process model and pattern it after that.
2- Call a .net module and pass your results into there. Then you will have to parse them and use the classes provided in .net to manipulate the data into that format.