Forum Discussion

vinodtc's avatar
vinodtc
Contributor
13 years ago

Tested application (exe) file path is changing with Project path.

Hi,



While I am working with TestedApps, I have added a .exe file which is existing in "C:\Program Files (x86)\Admintools\S1\DE_stag1\AdminTool.exe".

This is working fine as long as  Project suite path is C folder. If I change project suite path(by copy .pjs in d drive) to any other drive like D, then exe file path in TestApps is changing from c to d drive like "D:\Program Files (x86)\Admintools\S1\DE_stag1\AdminTool.exe". because of this, it is not working as expected. My .exe will be there only in c drive and dont wont to get relative path of project suite and get append to the path of exe to file path. How to make path of .exe as constant for ever.



Regards,

Vinod
  • irina_lukina's avatar
    irina_lukina
    Super Contributor

    Hi Vinod,


    I recommend that you not use the relative path in the TestedApps editor. For this purpose, click within the File Path column and enter the fully-qualified file name in this field manually (that is, specify the C:\Program Files (x86)\Admintools\S1\DE_stag1\AdminTool.exe path). Does this help?

  • Hi,



    When we explicitly replace with the path of exe in File Path column, it is working fine. But we have to explicitly change every time. We need to have a solution for not changing the path, irrespective of the project path.



    Regards,

    Vinod
  • irina_lukina's avatar
    irina_lukina
    Super Contributor

    Hi Vinod,


    But we have to explicitly change every time.


    I'm sorry, but I don't quite understand it. I changed the path once, and it worked fine for each test run. Could you please clarify what you meant?


    BTW, one more approach that can be used is to store the needed path to the project variable. Have you tried using it?


    Thanks :)

  • Hi,



    Issue was resloved by using the Project variables.



    Thank you very much



    Regards,

    Vinod