Forum Discussion

ltazit's avatar
ltazit
New Contributor
12 years ago

How to use relative path while adding existing items in projet

Hi, 



My project works properly on the computer where the project was created, but when i try to run it on another workstation, the adsolute path of the Items i have added in the projet ( add existing item ) causes problème and my test fail . 

is there a solution to avoid working with absolute path? 



PS : i share a commun library with all TestComplete. projects

3 Replies

  • ltazit's avatar
    ltazit
    New Contributor
    thanks for your answer .

    yes in scripts we can use that , but when ( adding Existing item to projet )  by : left click --> add --> existing item :  we have to chose the path of the existing item ...

    while coping the projet in other  workstation the path isnt correct anymore .
  • jorgesimoes1983's avatar
    jorgesimoes1983
    Regular Contributor
    I suggest, you create a path like "c:\project\common" and you maintain it in both machines.



    By the way, check if your path is different in the two machines, if you created it in "Users" folder, it will certainly be different (for example) :)