Click here to Skip to main content
15,882,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi to all.
i want html report from trx results..
i take one xslt file and do hard coding.

and i add that xslt file in .trx file below xml tag...

when i drag and drop that .trx file it comes like :
VSTS Test results


Tests Executed Failed Time(s)

Test Name Description Result

but not getting outputs..
if any body knows pls let me know..

thanks in advance..
Updated 28-Aug-11 21:01pm

You can refer CodeProject article The HTML Report Engine[^] by Ambal.

Itz the better solution for your query.
Share this answer
komalilella 24-Aug-11 0:53am    
actually wat happend means i did like test then it came test results i want show those results as a
if u know pls let me know.
Each test run creates a TRX file. This file can be viewed in VS. If you want to show it in an interactive way within the browser, you will need to write code to parse this file and convert into to relevant HTML.
Share this answer
komalilella 24-Aug-11 2:01am    
k.thanks for replying...
ok i got trx file but it is xml file.
but my doubt is how to generate that test results as a report.
if u know pls let me know.
dan!sh 24-Aug-11 2:04am    
You will have to write code to parse that XML and then display it in whatever format you want.
Hi Mate, check this link there is a tool to convert the .trx file to a nice HTML file format
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900