Page 1 of 1

Add fileversion of AUT to the header of the report

Posted: Thu Jul 06, 2017 4:01 pm
by a.s
I'm currently trying to figure out how to add some information to the header area of the report page.
I would like to see the file version and possibly other things next to the already displayed information (like OS, Computername, screensize etc).
Currently I'm running some usercode to extract it from the exe-file calling

Code: Select all

FileVersionInfo.GetVersionInfo
and then logging it to the report.
This approach is working reliably but the information is not immediately displayed on the starting page of the report.
Is there a smarter way to get this displayed?
I take it that the header information comes from the XSL file (by filling in the fields of the template named "executionInformation"). Can this template be extended and can the logic that is used to create the header information be tweaked in such a way?

Ideas anyone?
best regards
alex

Re: Add fileversion of AUT to the header of the report

Posted: Fri Jul 07, 2017 11:02 am
by odklizec

Re: Add fileversion of AUT to the header of the report

Posted: Fri Jul 07, 2017 11:27 am
by a.s
Hi odklizec

thanks for your reply
this looks very promising
I'll give it a try as soon as (might well take a couple days) and report back

thanks and regards
alex

Re: Add fileversion of AUT to the header of the report

Posted: Fri Jul 07, 2017 11:51 am
by a.s
well...

that did it!
and faster than I thought it would :D

thanks again!
alex

Re: Add fileversion of AUT to the header of the report

Posted: Fri Jul 07, 2017 11:58 am
by odklizec
You are welcome. Nice to hear it worked for you ;)