Solved
Forum Discussion
baxatob
10 years agoCommunity Hero
Hi rlagrouw,
You can't call environment variable explicitly. You should use special TestComplete methods or constants.
aqEnvironment.GetEnvironmentVariable("TEMP") - will return the value of the %TEMP% variable Sys.OSInfo.TempDirectory - will do the same
More details here: https://support.smartbear.com/viewarticle/74192/
rlagrouw
10 years agoNew Contributor
baxatob That would indeed work but i'm using windows- style path strings as project variables which are used by code. Your solution would be hard to maintain if the path changes because they would reside in a script instead of the standardized location for variables.
Nonetheless thanks for the reply, i'm sure it'll come in handy one day.