Nformation
12 years agoContributor
Environment variable issue in TestExecute
I have tests which must run on different environments. Here is the path I'm using for our app in TestedApps
%ProgramFiles%\MyProduct\MyProduct.exe
This works fine on my computer (win7) with TestComplete from which I author the tests. However, when I try to run TestExecute on a VM (XP), I get that it could not find my app at
\\DevPC\c$\C:\Program Files\Myproduct\MyProduct.exe
where DevPC is my computer with TestComplete. I'm not sure why TestExecute is trying to run the TestedApp from my DevPC instead of from its local Program Files directory.
Thoughts?
%ProgramFiles%\MyProduct\MyProduct.exe
This works fine on my computer (win7) with TestComplete from which I author the tests. However, when I try to run TestExecute on a VM (XP), I get that it could not find my app at
\\DevPC\c$\C:\Program Files\Myproduct\MyProduct.exe
where DevPC is my computer with TestComplete. I'm not sure why TestExecute is trying to run the TestedApp from my DevPC instead of from its local Program Files directory.
Thoughts?