Test results file generated when you execute tests using MSTest. It is an XML file containing information about the test and the test run.
Questions tagged [trx]
64 questions
0
votes
1 answer
Generate .trx file via code in c#
I was able to generate the unit test result(.trx) file with the help of below link :
Saving unit test results after running tests
Apart from using cmd to generate the .trx file, is there any way to generate the same via code itself.
Thanks in…

Ishan Verma
- 21
- 8
0
votes
0 answers
Convert TRX result file from VS 2015 (or later) loadtest to html
I'm struggling to proper convert the .trx result file from my loadtest (which contains .webtest) to HTML. I tried with trx2html (https://trx2html.codeplex.com/) but this is how it looks like with it (probably it was OK with non loadtest and older…

Rain9333
- 570
- 4
- 22
0
votes
0 answers
How to manually connect to resultsRepositoryConnectString from a load test .TRX file?
In attempts to automate load testing in Visual Studio, I have run into problems with extrating the result data from the load test. I have a .TRX file which contains XML for the test, but no data. I am pretty sure that it connects to some database…

kunrush
- 61
- 5
0
votes
1 answer
Published test results do not show up in build summary
Using the default build template on TFS 2013, we use the Post-test script to collect trx files from protractor tests, in order to include those in the build report summary.
We use vs2015…

geskill
- 307
- 2
- 8
0
votes
0 answers
unable to produce trx file with jasmine-trx-reporter and protractor 3.3.0
I have tried generating the TRX logs with jasmine-trx-reporter and protractor 3.3.0
has anybody tried this before, let me know if you could able to generate one.
Thanks in advance.

shailjain
- 13
- 3
0
votes
1 answer
Trx file full path test
I used Mstest.exe tool to execute tests, and it created automticlly trx file which contains all details about the tests results.
I want to get accsess from my .Net application to full path of every test from trx file but I can't find such field in…

tomerd
- 3
- 2
0
votes
1 answer
Opening test result from Release Management
Our build through RM executes tests and produces a result file (*.TRX extension). It had been added to the approved list in RM. However, when I clicked on the link "View Log" in the Deployment Log, it threw this error :"an error occurred while…

VietRoadie
- 179
- 3
- 11
0
votes
1 answer
TRX to HTML using TRXER - formatexception invalid string for TimeSpan
I am using the following utility from the link https://github.com/NivNavick/trxer.
I get the following error when I try to execute the same to generate the report.
TrxerConsole.exe unitestresult.trx.trx
Trx File
unitestresult.trx.trx
Loading…

Murali Kothandaraman
- 41
- 2
- 9
0
votes
1 answer
How do I use the output file generated from a program as the input for another program? batch file
I'm running unit tests with Visual Studio which takes this as the command on the cmd:
vstest.console.exe C:\Desktop\Project\UnitTests\Debug\UnitTests.dll /Logger:trx
Once that executes it generates a .trx file (visual studio test result file). Next…

DaveS
- 43
- 4
0
votes
1 answer
How can I attach an image to TRX (Test Result Reported) File?
I would like to my test takes screenshot when an error occur.
I can write like this:
TestContext.WriteLine("aaaaaaaaa");
But how can I attach an image to a .TRX file?
Test Result Reported (.TRX)

alansiqueira27
- 8,129
- 15
- 67
- 111
0
votes
1 answer
Publishing unit test results from TFS2013 Build to SonarQube
I have created a TFS2013 Build Definition using the template TfvcTemplate.12.xaml
I have specified a test run using VSTestRunner and enabled code coverage.
I am integrating this build with sonar analysis by specifying pre-build and post-test…

Ramya
- 21
- 3
0
votes
1 answer
Integrating Trx to html code in C# unit test case
I am a new learner of C# so my question may be irrelevant. I have written a test suite in C# but the summary report gets created as .trx file. I have another tool to convert .trx to .html file. Can anybody tell me how can i integrate the tool in C#…

Abhishek Sharma
- 81
- 1
- 9
0
votes
1 answer
How to convert a ".trx" file to HTML
I generate my tests suite with vstest.console with VS 2012 and get my test result in a .trx format file.
I want to convert this result file toHTML. I used the trx2html tool. But I get an error when I run it.
Error : …

Lunaat
- 43
- 1
- 8
0
votes
0 answers
Importing trx-reports with tcm.exe fails due to: The underlying connection was closed: An unexpected error occurred on a receive
I'm trying to import my trx reports into mtm/tfs using tcm.exe. For any reason I'm always getting this error message:
The underlying connection was closed: An unexpected error occurred on a receive.
Here is the command I used for the importing:…

andreaspfr
- 2,298
- 5
- 42
- 51
0
votes
1 answer
VS2012 MSTest not generating trx with /logger.trx parameter
VS2012 MSTest utility suddenly stopped generating trx files. The same command was generating trx files till yesterday! It prints no. of tests passed or failed on console, but does not create a trx file.
Looks like some configuration got changed by…

saurabh
- 45
- 8