rsippel
14 years agoOccasional Contributor
Getting TC/TE versioninfo and/or process without Sys.Process()
Hi,
I've been wanting to ask something like this for a while but have just now had someone actually encounter a situation where it is needed rather than "would be nice to know".
Is there some way of getting information such as VersionInfo or executable-path for the currently running TestComplete/TestExecute without going through the process of calling Sys.Process(), and using that process object to finally extract what we want?
The surprise that I had today was that someone was trying to run both TC7 and TC8 on the same machine. They were comparing tests in order to convert them. The problem was that the scripts used Sys.WaitProcess("TestComplete") to get the process and then extract the VersionInfo. However, the retrieved process was for the alternate TC and thus the version was misleading.
Thanks.
I've been wanting to ask something like this for a while but have just now had someone actually encounter a situation where it is needed rather than "would be nice to know".
Is there some way of getting information such as VersionInfo or executable-path for the currently running TestComplete/TestExecute without going through the process of calling Sys.Process(), and using that process object to finally extract what we want?
The surprise that I had today was that someone was trying to run both TC7 and TC8 on the same machine. They were comparing tests in order to convert them. The problem was that the scripts used Sys.WaitProcess("TestComplete") to get the process and then extract the VersionInfo. However, the retrieved process was for the alternate TC and thus the version was misleading.
Thanks.