Forum Discussion
johnnychloride
12 years agoNew Contributor
I've found what appears to be a clue to this issue:
The scripts use the windows envirnment variable %programfiles% to resolve "C:\Program Files", but in Test Complete, the variable %programfiles%="C:\Program Files (x86)"
I've tried to reload Environment Variables via Tools/Options/Engines/Tested Applications but these are incorrect ("C:\Program Files (x86)") as well.
From the Set command from cmd prompt shows the correct value.
Test Complete is running as the same user.
How to override a Windows Environment Variable in Test Complete to workaround this issue?
The scripts use the windows envirnment variable %programfiles% to resolve "C:\Program Files", but in Test Complete, the variable %programfiles%="C:\Program Files (x86)"
I've tried to reload Environment Variables via Tools/Options/Engines/Tested Applications but these are incorrect ("C:\Program Files (x86)") as well.
From the Set command from cmd prompt shows the correct value.
Test Complete is running as the same user.
How to override a Windows Environment Variable in Test Complete to workaround this issue?