rasmus
5 years agoNew Contributor
Environment variable in persistent variables declaration
I want to use a Windows environment variable in the persistent variables section of a keyword test. E.g. Something line InstallFolder is %TEMP%\MyAppLocation. Using the variable InstallFolder works...
- 5 years ago
You have some environment variables directly avaiable with Sys.OSInfo object.
For example, to get the specific value of %TEMP% you must use Sys.OSInfo.TempDirectory
For other environment variables:
For general use for environment variables:
https://support.smartbear.com/testcomplete/docs/testing-with/advanced/environment-variables.html