JPF
9 years agoSenior Member
Hi
At the moment we are reading out the version number from the file info of our executable file and post the information somewhere in the test log. See also the code snippet below. My idea was to show the build version directly in the test log summary. So it would be directly visible, which version of the software has been tested. Maybe it is possible to create a special "LogToSummary" command for that or something similar. Would be nice.
JPF
function FileVersionInfo()
{
var FileName = "C:\\Program Files (x86)\\CompanyName\\SoftwareName\\Software.exe";
var VerInfo = aqFileSystem["GetFileInfo"](FileName)["VersionInfo"];
Log["Message"]("Version & Build: " + VerInfo["FileFullVersion"]);
}
Related Content
- 2 years ago
- 4 years ago
- 4 years ago
- 10 months ago