Forum Discussion

MattS's avatar
MattS
Occasional Contributor
2 years ago

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

Hello

 

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
    Marsha_R
    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.