Forum Discussion

jimmykilleen's avatar
jimmykilleen
New Contributor
6 years ago
Solved

Get Exe version number from Host

Hi All,   Currently working on a distributed setup where I have a server that runs test execute at a scheduled time to execute the project suite. The project suite includes a list of jobs that ar...
  • tristaanogre's avatar
    6 years ago

    Rather than logging the exe version in the project that launches the distributed test, you should include in that remote project the code to find the exe version and store it into the log on that distributed machine.  As I recall, that distributed log is then brought over to the master machine for final logging and reporting so that it will be embedded in that log.  

    If you want the exported files to be versioned with the exe version, then you should do the export on the slave projects rather than on the master so that you have individual log files for each exe.

  • AlexKaras's avatar
    6 years ago

    Hi Jimmy,

     

    Generally, I am with Robert.

    But you may consider WMI to connect to the remote host and trigger some code on it which will get and return the info about .exe.