Put AUT version on the report

Best practices, code snippets for common functionality, examples, and guidelines.
thomas_wlhm
Posts: 3
Joined: Thu May 05, 2022 9:53 am

Put AUT version on the report

Post by thomas_wlhm » Thu May 05, 2022 9:56 am

Hi,

I would like to know if it is possible to put the AUT version on the report ?

Thank you

HansSchl
Posts: 143
Joined: Wed Sep 19, 2018 10:05 am

Re: Put AUT version on the report

Post by HansSchl » Tue Nov 08, 2022 9:26 am

Hi Thomas,

I created a custom action for this purpose. The core is a call to FileVersionInfo.GetVersionInfo with the path of the AUT executable. The I extract the FileVersion property from the value returned by this call and call Report.Info to write into the report.

Best
Hans