ilko01
2 months agoNew Contributor
Need to retrieve the TestedApp version
I have several versions of the TestedApps for my TestComplete tests. Some tests create files, which later I may need to analyze. The files created with different versions of the TestedApps must be opened and analyzed with the same version of the TestedApp as they were created with.
Considering this, I may need to add to the file name the version of the TestApp used.
I was wondering if retrieving the version of the TestedApp in the form of a variable is possible, so I may use it in the file name constructor.
We get our application version like you are describing from the running process like this:
Set Project.Variables.s_gpProgramVersionNum = Sys.Process("<Your process name here>").FileVersionInfo
After that we log it in the TC log.