Logical paths in tcScript file
Currently we have various teams using the same TestComplete script unit collection. We would like to have all those projects point to the same script files, but the location a project can vary per test system. This causes problems because the path references in the tcScript file always seem to be logical.
Example: " <data path="..\..\..\..\..\ezFrame\Script\ezElement.js" /> "
Is it possible to have hard paths? If I add an existing script unit to my project, I want it to be saved as a full path (c:\lib\scriptunit.js) and not be a logical reference (..\..\..\..\..\lib\scriptunit.js)
I solved it by
hackingediting the tcScript file and replacing all the relative folders with hardcoded versions.Using relative folders do not work if I want to move the project to another location. We develop on a pc where the project is located on the C-drive. Our build-environment drops the project on D:
Our shared script units are on C: . Poof, can't find the script units anymore because the references are logical.
Same with the log directory. If I check the log directory in current project properties, it literally reads 'C:\Temp\Log' , but in the test environment, it writes the log to D:\Temp\Log because in secret, in the .mds file the log dir is specified as '\Temp\Log'.
I think that the log directory should read what's specified in the .mds file, not do a smart conversion because your project happens to be on the C-drive. This is just confusing.
Some kind of option 'use logical paths' would be a nice to have.