Forum Discussion
rraghvani
Champion Level 3
If there's no methods, you could use the shell command
Sys.OleObject("WScript.Shell").Exec("cmd /c [set environment variable]")
You could also write to a temporary file, and get your application to read that too. For example, https://support.smartbear.com/testcomplete/docs/reference/program-objects/storages/ini.html
sinis
2 years agoContributor
rraghvani I have tried environment variable and set the environment variable from TestComplete but I am not getting the updated variable value inside Visual Studio. Is there any other way we can do this since we are not allowed to use some files in order to exchange the data?
Related Content
Recent Discussions
- 4 hours ago
- 4 days ago