Forum Discussion

Nformation's avatar
Nformation
Contributor
12 years ago

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?

2 Replies


  • Hi,


     


    In TestComplete/TestExecute 10, everything seems to work fine. What TC version are you using?


     

  • Ravik's avatar
    Ravik
    Super Contributor
    Tanya !!



    isn't required to add Tested App for TestExecuter. how TestExecuter  take reference of Tested application.