TRX File Documentation


Overview

Feature Value
File Format TRX (Visual Studio Test Results File)
MIME Type application/xml
Extension .trx
Format Type XML
Primary Use Storing test results
Developed By Microsoft
Supported by Visual Studio Versions 2005, 2008, 2010, 2012, 2013, 2015, 2017, 2019, 2022
Integration Integrates with Microsoft Test Manager and Azure DevOps
Encoding UTF-8
Element: Test Definitions Holds definitions of tests executed
Element: Results Contains individual test results
Element: TestLists Groups tests into lists
Element: TestEntries Associates test definitions with execution instances
Element: Times Records start and end times of the test run
Element: Counters Provides count of tests passed, failed, etc.
Reporting Can generate HTML, Excel reports via tools
Test Type Support Supports various test types (e.g., Unit Test, Web Test)
Accessibility Can be read and manipulated programmatically
Integration with CI/CD Fully supported by Continuous Integration/Continuous Deployment pipelines
Customization Custom test properties can be added
Purpose Designed for test data analysis and tracking over time