Forum Discussion

MattS's avatar
Occasional Contributor
3 years ago

Relative file path for readyAPI projects in version-controlled testcomplete Project



I have a version controlled Testcomplete project that is run by different users across different hosts. This project leverages the ReadyAPI plugin to execute some soap requests from the test execution page. The SOAP project elements seem to require an absolute file path either to the .xml or the projects directory. Is there any way to configure this so that it works for multiple people who are cloning the repository down to different locations? Is there any support for relative file paths? Or are we required to manually manipulate that file path in each person's local repository?

1 Reply

  • Marsha_R's avatar
    Champion Level 3

    You could create a local variable and set it to the local file path at the top of the project, then use that variable value for the API call. Each person would then get their own local file path when they run the project.