Forum Discussion
We have handled this a few ways. We have used relative paths and project variables. The TestedApp object properties can also be changed at run time. You can use a search with the aqFileSystem object to find your app path in the file system and then update the path in the TestedObject. We have used a script to pull the paths from the registry and set the TestedApp paths at run time.
This was needed for running apps in a pipeline because the pipeline installer uses a different path (written in the registry) depending on the run and the VM it is on.
aqFileSystem Object:
https://support.smartbear.com/testcomplete/docs/reference/program-objects/aqfilesystem/index.html
TestedApps Object:
Reading Sections and Options from the System Registry. Example:
My Registry How To:
How To: Read data from the Windows Registry | SmartBear Community